Lumiera  0.pre.03
»edit your freedom«
ui-state.cpp
Go to the documentation of this file.
1 /*
2  UiState - manage persistent interface state
3 
4  Copyright (C)
5  2017, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
21 #include "stage/ctrl/ui-state.hpp"
24 //#include "stage/ctrl/global-ctx.hpp"
25 //#include "lib/util.hpp"
26 
27 //using util::cStr;
28 //using util::isnil;
29 
30 
31 namespace stage {
32 namespace ctrl {
33 
34  using interact::FocusTracker;
35 
36 
37  // emit VTable here...
39  { }
40 
41  // emit nested dtor code here...
42  UiState::~UiState()
43  { }
44 
45 
50  UiState::UiState (StateManager& stateManager, FocusTracker& focusTracker)
51  : stateManager_{stateManager}
52  , tracker_{focusTracker}
53  { }
54 
55 
60 }}// namespace stage::ctrl
Helper to pick up typical focus/activity changes, for the purpose of keeping a coherent system of Wor...
Interface: a component to maintain persistent interface state.
virtual ~StateManager()
this is an interface
Definition: ui-state.cpp:38
Establish and handle persistent interface state.
Helper to track focus/activation changes to move the activity "Spot" automatically.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
Interface: handling of persistent interface state.
UiState(StateManager &, interact::FocusTracker &)
Initialise storage for global interface state.
Definition: ui-state.cpp:50