#ifndef LYX_GUI_MISC_H
#define LYX_GUI_MISC_H
+#ifdef __GNUG__
+#pragma interface
+#endif
+
#include FORMS_H_LOCATION
#include "LString.h"
#include <utility> /* needed for pair<> definition */
extern "C" int IgnoreCloseBoxCB(FL_FORM *, void *);
/// Prevents LyX from crashing when no buffers available
-void CloseAllBufferRelatedPopups();
+void CloseAllBufferRelatedDialogs();
/// Ensures info in visible popups are always correct.
-void updateAllVisibleBufferRelatedPopups();
+void updateAllVisibleBufferRelatedDialogs();
+/* These shortcut extractors should be shifted to frontends/xforms/ eventually */
/// Extract shortcut from <ident>|<shortcut> string
char const * flyx_shortcut_extract(char const * sc);
/// Make a shortnamed version of the above func
/// Informs the user that changes in the coming form will be ignored
void WarnReadonly(string const & file);
+/// Get the dpi setting of the current screen
+float getScreenDPI();
+
// inlined functions
-/// rings the audio bell.
+// rings the audio bell.
inline
void LyXBell() {
// if (audio()) ON/OFF switch yet to be implemented