summaryrefslogtreecommitdiffstats
path: root/scene/gui/nine_patch_rect.h
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-22 16:24:29 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-23 06:25:56 +0000
commit4b8b8039316493ee3fa77c6bb93f95e109fa68a6 (patch)
tree5b13e0f4216218ccebb1e2584bae32b5bd2d6714 /scene/gui/nine_patch_rect.h
parent30d469a5e0f70860f3c4ce4508d6564ca389320b (diff)
downloadredot-engine-4b8b8039316493ee3fa77c6bb93f95e109fa68a6.tar.gz
Rename Control margin to offset
Diffstat (limited to 'scene/gui/nine_patch_rect.h')
-rw-r--r--scene/gui/nine_patch_rect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/nine_patch_rect.h b/scene/gui/nine_patch_rect.h
index a539ad43c0..91d24ada8f 100644
--- a/scene/gui/nine_patch_rect.h
+++ b/scene/gui/nine_patch_rect.h
@@ -59,8 +59,8 @@ public:
void set_texture(const Ref<Texture2D> &p_tex);
Ref<Texture2D> get_texture() const;
- void set_patch_margin(Margin p_margin, int p_size);
- int get_patch_margin(Margin p_margin) const;
+ void set_patch_margin(Side p_side, int p_size);
+ int get_patch_margin(Side p_side) const;
void set_region_rect(const Rect2 &p_region_rect);
Rect2 get_region_rect() const;