MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetDimensions

Method GetDimensions

Source/QuickSpawnMenu.cpp:559–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void QuickSpawnFollower::GetDimensions(float& width, float& height)
560{
561 TheQuickSpawnMenu->GetDimensions(width, height);
562 float scaleFactor = UserPrefs.ui_scale.Get() / gDrawScale;
563 width *= scaleFactor;
564 height *= scaleFactor;
565
566 height -= 10;
567 width -= 10;
568}
569
570void QuickSpawnFollower::UpdateLocation()
571{

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected