- /** Redraw all visible popups because, for example, the GUI colours
- have been re-mapped. */
- static SigC::Signal0<void> redrawGUI;
+ /** Redraw all visible dialogs because, for example, the GUI colours
+ * have been re-mapped.
+ *
+ * Note that static boost signals break some compilers, so we return a
+ * reference to some hidden magic ;-)
+ */
+ static boost::signal0<void> & redrawGUI();
+
+ /// Toggle tooltips on/off in all dialogs.
+ static void toggleTooltips();
+
+ /// Are the tooltips on or off?
+ static bool tooltipsEnabled();