aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.h
diff options
context:
space:
mode:
authorGilles Roudiere2017-08-02 18:33:06 +0200
committerGilles Roudiere2017-08-13 21:20:13 +0200
commitb73613e1eb66bf1807a4e106c87ebfaf6914813f (patch)
tree1f6ceef53fe4a844bb68b39bbcb9c95e51038c99 /editor/plugins/canvas_item_editor_plugin.h
parent2032cb25221bb4388b9875a49fd4c882ee400af8 (diff)
downloadgodot-b73613e1eb66bf1807a4e106c87ebfaf6914813f.tar.gz
godot-b73613e1eb66bf1807a4e106c87ebfaf6914813f.tar.zst
godot-b73613e1eb66bf1807a4e106c87ebfaf6914813f.zip
Displays percentages when dragging anchors
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h
index e6901b232..009329c27 100644
--- a/editor/plugins/canvas_item_editor_plugin.h
+++ b/editor/plugins/canvas_item_editor_plugin.h
@@ -365,6 +365,8 @@ class CanvasItemEditor : public VBoxContainer {
void _unhandled_key_input(const Ref<InputEvent> &p_ev);
+ void _draw_percentage_at_position(float p_value, Point2 p_position, Margin p_side);
+
void _viewport_gui_input(const Ref<InputEvent> &p_event);
void _viewport_draw();