summaryrefslogtreecommitdiffstats
path: root/scene/gui/texture_progress_bar.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/texture_progress_bar.h
parent30d469a5e0f70860f3c4ce4508d6564ca389320b (diff)
downloadredot-engine-4b8b8039316493ee3fa77c6bb93f95e109fa68a6.tar.gz
Rename Control margin to offset
Diffstat (limited to 'scene/gui/texture_progress_bar.h')
-rw-r--r--scene/gui/texture_progress_bar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/texture_progress_bar.h b/scene/gui/texture_progress_bar.h
index 342e719a59..4fab8076fd 100644
--- a/scene/gui/texture_progress_bar.h
+++ b/scene/gui/texture_progress_bar.h
@@ -78,8 +78,8 @@ public:
void set_over_texture(const Ref<Texture2D> &p_texture);
Ref<Texture2D> get_over_texture() const;
- void set_stretch_margin(Margin p_margin, int p_size);
- int get_stretch_margin(Margin p_margin) const;
+ void set_stretch_margin(Side p_side, int p_size);
+ int get_stretch_margin(Side p_side) const;
void set_nine_patch_stretch(bool p_stretch);
bool get_nine_patch_stretch() const;