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
This commit is contained in:
Baruch Even 2001-07-16 14:41:01 +00:00
parent 779de95709
commit 9ecaaf3ec9
2 changed files with 35 additions and 0 deletions

View 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:

View 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();
}