Esempio n. 1
0
InsetCaption::InsetCaption(Buffer * buf, string const & type)
    : InsetText(buf, InsetText::PlainLayout), type_(type)
{
	setAutoBreakRows(true);
	setDrawFrame(true);
	setFrameColor(Color_collapsableframe);
}
Esempio n. 2
0
InsetCaption::InsetCaption(Buffer * buf, string const & type)
    : InsetText(buf, InsetText::PlainLayout),
      labelwidth_(0), is_subfloat_(false), type_(type)
{
	setDrawFrame(true);
	setFrameColor(Color_collapsibleframe);
}
Esempio n. 3
0
InsetPreview::InsetPreview(Buffer * buf) 
	: InsetText(buf),
	  preview_(new RenderPreview(this)), use_preview_(true)
{
	setDrawFrame(true);
	setFrameColor(Color_previewframe);
}