Lumiera  0.pre.03
»edit your freedom«
navigator.cpp
Go to the documentation of this file.
1 /*
2  Navigator - controller for global navigation through interface space
3 
4  Copyright (C) Lumiera.org
5  2017, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 * *****************************************************/
22 
23 
39 //#include "stage/ctrl/global-ctx.hpp"
40 //#include "lib/util.hpp"
41 
42 //using util::cStr;
43 //using util::isnil;
44 
45 
46 namespace stage {
47 namespace interact {
48 
49 
50 
51  // dtors via smart-ptr invoked from here...
52  Navigator::~Navigator()
53  { }
54 
55 
56  Navigator::Navigator (SpotLocator& spotLoc, ViewLocator& viewLoc)
57  : spotLocator_{spotLoc}
58  , viewLocator_{viewLoc}
59  { }
60 
61 
62  /* ==== implementing the LocationQuery API ==== */
63 
64  Literal
65  Navigator::determineAnchor (UICoord const& path)
66  {
67  UNIMPLEMENTED ("LocationQuery in real UI: resolve anchor point of given UI-Coordinates");
68  }
69 
70 
71  size_t
72  Navigator::determineCoverage (UICoord const& path)
73  {
74  UNIMPLEMENTED ("LocationQuery in real UI: determine explicit coverage of given UI-Coordinates");
75  }
76 
77 
78  LocationQuery::ChildIter
79  Navigator::getChildren (UICoord const& path, size_t pos)
80  {
81  UNIMPLEMENTED ("LocationQuery in real UI: build child iterator rooted at given point in the UI tree");
82  }
83 
84 
85 
90 }}// namespace stage::interact
Describe a location within the UI through structural/topological coordinates.
Definition: ui-coord.hpp:138
Navigating a centre of user activity globally.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46