ui: focusing multiple tokens at once

This change focuses all token locations underneath the cursor at once by extending the focus handling to use vectors.
This commit is contained in:
Eberhard Graether
2015-11-12 10:14:46 +01:00
parent 28e3880e10
commit 00b74d2f30
18 changed files with 181 additions and 157 deletions
+3 -2
View File
@@ -20,8 +20,9 @@ public:
virtual void rebuildGraph(
std::shared_ptr<Graph> graph, const std::vector<DummyNode>& nodes, const std::vector<DummyEdge>& edges) = 0;
virtual void clear() = 0;
virtual void focusToken(Id tokenId) = 0;
virtual void defocusToken(Id tokenId) = 0;
virtual void focusTokenIds(const std::vector<Id>& focusedTokenIds) = 0;
virtual void defocusTokenIds(const std::vector<Id>& defocusedTokenIds) = 0;
virtual void resizeView() = 0;