58 using stage::MARK_expand;
93 TODO (
"send a population diff starting from scratch");
94 TODO (
"activate life-update service within the session");
98 .captureUndo ([]() ->
bool 102 .undoOperation ([](
bool wasActive)
106 UNIMPLEMENTED (
"send a status update diff into the root node, to mark it as defunct");
107 TODO (
"clear the life-update service within the session");
126 TODO (
"send a status update diff into the root node, to mark it as defunct");
127 TODO (
"clear the life-update service within the session");
129 .captureUndo ([]() ->
bool 133 .undoOperation ([](
bool wasActive)
137 UNIMPLEMENTED (
"send a diff update to completely clear the root node, then send a population diff with current session content");
138 TODO (
"activate life-update service within the session");
153 def.operation ([](
int level,
string message)
157 .captureUndo ([](
int level,
string message) ->
string 159 return _Fmt{
"displayInfo(%d, '%s')"} % level % message;
161 .undoOperation ([](
int,
string,
string uiAction)
173 def.operation ([](
string message)
175 ID errorLogID = stage::interact::Wizard::getErrorLogID();
178 .captureUndo ([](
string message) ->
string 180 return _Fmt{
"GUI::errorLog <- markError('%s')"} % message;
182 .undoOperation ([](
string,
string uiAction)
194 def.operation ([](
string message)
196 ID errorLogID = stage::interact::Wizard::getErrorLogID();
199 .captureUndo ([](
string message) ->
string 201 return _Fmt{
"GUI::errorLog <- markNote('%s')"} % message;
203 .undoOperation ([](
string,
string uiAction)
215 def.operation ([](
string actionID,
string message)
217 ID errorLogID = stage::interact::Wizard::getErrorLogID();
219 ,actionID==MARK_expand?
GenNode{actionID, isYes(message)}
222 .captureUndo ([](
string actionID,
string message) ->
string 224 return _Fmt{
"GUI::errorLog <- mark(%s, '%s')"} % actionID % message;
226 .undoOperation ([](
string,
string,
string uiAction)
bool isYes(string const &textForm) noexcept
check the given text if it can be interpreted as affirmative answer (bool true).
Hard wired key constants and basic definitions for communication with the GUI.
Major public Interface of the Lumiera GUI.
#define COMMAND_DEFINITION(_NAME_)
Macro to write command definitions in a compact form.
Common ID definitions for Steam-Layer commands.
something to be aware of, to be indicated unobtrusively
Steam-Layer implementation namespace root.
A front-end for using printf-style formatting.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
Generic building block for tree shaped (meta)data structures.
Hash implementation based on a lumiera unique object id (LUID) When invoking the default ctor...
Global access point to push state update and notification of events from the lower layers into the Lu...
Bare symbolic and hash ID used for accounting of asset like entries.
severe condition to be indicated prominently
static lib::Depend< GuiNotification > facade
static storage for the facade access front-end
Actually defining a command and binding it to execution parameters.
possibly interesting info that can be safely ignored
generic data element node within a tree