]> git.cworth.org Git - grrobot/blobdiff - src/grr_board_view.h
Ripped out leftover code from widget sample code.
[grrobot] / src / grr_board_view.h
index f7df6daae9c379e517d07ce1af5efc4f9c228adc..87aeebc23736d734cf3164d8258300013d1f8aea 100644 (file)
@@ -57,30 +57,12 @@ struct grr_board_view
     int cell_width, cell_height;
 
     /* XXX: Obviously, the rest of this needs to be gutted */
-
-    /* update policy (GTK_UPDATE_[CONTINUOUS/DELAYED/DISCONTINUOUS]) */
-    guint policy : 2;
     
     /* Button currently pressed or 0 if none */
     guint8 button;
     
-    /* Dimensions of dial components */
-    gint radius;
-    gint pointer_width;
-    
     /* ID of update timer, or 0 if none */
     guint32 timer;
-    
-    /* Current angle */
-    gfloat angle;
-    gfloat last_angle;
-    
-    /* Old values from adjustment stored so we know when something changes */
-    gfloat old_value;
-    gfloat old_lower;
-    gfloat old_upper;
-
-    GtkAdjustment *adjustment;
 };
 
 struct grr_board_view_class