-Inset::Inset(Inset const & in, bool same_id)
- : InsetBase(),
- top_x(0), top_baseline(0), scx(0), owner_(0),
- name_(in.name_), background_color_(in.background_color_)
-{
- if (same_id)
- id_ = in.id();
- else
- id_ = inset_id++;
-}
-
-
-bool Inset::directWrite() const
-{
- return false;
-}
-
-
-Inset::EDITABLE Inset::editable() const
-{
- return NOT_EDITABLE;
-}
-
-
-void Inset::edit(BufferView *, int, int, mouse_button::state)
+InsetOld::InsetOld(InsetOld const & in)
+ : InsetBase(in), name_(in.name_),
+ background_color_(in.background_color_)