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); }
HBox::HBox(Score* score) : Box(score) { setBoxWidth(Spatium(5.0)); }