From: Baruch Even Date: Mon, 16 Jul 2001 14:41:01 +0000 (+0000) Subject: Added the x11 functions that were added lately. X-Git-Tag: 1.6.10~21074 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9ecaaf3ec9d3e8cd48548ab696ac69e6c5aaa6ca;p=features.git Added the x11 functions that were added lately. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2248 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/gnome/ChangeLog b/src/frontends/gnome/ChangeLog index 2724218e54..4b4a38425c 100644 --- a/src/frontends/gnome/ChangeLog +++ b/src/frontends/gnome/ChangeLog @@ -1,3 +1,7 @@ +2001-07-16 Baruch Even + + * GUIRunTime.C: Added some functions that were required lately. + 2001-07-16 Baruch Even * Makefile.am: diff --git a/src/frontends/gnome/GUIRunTime.C b/src/frontends/gnome/GUIRunTime.C index 4e924a03b6..72a73aecf3 100644 --- a/src/frontends/gnome/GUIRunTime.C +++ b/src/frontends/gnome/GUIRunTime.C @@ -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(); +}