#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 &);
///
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;
void TempRegenerate();
/// get sizes from .eps file
void GetPSSizes();
+ /// Redraw connection.
+ SigC::Connection r_;
};