Centimeter arguments in the Eiffel-Loop extensions for Vision2

14 views
Skip to first unread message

Finnian Reilly

unread,
Mar 13, 2018, 12:22:45 PM3/13/18
to Eiffel Users
Centimeter arguments in the Eiffel-Loop extensions for Vision 2

The following is a summary of all routines taking an argument specified in centimeters.

vision2-x/interface/kernel/el_font.e
    make_regular
(a_family: STRING; a_height_cms: REAL)
    make_bold
(a_family: STRING; a_height_cms: REAL)
    make_thin
(a_family: STRING; a_height_cms: REAL)
    string_width_cms
(str: ZSTRING): REAL

vision2
-x/interface/kernel/el_font.e
    set_height_cms
(a_height_cms: REAL)

vision2
-x/interface/kernel/el_rectangle.e
    make
, make_cms, make_for_text, make_for_pixmap
    make_cms
(x_cms, y_cms, width_cms, height_cms: REAL)
    move_left_cms
(offset_cms: REAL)
    move_right_cms
(offset_cms: REAL)
    move_up_cms
(offset_cms: REAL)
    move_down_cms
(offset_cms: REAL)

vision2
-x/interface/kernel/el_rotatable_rectangle.e
    make_rotated_cms
(width_cms, height_cms: REAL; a_angle: DOUBLE)

vision2
-x/interface/kernel/el_screen.e
    set_dimensions
(a_width_cms, a_height_cms: REAL)

vision2
-x/interface/kernel/el_text_rectangle.e
    make_cms
, make, make_from_rectangle
    add_separation
(a_separation_cms: REAL)

vision2
-x/interface/pixmaps/button-pixmaps/el_generated_svg_button_pixmap_set.e
    fill_pixmaps
(width_cms: REAL)

vision2
-x/interface/pixmaps/button-pixmaps/el_svg_button_pixmap_set.e
    make_transparent
(a_icon_path_steps: like icon_path_steps; width_cms: REAL)
    make
(a_icon_path_steps: like icon_path_steps; width_cms: REAL; a_background_color: EL_COLOR)
    fill_pixmaps
(width_cms: REAL)
    svg_icon
(last_step: ZSTRING; width_cms: REAL): like normal
    new_svg_image
(svg_path: EL_FILE_PATH; width_cms: REAL): like normal
    fill_pixmaps
(height_cms: REAL)
    svg_icon
(last_step: ZSTRING; width_cms: REAL): like normal
    new_svg_image
(svg_path: EL_FILE_PATH; height_cms: REAL): like normal

vision2
-x/interface/pixmaps/el_application_pixmap.e
    of_height_cms
(relative_path_steps: EL_PATH_STEPS; height_cms: REAL): EL_PIXMAP
    of_width_cms
(relative_path_steps: EL_PATH_STEPS; width_cms: REAL): EL_PIXMAP
    svg_of_height_cms
(relative_path_steps: EL_PATH_STEPS; height_cms: REAL; background_color: EL_COLOR): EL_SVG_PIXMAP
    svg_of_width_cms
(relative_path_steps: EL_PATH_STEPS; width_cms: REAL; background_color: EL_COLOR): EL_SVG_PIXMAP

vision2
-x/interface/support/el_vision_2_factory.e
    new_font_regular
(a_families_list: STRING; a_height_cms: REAL): EL_FONT
    new_font_bold
(a_families_list: STRING; a_height_cms: REAL): EL_FONT
    new_horizontal_box
(a_border_cms, a_padding_cms: REAL; a_widgets: ARRAY [EV_WIDGET]): EL_HORIZONTAL_BOX
    new_vertical_box
(a_border_cms, a_padding_cms: REAL; a_widgets: ARRAY [EV_WIDGET]): EL_VERTICAL_BOX
    new_vertical_centered_box
(a_border_cms, a_padding_cms: REAL; a_widgets: ARRAY [EV_WIDGET]): EL_VERTICAL_BOX
    set_busy_pointer_at
(widget: EV_WIDGET; position_x_cms, position_y_cms: REAL)

vision2
-x/interface/support/el_vision_2_gui_routines_i.e
    box_width_real
(border_cms, padding_cms: REAL; widget_widths: ARRAY [REAL]): REAL

vision2
-x/interface/widgets/containers/box/el_auto_cell_hiding_box.e
    make
(border_cms, padding_cms: REAL)
    make_unexpanded
(a_border_cms, a_padding_cms: REAL; widgets: ARRAY [EV_WIDGET])

vision2
-x/interface/widgets/containers/box/el_box.e
    make
(a_border_cms, a_padding_cms: REAL)
    add_fixed_border_cms
(a_width_cms: REAL)
    set_spacing_cms
(a_border_cms, a_padding_cms: REAL)
    set_padding_cms
(a_padding_cms: REAL)
    set_border_cms
(a_border_cms: REAL)
    set_minimum_width_cms
(a_minimum_width_cms: REAL)
    average_cms_to_pixels
(cms: REAL): INTEGER

vision2
-x/interface/widgets/containers/box/el_centered_vertical_box.e
    make
(a_border_cms, a_padding_cms: REAL)
    set_horizontal_border_cms
(a_width_cms: REAL)

vision2
-x/interface/widgets/containers/box/el_centered_vertical_box.e
    set_top_border_cms
(a_height_cms: REAL)
    set_bottom_border_cms
(a_height_cms: REAL)
    set_border_cell_width_cms
(a_border: EV_CELL; a_width_cms: REAL)
    set_border_cell_height_cms
(a_border: EV_CELL; a_height_cms: REAL)

vision2
-x/interface/widgets/containers/el_frame.e
    make_with_text_and_widget
(a_border_cms, a_padding_cms: REAL; a_text: READABLE_STRING_GENERAL; a_widget: EV_WIDGET)
    make_with_text
(a_border_cms, a_padding_cms: REAL; a_text: READABLE_STRING_GENERAL)
    make
(a_border_cms, a_padding_cms: REAL)
    set_border_cms
(a_value_cms: REAL)

vision2
-x/interface/widgets/containers/scrollable/el_scrollable_box.e
    make
(a_page_border_cms, a_page_padding_cms: REAL)
    make
(a_page_border_cms, a_page_padding_cms, a_width_cms: REAL)
    set_page_margin_cms
(a_margin_cms: REAL)
    set_top_border_cms
(a_height_cms: REAL)

vision2
-x/interface/widgets/containers/tab-book/standard/el_tab_book.e
    make
(a_window: EV_WINDOW; a_border_cms, a_padding_cms: REAL)

vision2
-x/interface/widgets/drawable/el_hyperlink_area.e
    set_left_margin
(a_width_cms: REAL)

vision2
-x/interface/widgets/primitives/pixmap/svg/el_stretchable_svg_template_pixmap.e
    make_transparent_with_width
, make_transparent_with_height, make_transparent_with_width_cms,
    make_transparent_with_height_cms
, make_transparent_with_path_and_width, make_transparent_with_path_and_height

vision2
-x/interface/widgets/primitives/pixmap/svg/el_svg_pixmap.e
    make_with_width_cms
, make_with_height_cms,
    make_transparent_with_width_cms
, make_transparent_with_height_cms,
    make_transparent_with_height_cms
(a_svg_path: like svg_path; a_height_cms: REAL)
    make_transparent_with_width_cms
(a_svg_path: like svg_path; a_width_cms: REAL)
    make_with_height_cms
(a_svg_path: like svg_path; a_height_cms: REAL; a_background_color: EL_COLOR)
    make_with_width_cms
(a_svg_path: like svg_path; a_width_cms: REAL; a_background_color: EL_COLOR)
    set_dimension_cms
(a_dimension_cms: REAL)

vision2
-x/interface/widgets/primitives/pixmap/svg/el_svg_template_pixmap.e
    make_with_width_cms
, make_with_height_cms,
    make_transparent_with_width_cms
, make_transparent_with_height_cms,

vision2
-x/interface/widgets/primitives/text/el_label.e
    set_text_wrapped_to_width_cms
(a_text: ZSTRING; a_width_cms: REAL)



Reply all
Reply to author
Forward
0 new messages