+2002-01-03 Michael Koziarski <michael@koziarski.com>
+
+ * Dialogs.h: fix compilation.
+ * Makefile.am: ditto.
+ * GUIRunTime.C: ditto. Supply a getScreenDPI().
+
2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Timeout_pimpl.h: do not include <config.h> in header files.
#include "gettext.h"
#include "Dialogs.h"
+#include "BufferView.h"
#include "gnomeBC.h"
#include "ControlBibitem.h"
{
return fl_get_visual_depth();
}
+
+float GUIRunTime::getScreenDPI()
+{
+ Screen * scr = ScreenOfDisplay(fl_get_display(), fl_screen);
+ return ((HeightOfScreen(scr) * 25.4 / HeightMMOfScreen(scr)) +
+ (WidthOfScreen(scr) * 25.4 / WidthMMOfScreen(scr))) / 2;
+}
../xforms/FormMathsMatrix.lo \
../xforms/FormMathsPanel.lo \
../xforms/FormMathsSpace.lo \
+ ../xforms/DropDown.lo \
+ ../xforms/Alert_pimpl.lo \
@LYX_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
# ../xforms/FileDialog.lo \