]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XFormsView.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / XFormsView.h
index 8d35bcef54de7d4eb7b29cc1f5971ca61b8f53cb..bb81268005302b742d87cc988cf8250c1790630b 100644 (file)
@@ -1,13 +1,13 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- *           LyX, The Document Processor
+/**
+ * \file XFormsView.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
+ * \author unknown
  *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef LyXView_H
 #define LyXView_H
@@ -19,8 +19,9 @@
 #include "forms_fwd.h"
 
 #include "frontends/LyXView.h"
+#include <X11/Xlib.h> // for Pixmap
 
-class Dialogs;
+class XMiniBuffer;
 
 /**
  * XFormsView - xforms implementation of LyXView
@@ -54,6 +55,9 @@ public:
        /// callback for close event from window manager
        static int atCloseMainFormCB(FL_FORM *, void *);
 
+       /// display a status message
+       virtual void message(string const & str);
+
 private:
        /**
         * setWindowTitle - set title of window
@@ -63,11 +67,24 @@ private:
        virtual void setWindowTitle(string const & t, string const & it);
 
        /// update the minibuffer state message
-       void update_view_state();
+       void show_view_state();
 
        /// makes the main form.
-       void create_form_form_main(Dialogs & d, int width, int height);
+       void create_form_form_main(int width, int height);
+       /// the minibuffer
+       boost::scoped_ptr<XMiniBuffer> minibuffer_;
+       ///
+       boost::signals::connection view_state_con;
+       ///
+       boost::signals::connection focus_con;
+       ///
+       boost::signals::connection redraw_con;
+
        /// the main form.
        FL_FORM * form_;
+       /// Passed to the window manager to give a pretty little symbol ;-)
+       Pixmap icon_pixmap_;
+       ///
+       Pixmap icon_mask_;
 };
 #endif