class InsetCollapsable : public InsetText {
public:
///
- InsetCollapsable(Buffer const &, InsetText::UsePlain = InsetText::PlainLayout);
+ InsetCollapsable(Buffer *, InsetText::UsePlain = InsetText::PlainLayout);
///
InsetCollapsable(InsetCollapsable const & rhs);
///
///
bool setMouseHover(bool mouse_hover);
///
- ColorCode backgroundColor() const { return getLayout().bgcolor(); }
+ ColorCode backgroundColor(PainterInfo const &) const
+ { return getLayout().bgcolor(); }
///
ColorCode labelColor() const { return getLayout().labelfont().color(); }
///
virtual bool usePlainLayout() const { return true; }
///
virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
+ ///
+ docstring floatName(std::string const & type) const;
protected:
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
Inset * editXY(Cursor & cur, int x, int y);
///
- docstring floatName(std::string const & type) const;
- ///
mutable CollapseStatus status_;
private:
///