Volta::Volta(Score* s) : TextLine(s) { _voltaType = VoltaType::OPEN; setBeginText("1.", s->textStyle(TEXT_STYLE_VOLTA)); setBeginTextPlace(PLACE_BELOW); setContinueTextPlace(PLACE_BELOW); setBeginHook(true); Spatium hook(s->styleS(ST_voltaHook)); setBeginHookHeight(hook); setEndHookHeight(hook); setAnchor(ANCHOR_MEASURE); }
Volta::Volta(Score* s) : TextLine(s) { setLineWidth(Spatium(.18)); setBeginText("1.", TEXT_STYLE_VOLTA); setBeginTextPlace(PLACE_BELOW); setContinueTextPlace(PLACE_BELOW); setBeginHook(true); setBeginHookHeight(Spatium(1.9)); setYoff(-4.0); setEndHookHeight(Spatium(1.9)); setAnchor(ANCHOR_MEASURE); }
Volta::Volta(Score* s) : TextLineBase(s) { setBeginText("1.", TextStyleType::VOLTA); setBeginTextPlace(PlaceText::BELOW); setContinueTextPlace(PlaceText::BELOW); setBeginHook(true); setAnchor(Anchor::MEASURE); resetProperty(P_ID::BEGIN_HOOK_HEIGHT); resetProperty(P_ID::END_HOOK_HEIGHT); resetProperty(P_ID::LINE_WIDTH); resetProperty(P_ID::LINE_STYLE); }
Volta::Volta(Score* s) : TextLine(s) { setBeginText("1.", TextStyleType::VOLTA); setBeginTextPlace(PlaceText::BELOW); setContinueTextPlace(PlaceText::BELOW); setBeginHook(true); Spatium hook(s->styleS(StyleIdx::voltaHook)); setBeginHookHeight(hook); setEndHookHeight(hook); setAnchor(Anchor::MEASURE); setLineWidth(score()->styleS(StyleIdx::voltaLineWidth)); lineWidthStyle = PropertyStyle::STYLED; }
Volta::Volta(Score* s) : TextLine(s) { _voltaType = VoltaType::OPEN; setBeginText("1.", TEXT_STYLE_VOLTA); setBeginTextPlace(PLACE_BELOW); setContinueTextPlace(PLACE_BELOW); setBeginHook(true); Spatium hook(s->styleS(ST_voltaHook)); setBeginHookHeight(hook); setEndHookHeight(hook); setAnchor(ANCHOR_MEASURE); setLineWidth(score()->styleS(ST_voltaLineWidth)); lineWidthStyle = PropertyStyle::STYLED; }