X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-editor.h;h=f6f55d7ca5c56c9381dc8dd0b332248eb09738a2;hb=858cab0d05698bc5033b678a5865839ee5d73091;hp=b896c54578aa97c9685ae7fd126804419097d66f;hpb=f82952d22e200e1b35cea23545857a2cf2f02c66;p=pspp diff --git a/src/ui/gui/psppire-data-editor.h b/src/ui/gui/psppire-data-editor.h index b896c54578..f6f55d7ca5 100644 --- a/src/ui/gui/psppire-data-editor.h +++ b/src/ui/gui/psppire-data-editor.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008, 2010 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 @@ -20,8 +20,9 @@ #include #include -#include +#include +#include #include "psppire-var-store.h" #include "psppire-data-store.h" @@ -46,10 +47,24 @@ struct _PsppireDataEditor gboolean dispose_has_run; GtkWidget *cell_ref_entry; GtkWidget *datum_entry; - GtkWidget *data_sheet; GtkWidget *var_sheet; + struct _PsppireDataWindow *data_window; PsppireDataStore *data_store; PsppireVarStore *var_store; + + GtkWidget *sheet_bin[4]; + GtkWidget *data_sheet[4]; + + GtkWidget *data_vbox; + + GtkWidget *paned; + gboolean split; + + PsppireAxis *vaxis[2]; + + /* There's only one horizontal axis, since the + column widths are parameters of the variables */ + PsppireAxis *haxis; }; @@ -60,7 +75,7 @@ struct _PsppireDataEditorClass GType psppire_data_editor_get_type (void); -GtkWidget* psppire_data_editor_new (PsppireVarStore *, PsppireDataStore *); +GtkWidget* psppire_data_editor_new (struct _PsppireDataWindow *, PsppireVarStore *, PsppireDataStore *); void psppire_data_editor_clip_copy (PsppireDataEditor *); void psppire_data_editor_clip_paste (PsppireDataEditor *); void psppire_data_editor_clip_cut (PsppireDataEditor *); @@ -73,7 +88,7 @@ void psppire_data_editor_insert_case (PsppireDataEditor *); void psppire_data_editor_delete_cases (PsppireDataEditor *); void psppire_data_editor_set_font (PsppireDataEditor *, PangoFontDescription *); void psppire_data_editor_delete_cases (PsppireDataEditor *); - +void psppire_data_editor_split_window (PsppireDataEditor *, gboolean ); G_END_DECLS