Esempio n. 1
0
TBox::TBox(Score* score)
   : VBox(score)
      {
      setBoxHeight(Spatium(0));
      Text* s = new Text(score);
      s->setTextStyle(score->textStyle(TEXT_STYLE_FRAME));
      add(s);
      }
Esempio n. 2
0
TBox::TBox(Score* score)
   : VBox(score)
      {
      setBoxHeight(Spatium(1));
      _text  = new Text(score, Tid::FRAME);
      _text->setLayoutToParentWidth(true);
      _text->setParent(this);
      }
Esempio n. 3
0
TBox::TBox(Score* score)
   : VBox(score)
      {
      setBoxHeight(Spatium(1));
      _text  = new Text(score);
      _text->setParent(this);
      _text->setTextStyleType(TextStyleType::FRAME);
      }
Esempio n. 4
0
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);
}
Esempio n. 5
0
void VBox::setGrip(int, const QPointF& pt)
      {
      setBoxHeight(Spatium(pt.y()));
      layout();
      }
Esempio n. 6
0
VBox::VBox(Score* score)
   : Box(score)
      {
      setBoxHeight(Spatium(10.0));
      }