indexing description: "Objects that represent an EV_DIALOG.% %The original version of this class was generated by EiffelBuild." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" deferred class CUSTOM_PREFERENCE_DIALOG_IMP inherit EV_DIALOG redefine initialize, is_in_default_state end CONSTANTS undefine is_equal, default_create, copy end -- This class is the implementation of an EV_DIALOG generated by EiffelBuild. -- You should not modify this code by hand, as it will be re-generated every time -- modifications are made to the project. feature {NONE}-- Initialization initialize is -- Initialize `Current'. local l_ev_vertical_box_1, l_ev_vertical_box_2: EV_VERTICAL_BOX l_ev_frame_1: EV_FRAME l_ev_horizontal_split_area_1: EV_HORIZONTAL_SPLIT_AREA l_ev_horizontal_box_1: EV_HORIZONTAL_BOX l_ev_cell_1: EV_CELL internal_font: EV_FONT do Precursor {EV_DIALOG} initialize_constants -- Create all widgets. create l_ev_vertical_box_1 create l_ev_frame_1 create l_ev_horizontal_split_area_1 create parent_pixmap_box create l_ev_vertical_box_2 create parent_title_container create parent_title_label create main_preference_box create l_ev_horizontal_box_1 create restore_button create l_ev_cell_1 create ok_button create cancel_button -- Build_widget_structure. extend (l_ev_vertical_box_1) l_ev_vertical_box_1.extend (l_ev_frame_1) l_ev_frame_1.extend (l_ev_horizontal_split_area_1) l_ev_horizontal_split_area_1.extend (parent_pixmap_box) l_ev_horizontal_split_area_1.extend (l_ev_vertical_box_2) l_ev_vertical_box_2.extend (parent_title_container) parent_title_container.extend (parent_title_label) l_ev_vertical_box_2.extend (main_preference_box) l_ev_vertical_box_1.extend (l_ev_horizontal_box_1) l_ev_horizontal_box_1.extend (restore_button) l_ev_horizontal_box_1.extend (l_ev_cell_1) l_ev_horizontal_box_1.extend (ok_button) l_ev_horizontal_box_1.extend (cancel_button) set_minimum_width (640) set_minimum_height (480) set_title ("Preferences") l_ev_vertical_box_1.set_padding_width (5) l_ev_vertical_box_1.set_border_width (5) l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_1) parent_pixmap_box.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) parent_pixmap_box.set_minimum_width (150) parent_pixmap_box.set_padding_width (5) parent_pixmap_box.set_border_width (5) l_ev_vertical_box_2.set_padding_width (5) l_ev_vertical_box_2.set_border_width (5) l_ev_vertical_box_2.disable_item_expand (parent_title_container) parent_title_container.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (0, 0, 160)) parent_title_container.set_padding_width (5) parent_title_container.set_border_width (5) parent_title_label.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (0, 0, 160)) parent_title_label.set_foreground_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) create internal_font internal_font.set_family (3) internal_font.set_weight (7) internal_font.set_shape (10) internal_font.set_height_in_points (12) internal_font.preferred_families.extend ("Verdana") parent_title_label.set_font (internal_font) parent_title_label.align_text_left main_preference_box.set_padding_width (5) main_preference_box.set_border_width (5) l_ev_horizontal_box_1.set_padding_width (5) l_ev_horizontal_box_1.set_border_width (5) l_ev_horizontal_box_1.disable_item_expand (restore_button) l_ev_horizontal_box_1.disable_item_expand (ok_button) l_ev_horizontal_box_1.disable_item_expand (cancel_button) restore_button.set_text ("Restore defaults") ok_button.set_text ("OK") ok_button.set_minimum_width (80) cancel_button.set_text ("Cancel") cancel_button.set_minimum_width (80) --Connect events. -- Close the application when an interface close -- request is recieved on `Current'. i.e. the cross is clicked. -- Call `user_initialization'. user_initialization end feature -- Access parent_pixmap_box, main_preference_box: EV_VERTICAL_BOX parent_title_container: EV_HORIZONTAL_BOX parent_title_label: EV_LABEL restore_button, ok_button, cancel_button: EV_BUTTON feature {NONE} -- Implementation is_in_default_state: BOOLEAN is -- Is `Current' in its default state? do -- Re-implement if you wish to enable checking -- for `Current'. Result := True end user_initialization is -- Feature for custom initialization, called at end of `initialize'. deferred end indexing copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class CUSTOM_PREFERENCE_DIALOG_IMP