MCPcopy Create free account
hub / github.com/MyGUI/mygui / setProgressStartPoint

Method setProgressStartPoint

MyGUIEngine/src/MyGUI_BackwardCompatibility.cpp:469–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467
468
469 void MemberObsolete<ProgressBar>::setProgressStartPoint(Align _value)
470 {
471 if (_value == Align::Right)
472 static_cast<ProgressBar*>(this)->setFlowDirection(FlowDirection::RightToLeft);
473 else if (_value == Align::Top)
474 static_cast<ProgressBar*>(this)->setFlowDirection(FlowDirection::TopToBottom);
475 else if (_value == Align::Bottom)
476 static_cast<ProgressBar*>(this)->setFlowDirection(FlowDirection::BottomToTop);
477 else
478 static_cast<ProgressBar*>(this)->setFlowDirection(FlowDirection::LeftToRight);
479 }
480
481 Align MemberObsolete<ProgressBar>::getProgressStartPoint() const
482 {

Callers

nothing calls this directly

Calls 1

setFlowDirectionMethod · 0.45

Tested by

no test coverage detected