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)
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 
30 //#include "stage/ctrl/global-ctx.hpp"
31 //#include "lib/util.hpp"
32 
33 //using util::cStr;
34 //using util::isnil;
35 
36 
37 namespace stage {
38 namespace interact {
39 
40 
41 
42  // dtors via smart-ptr invoked from here...
43  Navigator::~Navigator()
44  { }
45 
46 
47  Navigator::Navigator (SpotLocator& spotLoc, ViewLocator& viewLoc)
48  : spotLocator_{spotLoc}
49  , viewLocator_{viewLoc}
50  { }
51 
52 
53  /* ==== implementing the LocationQuery API ==== */
54 
55  Literal
56  Navigator::determineAnchor (UICoord const& path)
57  {
58  UNIMPLEMENTED ("LocationQuery in real UI: resolve anchor point of given UI-Coordinates");
59  }
60 
61 
62  size_t
63  Navigator::determineCoverage (UICoord const& path)
64  {
65  UNIMPLEMENTED ("LocationQuery in real UI: determine explicit coverage of given UI-Coordinates");
66  }
67 
68 
69  LocationQuery::ChildIter
70  Navigator::getChildren (UICoord const& path, size_t pos)
71  {
72  UNIMPLEMENTED ("LocationQuery in real UI: build child iterator rooted at given point in the UI tree");
73  }
74 
75 
76 
81 }}// namespace stage::interact
Describe a location within the UI through structural/topological coordinates.
Definition: ui-coord.hpp:129
Navigating a centre of user activity globally.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37