diff options
author | Hubert Jarosz <marqin.pl@gmail.com> | 2016-03-09 00:00:52 +0100 |
---|---|---|
committer | Hubert Jarosz <marqin.pl@gmail.com> | 2016-03-09 00:00:52 +0100 |
commit | 4a4f2479146aa33e235ed57cde311efda68d3c8f (patch) | |
tree | cf91f2869ff8f058c6682569fb31e22e5ee736ad /scene/gui/button.h | |
parent | 1dad6eca812e5c2e313b54265114de8a1d73d999 (diff) | |
download | redot-engine-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz |
remove trailing whitespace
Diffstat (limited to 'scene/gui/button.h')
-rw-r--r-- | scene/gui/button.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scene/gui/button.h b/scene/gui/button.h index bd244f5087..8a17a164a0 100644 --- a/scene/gui/button.h +++ b/scene/gui/button.h @@ -34,7 +34,7 @@ @author Juan Linietsky <reduzio@gmail.com> */ class Button : public BaseButton { - + OBJ_TYPE( Button, BaseButton ); public: @@ -49,25 +49,25 @@ private: bool flat; String text; - Ref<Texture> icon; + Ref<Texture> icon; bool clip_text; TextAlign align; - -protected: + +protected: virtual Size2 get_minimum_size() const; void _notification(int p_what); - static void _bind_methods(); + static void _bind_methods(); public: -// +// void set_text(const String& p_text); String get_text() const; - + void set_icon(const Ref<Texture>& p_icon); Ref<Texture> get_icon() const; - + void set_flat(bool p_flat); bool is_flat() const; |