2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000-2001 The LyX Team.
9 * ====================================================== */
21 /** The LyX GUI independent guiruntime class
22 The GUI interface is implemented in the corresponding
23 frontends GUIRunTime.C file.
27 /// initialise the toolkit
29 int initApplication(int & argc, char * argv[]);
30 /// process pending events
33 /// enter the permanent event loop until "finished" becomes false
36 /// This is run first in the LyXGUI constructor.
41 LyXView * createMainView(int w, int h);
42 /** Called bu the graphics cache to connect the approriate frontend
43 * image loading routines to the LyX kernel.
45 static void initialiseGraphics();
47 /* the following entries are X11 specific and should eventually go away */
48 /// The display on which LyX is running
50 Display * x11Display();
51 /// The screen on which LyX is running
54 /// The current colormap
56 Colormap x11Colormap();
57 /// The current visual depth
60 /// the server's DPI estimate