Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r--src/ui/ui.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index 976ddab..95b18e2 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -4,9 +4,6 @@
the terms of the GNU General Public License version 2
*/
-#include <string>
-#include <sstream>
-
#include "audio/audio.h"
#include "auxiliary/functions.h"
#include "core/core.h"
@@ -21,6 +18,10 @@
#include "ui/ui.h"
#include "ui/widget.h"
+#include <string>
+#include <sstream>
+#include <cassert>
+
namespace ui
{
@@ -33,6 +34,8 @@ math::Vector2f UI::elementsize(256, 32);
float UI::padding = 24.0f;
float UI::margin = 16.0f;
+float UI::icon_small = 24.0f;
+
float UI::pointer_size = 48.0f;
core::Cvar *ui_tooltiptimeout = nullptr;