-Inset::Inset(Inset const & in)
- : InsetBase(),
- top_x(0), top_baseline(0), scx(0), owner_(0),
- name_(in.name_), background_color_(in.background_color_)
-{
- id_ = inset_id++;
-}
-
-
-bool Inset::directWrite() const
-{
- return false;
-}
-
-
-Inset::EDITABLE Inset::editable() const
-{
- return NOT_EDITABLE;
-}
-
-
-bool Inset::autoDelete() const
-{
- return false;
-}
-
-
-#if 0
-LyXFont const Inset::convertFont(LyXFont const & font) const
-{
-#if 1
- return font;
-#else
- return LyXFont(font);
-#endif
-}
-#endif
-
-
-string const Inset::editMessage() const
-{
- return _("Opened inset");
-}
-
-
-LyXText * Inset::getLyXText(BufferView const * bv, bool /*recursive*/) const
-{
- if (owner())
- return owner()->getLyXText(bv, false);
- else
- return bv->text;
-}
+InsetOld::InsetOld(InsetOld const & in)
+ : InsetBase(in), name_(in.name_),
+ background_color_(in.background_color_)
+{}