Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::ui::extra::impl::Simple_UI Class Reference

Implements ui::extra::Simple_UI, ui::extra::Modal_Tie. More...

#include <esve/ui/extra/impl/Simple_UI.hxx>

Inheritance diagram for esve::ui::extra::impl::Simple_UI:

esve::ui::extra::Simple_UI esve::ui::extra::Modal_Tie esve::ui::extra::Valuator_Emitter esve::ui::extra::Toggle_Emitter esve::ui::extra::File_Selector_Emitter esve::ui::extra::Simple_UI_Base esve::ui::extra::Toggle_Creator esve::kernel::Catcher List of all members.

Public Member Functions

 Simple_UI (ui::base::impl::Display &)
 Constructor. A display is needed for the modal tie.

void create_label (const std::string &label)
 Label for widgets which follow.

Valuatorcreate_valuator (double initial_value, const std::string &label="")
 Create a valuator.

Togglecreate_toggle (bool initial_value, const std::string &label)
 Create a toggle.

File_Selectorcreate_file_selector (const std::string &initial_value="", const std::string &label="file", const std::string &selector_label="select a file", const std::string &initial_directory=".", const std::string &filter="*")
 Create a file selector. Just one file selector is allowed.

void create_help (const std::string &text, const std::string &label="help")
 Create a help dialog.

void toggle_display_fullscreen ()
 Switch the tied display to/from fullscreen mode.

void toggle_modal_visible ()
 Hide/show the tied modal object.

Catch_Function catch_function () const
 Catch exceptions from system entry points.

void catch_function (Catch_Function)
 Catch exceptions from system entry points.


Protected Member Functions

virtual bool emit_valuator (const Valuator &)
 You have somehow obtained information that this widget has changed. Inform the world by calling this method.

virtual bool emit_toggle (const Toggle &)
 You have somehow obtained information that this widget has changed. Inform the world by calling this method.

virtual bool emit_file_selector (const File_Selector &)
 You have somehow obtained information that this widget has changed. Inform the world by calling this method.


Detailed Description

Implements ui::extra::Simple_UI, ui::extra::Modal_Tie.


Member Function Documentation

Valuator& esve::ui::extra::impl::Simple_UI::create_valuator double  initial_value,
const std::string &  label = ""
[virtual]
 

Create a valuator.

 Valuator & v = create_valuator(0.5, "foo") 
is equivalent to
        create_label("foo") ;
        Valuator & v = create_valuator(0.5) ;

Implements esve::ui::extra::Simple_UI.


Generated on Tue May 30 11:40:58 2006 for esve by doxygen 1.3.4