aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-12-17 20:13:43 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-12-17 20:13:43 -0500
commitfa802f8fbc62910b37002bcdd2f7c110f488e392 (patch)
tree28b0897d6af8879f7249189ea69c78e458ed2c0d /include/ui.hpp
parentb6141f6cbf07f0fbfadc892488f2ba83b7cf1719 (diff)
ui cleaning, docs
Diffstat (limited to 'include/ui.hpp')
-rw-r--r--include/ui.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/ui.hpp b/include/ui.hpp
index 8d517c7..519d259 100644
--- a/include/ui.hpp
+++ b/include/ui.hpp
@@ -39,8 +39,8 @@
** The UI namespace
** --------------------------------------------------------------------------*/
-void setControl(unsigned int index, SDL_Keycode key);
-SDL_Keycode getControl(unsigned int index);
+void setControl(int index, SDL_Keycode key);
+SDL_Keycode getControl(int index);
#include <entityx/entityx.h>
@@ -92,7 +92,7 @@ namespace ui {
void setFontFace(const char *ttf);
void setFontSize(unsigned int size);
- void setFontColor(unsigned char r,unsigned char g,unsigned char b, unsigned char a);
+ void setFontColor(int r, int g, int b, int a);
void setFontZ(float z);
/*
@@ -145,8 +145,6 @@ namespace ui {
void drawFade(void);
void fadeUpdate(void);
- void quitGame();
-
/*
* Toggle the black overlay thing.
*/