summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.h
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-08-12 20:24:20 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-08-14 14:02:47 -0300
commit609d97b6d4e14f45a90432cdb02fc633586576b4 (patch)
treec5da6b898e7b2460bfd0934fafc28e77177f2bfc /editor/plugins/tile_set_editor_plugin.h
parentd7b9fcd33689673c6237d91afdb4a8dfe548784a (diff)
Changes to the TileSet and TextureRegion editors
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.h')
-rw-r--r--editor/plugins/tile_set_editor_plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.h b/editor/plugins/tile_set_editor_plugin.h
index 0c175e718c..23bf68b90f 100644
--- a/editor/plugins/tile_set_editor_plugin.h
+++ b/editor/plugins/tile_set_editor_plugin.h
@@ -40,12 +40,12 @@
#define WORKSPACE_MARGIN Vector2(10, 10)
class TilesetEditorContext;
-class TileSetEditor : public Panel {
+class TileSetEditor : public Control {
friend class TileSetEditorPlugin;
friend class TilesetEditorContext;
- GDCLASS(TileSetEditor, Panel)
+ GDCLASS(TileSetEditor, Control)
enum TextureToolButtons {
TOOL_TILESET_ADD_TEXTURE,
@@ -131,8 +131,11 @@ class TileSetEditor : public Panel {
Control *workspace;
Button *tool_workspacemode[WORKSPACE_MODE_MAX];
Button *tool_editmode[EDITMODE_MAX];
+ HSeparator *separator_editmode;
HBoxContainer *toolbar;
ToolButton *tools[TOOL_MAX];
+ VSeparator *separator_delete;
+ VSeparator *separator_grid;
SpinBox *spin_priority;
WorkspaceMode workspace_mode;
EditMode edit_mode;