updated URL of forum and table in readme file
[neverball] / share / gui.c
index 0daeb62..ce284bd 100644 (file)
@@ -1209,7 +1209,7 @@ static void gui_paint_clock(int id)
 
     GLfloat dx_large = (GLfloat) digit_w[i][0];
     GLfloat dx_small = (GLfloat) digit_w[i][0] * 0.75f;
-    
+
     if (widget[id].value < 0)
         return;
 
@@ -1433,6 +1433,11 @@ int gui_point(int id, int x, int y)
         return active = jd;
 }
 
+void gui_focus(int i)
+{
+    active = i;
+}
+
 int gui_click(void)
 {
     return active;