ui: graphView
Added basic graph view with simple nodes (just text, no edges or anything...) fortune cookie message = Don't be afraid to take that big step.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef GRAPH_VIEW_H
|
||||
#define GRAPH_VIEW_H
|
||||
|
||||
#include "component/view/View.h"
|
||||
|
||||
class GraphView : public View
|
||||
{
|
||||
public:
|
||||
GraphView(ViewLayout* viewLayout);
|
||||
virtual ~GraphView();
|
||||
|
||||
virtual std::string getName() const;
|
||||
|
||||
virtual void addNode(const Vec2i& position, const std::string& name) = 0;
|
||||
};
|
||||
|
||||
#endif // GRAPH_VIEW_H
|
||||
Reference in New Issue
Block a user