X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-output-window.h;h=bc0da8531b750c80180d6b42dd8f45d4a92d6c27;hb=03d066d9f7e4f3d076a63e64708633bdf5e1c93c;hp=621a9e24f90ef07a0182dca4e1b3b3ed4bfdf9f4;hpb=9e0e4996fad6563f0a1ce628b80db5c23ef8279e;p=pspp-builds.git diff --git a/src/ui/gui/psppire-output-window.h b/src/ui/gui/psppire-output-window.h index 621a9e24..bc0da853 100644 --- a/src/ui/gui/psppire-output-window.h +++ b/src/ui/gui/psppire-output-window.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008 Free Software Foundation + Copyright (C) 2008, 2009 Free Software Foundation 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 @@ -24,16 +24,13 @@ #include #include #include "psppire-window.h" +#include "psppire.h" #include extern int viewer_length; extern int viewer_width ; -#define OUTPUT_FILE_NAME "psppire.txt" - - - G_BEGIN_DECLS #define PSPPIRE_OUTPUT_WINDOW_TYPE (psppire_output_window_get_type ()) @@ -55,9 +52,17 @@ struct _PsppireOutputWindow PsppireWindow parent; /* */ - GtkTextBuffer *buffer; /* The buffer which contains the text */ - GtkWidget *textview ; - FILE *fp; /* The file it's viewing */ + struct psppire_output_driver *driver; + GtkLayout *output; + int max_width; + int y; + + GtkTreeView *overview; + int last_table_num; + GtkTreeIter last_top_level; + + struct output_item **items; + size_t n_items, allocated_items; }; struct _PsppireOutputWindowClass @@ -69,9 +74,7 @@ struct _PsppireOutputWindowClass GType psppire_output_window_get_type (void); GtkWidget* psppire_output_window_new (void); - -void psppire_output_window_reload (void); - +void psppire_output_window_setup (void); G_END_DECLS