ui: bidirectional hovering
hovering for graphview and codeview via messaging, hovering in one view will "hover" the equivalent in the other view
This commit is contained in:
@@ -43,6 +43,9 @@ public:
|
||||
virtual void showCodeSnippets(const std::vector<CodeSnippetParams>& snippets) = 0;
|
||||
virtual void showCodeFile(const CodeSnippetParams& params) = 0;
|
||||
|
||||
virtual void focusToken(const Id tokenId) = 0;
|
||||
virtual void defocusToken() = 0;
|
||||
|
||||
private:
|
||||
CodeController* getController();
|
||||
};
|
||||
|
||||
@@ -24,6 +24,8 @@ 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 resizeView() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user