indexing description: "The demo that goes with the progress bar demo"; date: "$Date$"; revision: "$Revision$" class PROGRESS_WINDOW inherit EV_VERTICAL_PROGRESS_BAR redefine make end DEMO_WINDOW WIDGET_COMMANDS create make feature {NONE} -- Initialization make (par: EV_CONTAINER) is -- Create the demo in `par'. -- We create the box first without parent because it -- is faster. local hbox: EV_HORIZONTAL_BOX vbox: EV_VERTICAL_BOX lab: EV_LABEL cmd: EV_ROUTINE_COMMAND do Precursor {EV_VERTICAL_PROGRESS_BAR} (Void) make_with_range (par, 0, 100) -- Set the tabs for the action window create event_window.make (Current) add_widget_commands (Current, event_window, "progress bar") set_parent (par) end set_tabs is -- Set the tabs for the action window. do set_gauge_tabs tab_list.extend(progress_tab) create action_window.make(Current, tab_list) end end -- class PROGRESS_WINDOW --|---------------------------------------------------------------- --| EiffelVision2: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------