Group key config symbols together
[neverball] / share / gui.h
index 508c9c0..61f79b8 100644 (file)
 #define GUI_H
 
 #include "glext.h"
+#include "lang.h"
 
 /*---------------------------------------------------------------------------*/
 
+#define GUI_FACE N_("ttf/DejaVuSans-Bold.ttf")
+
 #define GUI_SML  0
 #define GUI_MED  1
 #define GUI_LRG  2
@@ -49,12 +52,20 @@ void gui_free(void);
 
 /*---------------------------------------------------------------------------*/
 
+enum trunc
+{
+    TRUNC_NONE,
+    TRUNC_HEAD,
+    TRUNC_TAIL
+};
+
 void gui_set_label(int, const char *);
 void gui_set_image(int, const char *);
 void gui_set_multi(int, const char *);
 void gui_set_count(int, int);
 void gui_set_clock(int, int);
 void gui_set_color(int, const float *, const float *);
+void gui_set_trunc(int, enum trunc);
 
 /*---------------------------------------------------------------------------*/
 
@@ -88,6 +99,7 @@ void gui_pulse(int, float);
 void gui_timer(int, float);
 int  gui_point(int, int, int);
 int  gui_stick(int, int, int);
+void gui_stuck(void);
 int  gui_click(void);
 void gui_focus(int);