]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.h
updates to minipage inset
[lyx.git] / src / insets / figinset.h
index 421a0da786b8f5858806fb6aff6762199008d14b..13d6a4f461438a64736993c67c13bdeec0ce8b2f 100644 (file)
 #include "buffer.h"
 #include "LaTeXFeatures.h"
 #include "insets/lyxinset.h"
+#include <sigc++/signal_system.h>
 /* the rest is figure stuff */
 
 struct Figref;
 
+#ifdef SIGC_CXX_NAMESPACES
+using SigC::Object;
+using SigC::Connection;
+#endif
+
 ///
-class InsetFig: public Inset {
+class InsetFig: public Inset, public Object {
 public:
        ///
        InsetFig(int tmpx, int tmpy, Buffer const &);
@@ -132,6 +138,10 @@ public:
        ///
        bool psubfigure;
 private:
+       /** Redraw the form (on receipt of a Signal indicating, for example,
+           that the xform colors have been re-mapped).
+       */
+       void redraw();
 
        ///
        Buffer const * owner;
@@ -145,6 +155,8 @@ private:
        void TempRegenerate();
        /// get sizes from .eps file
        void GetPSSizes();
+       /// Redraw connection.
+       Connection r_;
 };