|
Milo
0.1
Milo:EquationManipulationProgram
|
#include <ui.h>


Public Member Functions | |
Virtual Public Member Functions | |
| virtual void | redraw_screen ()=0 |
| virtual Graphics & | getGraphics ()=0 |
Static Public Member Functions | |
| static MiloApp & | getGlobal () |
Protected Member Functions | |
Constructors and Virtual Destructor | |
| MiloApp () | |
| MiloApp (MiloWindowPtr win) | |
| ~MiloApp () | |
Protected Attributes | |
| MiloWindowVector | m_windows |
| List of windows for this application. | |
| MiloWindowIter | m_current_window |
| Current active window. | |
Static Protected Attributes | |
| static MiloApp & | m_current = app |
| Reference to current application singleton. More... | |
Static Private Attributes | |
| static std::unordered_map< std::string, menu_handler > | menu_map |
Public helper member functions. | |
| void | doMenu (const std::string &menuFunctionName) |
| MiloWindow & | getWindow () |
| void | addWindow (MiloWindowPtr win) |
| void | closeWindow () |
| void | closeWindow (MiloWindowIter it) |
| static bool | isRunning () |
Singleton class that provides a global context for menu and current window.
|
inlineprotected |
Protected constructor for singleton base class for windowless context.
|
inlineprotected |
Protected constructor for singleton base class.
| win | Default window |
|
inlineprotected |
Abstract base class needs virtual destructor.
|
inline |
Add new window to application after current window.
| win | New window added to application |
|
inline |
Close current window from application.
|
inline |
Close window from application.
| it | Iterator to window to be deleted. |
| void MiloApp::doMenu | ( | const std::string & | menuFunctionName | ) |
Execute function based on its name. Used for menu handling.
|
inlinestatic |
Return current global context.
|
pure virtual |
|
inline |
Get active window.
|
static |
Query if program should quit.
|
pure virtual |
Reference to current application singleton.
Ascii app class object.
|
staticprivate |
Map of names to functions that handle menu items.
1.8.11