diff options
author | Hugues Ross <hugues.ross@gmail.com> | 2020-05-02 07:32:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 13:32:02 +0200 |
commit | cb9a44ef8998ff66c00187efc508bf8bd6cc2d67 (patch) | |
tree | a7a05c71863fb93c4764a0f1ce302ef4dfc3d8a4 /src/gui/guiButton.h | |
parent | 5c96f57782d967010f711c3806fdd18caa6e3e32 (diff) | |
download | minetest-cb9a44ef8998ff66c00187efc508bf8bd6cc2d67.tar.xz |
Add 'content_offset' and 'padding' style properties for buttons (#9661)
* Add padding and content_offset style properties to buttons
Diffstat (limited to 'src/gui/guiButton.h')
-rw-r--r-- | src/gui/guiButton.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/guiButton.h b/src/gui/guiButton.h index ef10f926e..95fa1a2a1 100644 --- a/src/gui/guiButton.h +++ b/src/gui/guiButton.h @@ -336,5 +336,7 @@ private: gui::IGUIStaticText *StaticText;
core::rect<s32> BgMiddle;
+ core::rect<s32> Padding;
+ core::vector2d<s32> ContentOffset;
// END PATCH
};
|