diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2016-02-08 16:28:12 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2016-02-08 16:28:12 -0300 |
| commit | 34c022a0a22bccb88a47be7356eec71543f57c89 (patch) | |
| tree | d0ccb12afe7f3d2693c5624348962ab46ddd81b4 /scene/gui/graph_edit.h | |
| parent | a84dfbc46b28da89841aaa94a5057bf3de314622 (diff) | |
| download | redot-engine-34c022a0a22bccb88a47be7356eec71543f57c89.tar.gz | |
-Cleaned up GraphEdit, also fixes #3568
Diffstat (limited to 'scene/gui/graph_edit.h')
| -rw-r--r-- | scene/gui/graph_edit.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index fe9c36cee4..a189c10046 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -4,7 +4,9 @@ #include "scene/gui/graph_node.h" #include "scene/gui/scroll_bar.h" #include "scene/gui/slider.h" +#include "scene/gui/tool_button.h" #include "texture_frame.h" + class GraphEdit; class GraphEditFilter : public Control { @@ -35,8 +37,15 @@ public: }; private: - TextureFrame* zoom_icon; - HSlider* sl_zoom; + + ToolButton *zoom_minus; + ToolButton *zoom_reset; + ToolButton *zoom_plus; + + void _zoom_minus(); + void _zoom_reset(); + void _zoom_plus(); + HScrollBar* h_scroll; VScrollBar* v_scroll; |
