]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.h
reformatting and remove using delc
[lyx.git] / src / insets / figinset.h
index 421a0da786b8f5858806fb6aff6762199008d14b..02cb893e2d600655650a3a465e7f3d6f58bc01b1 100644 (file)
@@ -7,17 +7,18 @@
 #ifndef FIGINSET_H
 #define FIGINSET_H
 
-#include "form1.h"
+#include "figure_form.h"
 #include "LString.h"
 #include "buffer.h"
 #include "LaTeXFeatures.h"
 #include "insets/lyxinset.h"
+#include <sigc++/signal_system.h>
 /* the rest is figure stuff */
 
 struct Figref;
 
 ///
-class InsetFig: public Inset {
+class InsetFig: public Inset, public SigC::Object {
 public:
        ///
        InsetFig(int tmpx, int tmpy, Buffer const &);
@@ -132,6 +133,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 +150,8 @@ private:
        void TempRegenerate();
        /// get sizes from .eps file
        void GetPSSizes();
+       /// Redraw connection.
+       SigC::Connection r_;
 };