diff options
author | Stijn Buys <ingar@osirion.org> | 2016-07-23 19:16:28 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-07-23 19:16:28 +0200 |
commit | b6e20e04b519e50909331f537df2ea6114a137ee (patch) | |
tree | af49c890160dd5b96b992ff9e95bc44830955c3a /src/ui/ui.h | |
parent | 0d3a65aad03d9ac726238b21ba8224e9558a8a08 (diff) |
General ui code improvements, moved layout related variables to ui::UI,
added ColorPicker widget.
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 4b5d2da..aaf4acc 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -98,15 +98,17 @@ public: * */ static math::Vector2f elementsize; /** - * global spacing between ui elements, used by resize() functions + * global padding between ui elements, used by resize() functions * */ - static float spacing; + static float padding; /** * global margin for frames and widgets, used by resize() functions * see @Widget::resize(); * */ static float margin; + static float pointer_size; + protected: /* -- event handlers --------------------------------------- */ |