X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=share%2Fgui.h;h=61f79b892ad7dc7b08a6c824bbeb64c010311ce2;hb=226cf7f5acab52813e8f2bd30ef09191125041e1;hp=508c9c0a9eebc1449079750a88ca5af5058f1bb9;hpb=eb47a9d407d86a2b939746eabdc63f6bfec1df00;p=neverball diff --git a/share/gui.h b/share/gui.h index 508c9c0..61f79b8 100644 --- a/share/gui.h +++ b/share/gui.h @@ -16,9 +16,12 @@ #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);