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

Method getTrackSize

MyGUIEngine/src/MyGUI_ScrollBar.cpp:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418 }
419
420 int ScrollBar::getTrackSize() const
421 {
422 if (mWidgetTrack != nullptr)
423 {
424 if (mVerticalAlignment)
425 return mWidgetTrack->getHeight();
426 return mWidgetTrack->getWidth();
427 }
428 return 1;
429 }
430
431 int ScrollBar::getLineSize() const
432 {

Calls 2

getHeightMethod · 0.45
getWidthMethod · 0.45

Tested by

no test coverage detected