X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpspp-sheet-private.h;h=80e15ccf13d91f8c276e5f638111aec4de46ef3a;hb=731df357f8b7064c82c264b899ce784bf19320bf;hp=4658955b0007d287f3761e431d943ac4789ba05b;hpb=7ecdf4e88e39024da846a25c98caa2887f0dac59;p=pspp diff --git a/src/ui/gui/pspp-sheet-private.h b/src/ui/gui/pspp-sheet-private.h index 4658955b00..80e15ccf13 100644 --- a/src/ui/gui/pspp-sheet-private.h +++ b/src/ui/gui/pspp-sheet-private.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -144,6 +144,7 @@ struct _PsppSheetViewPrivate gint pressed_button; gint press_start_x; gint press_start_y; + gint press_start_node; gint event_last_x; gint event_last_y; @@ -156,6 +157,7 @@ struct _PsppSheetViewPrivate /* Cell Editing */ PsppSheetViewColumn *edited_column; + gint edited_row; /* Selection information */ PsppSheetSelection *selection; @@ -164,6 +166,7 @@ struct _PsppSheetViewPrivate gint n_columns; GList *columns; gint header_height; + gint n_selected_columns; PsppSheetViewColumnDropFunc column_drop_func; gpointer column_drop_func_data; @@ -184,10 +187,6 @@ struct _PsppSheetViewPrivate /* Non-interactive Header Resizing, expand flag support */ gint prev_width; - gint last_extra_space; - gint last_extra_space_per_column; - gint last_number_of_expand_columns; - /* ATK Hack */ PsppSheetDestroyCountFunc destroy_count_func; gpointer destroy_count_data; @@ -212,8 +211,12 @@ struct _PsppSheetViewPrivate int rubber_band_end_node; + /* Rectangular selection. */ + PsppSheetViewColumn *anchor_column; /* XXX needs to be a weak pointer? */ + /* fixed height */ gint fixed_height; + gboolean fixed_height_set; /* Scroll-to functionality when unrealized */ GtkTreeRowReference *scroll_to_path; @@ -237,11 +240,17 @@ struct _PsppSheetViewPrivate /* Grid and tree lines */ PsppSheetViewGridLines grid_lines; - GdkGC *grid_line_gc; + GdkGC *grid_line_gc[5]; + + /* Special cells. */ + PsppSheetViewSpecialCells special_cells; /* Tooltip support */ gint tooltip_column; + /* Cached style for button facades in columns. */ + GtkStyle *button_style; + /* Here comes the bitfield */ guint scroll_to_use_align : 1;