mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
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:
parent
779de95709
commit
9ecaaf3ec9
@ -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:
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user