#pragma interface
#endif
+#include <X11/Xlib.h>
class LyXView;
/** The LyX GUI independent guiruntime class
public:
/// initialise the toolkit
static
- int initApplication(int argc, char * argv[]);
+ int initApplication(int & argc, char * argv[]);
/// process pending events
static
void processEvents();
///
static
LyXView * createMainView(int w, int h);
+
+/* the following entries are X11 specific and should eventually go away */
+ /// The display on which LyX is running
+ static
+ Display * x11Display();
+ /// The screen on which LyX is running
+ static
+ int x11Screen();
+ /// The current colormap
+ static
+ Colormap x11Colormap();
+ /// The current visual depth
+ static
+ int x11VisualDepth();
+ /// the server's DPI estimate
+ static
+ float getScreenDPI();
};
#endif