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

Method getTrackPlaceLength

MyGUIEngine/src/MyGUI_ScrollBar.cpp:658–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656 }
657
658 int ScrollBar::getTrackPlaceLength() const
659 {
660 if (mWidgetTrack != nullptr)
661 {
662 if (mVerticalAlignment)
663 return mWidgetTrack->getParent()->getHeight();
664 return mWidgetTrack->getParent()->getWidth();
665 }
666 return 0;
667 }
668
669 void ScrollBar::setVerticalAlignment(bool _value)
670 {

Callers

nothing calls this directly

Calls 3

getHeightMethod · 0.45
getParentMethod · 0.45
getWidthMethod · 0.45

Tested by

no test coverage detected