4 * Read the file COPYING
8 * Full author contact details are available in file CREDITS
18 #include "forms_fwd.h"
20 #include "frontends/LyXView.h"
25 * XFormsView - xforms implementation of LyXView
27 * xforms-private implementation of the main LyX window.
29 class XFormsView : public LyXView {
31 /// create a main window of the given dimensions
32 XFormsView(int w, int h);
37 * show - display the top-level window
38 * @param xpos requested x position (or 0)
39 * @param xpos requested y position (or 0)
40 * @param title window title
42 void show(int xpos, int ypos, string const & t = string("LyX"));
44 /// get the xforms main form
45 FL_FORM * getForm() const;
46 /// redraw the main form.
47 virtual void redraw();
49 virtual void prohibitInput() const;
51 virtual void allowInput() const;
53 /// callback for close event from window manager
54 static int atCloseMainFormCB(FL_FORM *, void *);
56 /// display a status message
57 virtual void message(string const & str);
61 * setWindowTitle - set title of window
62 * @param t main window title
63 * @param it iconified (short) title
65 virtual void setWindowTitle(string const & t, string const & it);
67 /// update the minibuffer state message
68 void show_view_state();
70 /// makes the main form.
71 void create_form_form_main(int width, int height);
73 boost::scoped_ptr<XMiniBuffer> minibuffer_;
75 boost::signals::connection view_state_con;
77 boost::signals::connection focus_con;
79 boost::signals::connection redraw_con;