#include <esve/ui/extra/impl/Simple_UI.hxx>
Inheritance diagram for esve::ui::extra::impl::Simple_UI:

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. | |
| Valuator & | create_valuator (double initial_value, const std::string &label="") |
| Create a valuator. | |
| Toggle & | create_toggle (bool initial_value, const std::string &label) |
| Create a toggle. | |
| File_Selector & | create_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. | |
|
||||||||||||
|
Create a valuator.
Valuator & v = create_valuator(0.5, "foo") create_label("foo") ; Valuator & v = create_valuator(0.5) ; Implements esve::ui::extra::Simple_UI. |
1.3.4