Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 5c44643..4b5d2da 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -92,9 +92,21 @@ public:
void set_pointer(const char *pointerbitmap = 0, const Palette::Color color = Palette::Highlight, const bool animated = false);
static bool ui_debug;
-
- static float elementmargin;
+
+ /**
+ * global size of a ui element, used by resize() functions
+ * */
static math::Vector2f elementsize;
+ /**
+ * global spacing between ui elements, used by resize() functions
+ * */
+ static float spacing;
+ /**
+ * global margin for frames and widgets, used by resize() functions
+ * see @Widget::resize();
+ * */
+ static float margin;
+
protected:
/* -- event handlers --------------------------------------- */