]> git.cworth.org Git - grrobot/blobdiff - src/grr_board_view.h
Fixed layout of text entry widget to fixed height
[grrobot] / src / grr_board_view.h
index 87aeebc23736d734cf3164d8258300013d1f8aea..7c16f7a7e7d979ba787d074b5c2bc08b38014c64 100644 (file)
@@ -50,13 +50,16 @@ struct grr_board_view
     GtkWidget widget;
 
     rr_board_t *board;
-    int owns_board;
+
     int board_width, board_height;
     int board_pad_x, board_pad_y;
 
     int cell_width, cell_height;
 
-    /* XXX: Obviously, the rest of this needs to be gutted */
+    int drag_x, drag_y;
+    rr_robot_t drag_robot;
+
+    rr_client_t *client;
     
     /* Button currently pressed or 0 if none */
     guint8 button;
@@ -70,10 +73,15 @@ struct grr_board_view_class
     GtkWidgetClass parent_class;
 };
 
-GtkWidget*     grr_board_view_new      (rr_board_t *board);
-GtkType        grr_board_view_get_type (void);
-void           grr_board_view_set_board        (grr_board_view_t *view,
-                                        rr_board_t *board);
+GtkWidget*
+grr_board_view_new (rr_board_t *board);
+
+void
+grr_board_view_set_client (grr_board_view_t *view, rr_client_t *client);
+
+GtkType
+grr_board_view_get_type (void);
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */