49 using stage::MARK_expand;
84 TODO (
"send a population diff starting from scratch");
85 TODO (
"activate life-update service within the session");
89 .captureUndo ([]() ->
bool 93 .undoOperation ([](
bool wasActive)
97 UNIMPLEMENTED (
"send a status update diff into the root node, to mark it as defunct");
98 TODO (
"clear the life-update service within the session");
117 TODO (
"send a status update diff into the root node, to mark it as defunct");
118 TODO (
"clear the life-update service within the session");
120 .captureUndo ([]() ->
bool 124 .undoOperation ([](
bool wasActive)
128 UNIMPLEMENTED (
"send a diff update to completely clear the root node, then send a population diff with current session content");
129 TODO (
"activate life-update service within the session");
144 def.operation ([](
int level,
string message)
148 .captureUndo ([](
int level,
string message) ->
string 150 return _Fmt{
"displayInfo(%d, '%s')"} % level % message;
152 .undoOperation ([](
int,
string,
string uiAction)
164 def.operation ([](
string message)
166 ID errorLogID = stage::interact::Wizard::getErrorLogID();
169 .captureUndo ([](
string message) ->
string 171 return _Fmt{
"GUI::errorLog <- markError('%s')"} % message;
173 .undoOperation ([](
string,
string uiAction)
185 def.operation ([](
string message)
187 ID errorLogID = stage::interact::Wizard::getErrorLogID();
190 .captureUndo ([](
string message) ->
string 192 return _Fmt{
"GUI::errorLog <- markNote('%s')"} % message;
194 .undoOperation ([](
string,
string uiAction)
206 def.operation ([](
string actionID,
string message)
208 ID errorLogID = stage::interact::Wizard::getErrorLogID();
210 ,actionID==MARK_expand?
GenNode{actionID, isYes(message)}
213 .captureUndo ([](
string actionID,
string message) ->
string 215 return _Fmt{
"GUI::errorLog <- mark(%s, '%s')"} % actionID % message;
217 .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