X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-output-window.h;h=7b62be2069ada9147065c49ce8832ae70a9c4b09;hb=f633dff560960ab2c7d25108ec591d4db7a612a3;hp=621a9e24f90ef07a0182dca4e1b3b3ed4bfdf9f4;hpb=b6bcae693f035491ae0625f301f3e630c1335555;p=pspp-builds.git diff --git a/src/ui/gui/psppire-output-window.h b/src/ui/gui/psppire-output-window.h index 621a9e24..7b62be20 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 @@ -30,10 +30,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 ()) @@ -55,9 +51,8 @@ struct _PsppireOutputWindow PsppireWindow parent; /* */ - GtkTextBuffer *buffer; /* The buffer which contains the text */ - GtkWidget *textview ; - FILE *fp; /* The file it's viewing */ + GtkLayout *output; + int y; }; struct _PsppireOutputWindowClass @@ -69,9 +64,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