aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/patch_9_rect.h
diff options
context:
space:
mode:
authortoger52017-08-31 15:11:10 +0200
committertoger52017-08-31 15:25:24 +0200
commit2aa735757a31d4ae02ed72f76dedc98a851c3f7d (patch)
tree827630418b2e5ba855f4a18da760aa26d4270a38 /scene/gui/patch_9_rect.h
parent41e1bbd30c1e6db57e3fbbc037f6ce4645e20fb9 (diff)
downloadgodot-2aa735757a31d4ae02ed72f76dedc98a851c3f7d.tar.gz
godot-2aa735757a31d4ae02ed72f76dedc98a851c3f7d.tar.zst
godot-2aa735757a31d4ae02ed72f76dedc98a851c3f7d.zip
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 4cf93e4c0..808b7a1f5 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;