summaryrefslogtreecommitdiff
path: root/scene/gui/nine_patch_rect.h
diff options
context:
space:
mode:
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;