]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfr0.h
mathed31.diff
[lyx.git] / src / lyxfr0.h
index 09949f2ed10a86a840499d2617ab5e61b326b269..e30e4f25ad14c80167e92a5ee96b4dd7aaa83131 100644 (file)
@@ -9,9 +9,15 @@
 #include "LString.h"
 #include FORMS_H_LOCATION
 #include "form1.h"
+#include <sigc++/signal_system.h>
 
 class LyXFindReplace;
 
+#ifdef SIGC_CXX_NAMESPACES
+using SigC::Object;
+using SigC::Connection;
+#endif
+
 /**
    The comments below are most likely not valied anymore since
    the rewrite of LyXFindReplace0 and LyXFindReplace1. (Lgb)
@@ -33,7 +39,7 @@ class LyXFindReplace;
   - regex searches (I'm working on that -- dnaber, 1999-02-24)
 
 */
-class SearchForm {
+class SearchForm : public Object {
 public:
        ///
        SearchForm();
@@ -76,10 +82,16 @@ public:
        ///
        bool ValidSearchData() const { return !(SearchString().empty()); }
 private:
+       /** Redraw the form (on receipt of a Signal indicating, for example,
+           that the xform colors have been re-mapped).
+       */
+       void redraw();
        ///
        FD_form_search * search_form;
        /// replace buttons enabled?
        bool fReplaceEnabled;
+       /// Redraw connection.
+       Connection r_;
 };
 
 #endif