- if (background_color_ == LColor::inherit) {
- if (owner())
- return owner()->backgroundColor();
- else
- return LColor::background;
- } else
- return LColor::color(background_color_);
-}
-
-
-int InsetOld::id() const
-{
- return id_;
-}
-
-void InsetOld::id(int id_arg)
-{
- id_ = id_arg;
-}
-
-void InsetOld::setFont(BufferView *, LyXFont const &, bool, bool)
-{}
-
-
-bool InsetOld::forceDefaultParagraphs(InsetOld const * inset) const
-{
- if (owner())
- return owner()->forceDefaultParagraphs(inset);
- return false;
-}
-
-int InsetOld::latexTextWidth(BufferView * bv) const
-{
- if (owner())
- return (owner()->latexTextWidth(bv));
- return bv->workWidth();