diff options
| author | Poommetee Ketson | 2018-03-02 18:36:18 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2018-03-02 23:15:32 +0700 |
| commit | 54ecfc96ea15b559bcc39b6f06570768cb07cd34 (patch) | |
| tree | dc3bec176f69729b7a313e38b94910c26293b05d /editor/plugins/tile_set_editor_plugin.h | |
| parent | 08cadc3d871f681ef1f951894345359a85ba190e (diff) | |
| download | godot-54ecfc96ea15b559bcc39b6f06570768cb07cd34.tar.gz godot-54ecfc96ea15b559bcc39b6f06570768cb07cd34.tar.zst godot-54ecfc96ea15b559bcc39b6f06570768cb07cd34.zip | |
TileSetEditorPlgn: use EditorHandle icon as handle
Diffstat (limited to '')
| -rw-r--r-- | editor/plugins/tile_set_editor_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.h b/editor/plugins/tile_set_editor_plugin.h index f57ec9a11..4894d641a 100644 --- a/editor/plugins/tile_set_editor_plugin.h +++ b/editor/plugins/tile_set_editor_plugin.h @@ -91,6 +91,8 @@ class TileSetEditor : public Control { Sprite *preview; ScrollContainer *scroll; Control *workspace_container; + bool draw_handles; + Control *workspace_overlay; Control *workspace; Button *tool_editmode[EDITMODE_MAX]; HBoxContainer *tool_containers[TOOLBAR_MAX]; @@ -160,6 +162,7 @@ public: private: void _on_tile_list_selected(int p_index); void _on_edit_mode_changed(int p_edit_mode); + void _on_workspace_overlay_draw(); void _on_workspace_draw(); void _on_workspace_input(const Ref<InputEvent> &p_ie); void _on_tool_clicked(int p_tool); |
