TBox::TBox(Score* score) : VBox(score) { setBoxHeight(Spatium(0)); Text* s = new Text(score); s->setTextStyle(score->textStyle(TEXT_STYLE_FRAME)); add(s); }
TBox::TBox(Score* score) : VBox(score) { setBoxHeight(Spatium(1)); _text = new Text(score, Tid::FRAME); _text->setLayoutToParentWidth(true); _text->setParent(this); }
TBox::TBox(Score* score) : VBox(score) { setBoxHeight(Spatium(1)); _text = new Text(score); _text->setParent(this); _text->setTextStyleType(TextStyleType::FRAME); }
Box::Box(Renderer *renderer, int x, int y, int w, int h, D3DCOLOR color, bool show) : RenderBase(renderer), m_bShown(false) { setPos(x, y); setBoxWidth(w); setBoxHeight(h); setBoxColor(color); setShown(show); setBoxColor(color); setBorderWidth(0); setBorderShown(false); }
void VBox::setGrip(int, const QPointF& pt) { setBoxHeight(Spatium(pt.y())); layout(); }
VBox::VBox(Score* score) : Box(score) { setBoxHeight(Spatium(10.0)); }