X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-output-window.h;h=95deed93fec542dbd9bb8ee891fb4c2a289f6260;hb=4d7bacdd25f6404e10e8e5de894e875235e43cfa;hp=d11eca618d84c9c18c86e5dc7bd184b6f9771a75;hpb=b5c82cc9aabe7e641011130240ae1b2e84348e23;p=pspp-builds.git diff --git a/src/ui/gui/psppire-output-window.h b/src/ui/gui/psppire-output-window.h index d11eca61..95deed93 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 @@ -31,10 +31,6 @@ 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 ()) @@ -56,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; + GtkTreeIter cur_command; + bool in_command; + + struct output_item **items; + size_t n_items, allocated_items; }; struct _PsppireOutputWindowClass @@ -70,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