]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
Color patch from Angus, KDE patch from Johnm menu patch from Rob, and the usual unint...
[lyx.git] / src / frontends / Dialogs.h
index 3c544417e84c387a5454f64faa0f07d66f5fe1fa..8e7511842f901d07d0d9b729e150ecbf902f90f6 100644 (file)
@@ -22,7 +22,7 @@
 #include <sigc++/signal_system.h>
 
 #include "LString.h"
-#include "support/utility.hpp"
+#include <boost/utility.hpp>
 
 class DialogBase;
 
@@ -60,16 +60,23 @@ public:
        ~Dialogs();
        //@}
        
+       /** Redraw all visible popups because, for example, the GUI colours
+           have been re-mapped. */
+       static Signal0<void> redrawGUI;
+
        /**@name Global Hide and Update Signals */
        //@{
        /// Hide all visible popups
        Signal0<void> hideAll;
        
-       /// Hide any popups that require a buffer for them to operate
+       /// Hide any dialogs that require a buffer for them to operate
        Signal0<void> hideBufferDependent;
        
-       /// Update visible, buffer-dependent popups
-       Signal0<void> updateBufferDependent;
+       /** Update visible, buffer-dependent dialogs
+           If the bool is true then a buffer change has occurred
+           else its still the same buffer.
+        */
+       Signal1<void, bool> updateBufferDependent;
        //@}
 
        /**@name Dialog Access Signals.
@@ -106,9 +113,9 @@ public:
        ///
        Signal0<void> showLayoutDocument;
        ///
-       Signal0<void> showLogFile;
+       Signal0<void> showLayoutParagraph;
        ///
-       Signal0<void> showParagraph;
+       Signal0<void> showLogFile;
        ///
        Signal0<void> showPreamble;
        ///
@@ -124,8 +131,6 @@ public:
        ///
        Signal1<void, InsetTabular *> updateTabular;
        ///
-       Signal1<void, InsetTabular *> hideTabular;
-       ///
        Signal0<void> showTabularCreate;
        ///
        Signal1<void, InsetCommand *> showTOC;
@@ -144,11 +149,3 @@ private:
 };
 
 #endif
-
-
-
-
-
-
-
-