summaryrefslogtreecommitdiff
path: root/scene/gui/patch_9_rect.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-31 19:16:07 +0200
committerGitHub <noreply@github.com>2017-08-31 19:16:07 +0200
commit4722593448b93e34d84a55010c10770c2d12e223 (patch)
tree7cd8cd47f5baa5da476febe39db775749ad15252 /scene/gui/patch_9_rect.h
parent849d2e346204559f35f8f430b1c13c03d579a36e (diff)
parent2aa735757a31d4ae02ed72f76dedc98a851c3f7d (diff)
Merge pull request #10816 from toger5/style_box_texture_set_fill
unified draw_center naming for (9patch,StyleBoxes)
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;