summaryrefslogtreecommitdiff
path: root/scene/gui/patch_9_rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/patch_9_rect.h')
-rw-r--r--scene/gui/patch_9_rect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/patch_9_rect.h b/scene/gui/patch_9_rect.h
index 4cf93e4c05..808b7a1f5d 100644
--- a/scene/gui/patch_9_rect.h
+++ b/scene/gui/patch_9_rect.h
@@ -67,8 +67,8 @@ public:
void set_region_rect(const Rect2 &p_region_rect);
Rect2 get_region_rect() const;
- void set_draw_center(bool p_draw);
- bool get_draw_center() const;
+ void set_draw_center(bool p_enabled);
+ bool is_draw_center_enabled() const;
void set_h_axis_stretch_mode(AxisStretchMode p_mode);
AxisStretchMode get_h_axis_stretch_mode() const;