]> git.lyx.org Git - lyx.git/commitdiff
Added the x11 functions that were added lately.
authorBaruch Even <baruch@lyx.org>
Mon, 16 Jul 2001 14:41:01 +0000 (14:41 +0000)
committerBaruch Even <baruch@lyx.org>
Mon, 16 Jul 2001 14:41:01 +0000 (14:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2248 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/gnome/ChangeLog
src/frontends/gnome/GUIRunTime.C

index 2724218e5496eb69bda83d6195c387a1a8e66f2f..4b4a38425c8e4b91fa0d869e663e5f11a34acfca 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-16  Baruch Even  <baruch@lyx.org>
+
+       * GUIRunTime.C: Added some functions that were required lately.
+
 2001-07-16  Baruch Even  <baruch@lyx.org>
 
        * Makefile.am:
index 4e924a03b6bd9705b525f065c7c1de212f437a13..72a73aecf317c194b8f107fa82c8f233e066d693 100644 (file)
@@ -121,3 +121,34 @@ void GUIRunTime::setDefaults()
                        | FL_PDMenuFontSize
                        | FL_PDBorderWidth, &cntl);
 }
+
+
+#include "XFormsView.h"
+LyXView * GUIRunTime::createMainView(int w, int h)
+{
+       return new XFormsView(w, h);
+}
+
+       
+Display * GUIRunTime::x11Display()
+{
+       return fl_get_display();
+}
+
+
+int GUIRunTime::x11Screen()
+{
+       return fl_screen;
+}
+
+
+Colormap GUIRunTime::x11Colormap()
+{
+       return fl_state[fl_get_vclass()].colormap;
+}
+
+
+int GUIRunTime::x11VisualDepth()
+{
+       return fl_get_visual_depth();
+}