#include <config.h>
#include "inset.h"
-#include "updatableinset.h"
#include "BufferView.h"
#include "debug.h"
InsetOld::InsetOld()
- : scx(0),
- //background_color_(LColor::inherit)
+ : //background_color_(LColor::inherit)
background_color_(LColor::background)
{}
InsetOld::InsetOld(InsetOld const & in)
- : InsetBase(in), scx(0), name_(in.name_),
+ : InsetBase(in), name_(in.name_),
background_color_(in.background_color_)
{}
}
-int InsetOld::scroll(bool) const
-{
- return scx;
-}
-
-
void InsetOld::setPosCache(PainterInfo const &, int x, int y) const
{
//lyxerr << "InsetOld:: position cache to " << x << " " << y << std::endl;
- theCoords.insets_.add(this, x, y);
+ theCoords.insets().add(this, x, y);
}