pspp-sheet-view: Support rectangular selection, column popup menus.
[pspp] / src / ui / gui / pspp-sheet-private.h
index 4658955b0007d287f3761e431d943ac4789ba05b..9d99cbd8a5f7af2060d1ac901af37f4e957f09c8 100644 (file)
@@ -164,6 +164,7 @@ struct _PsppSheetViewPrivate
   gint n_columns;
   GList *columns;
   gint header_height;
+  gint n_selected_columns;
 
   PsppSheetViewColumnDropFunc column_drop_func;
   gpointer column_drop_func_data;
@@ -212,6 +213,9 @@ struct _PsppSheetViewPrivate
 
   int rubber_band_end_node;
 
+  /* Rectangular selection. */
+  PsppSheetViewColumn *anchor_column; /* XXX needs to be a weak pointer? */
+
   /* fixed height */
   gint fixed_height;