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

Method Init

Source/LocationZoomer.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void LocationZoomer::Init()
38{
39 mHome.mZoomLevel = UserPrefs.zoom.Get();
40 mHome.mOffset.set(0, 0);
41 mStart = mHome;
42 mDestination = mHome;
43 mCurrentProgress = 1;
44 gDrawScale = mHome.mZoomLevel;
45}
46
47void LocationZoomer::Update()
48{

Callers

nothing calls this directly

Calls 2

GetMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected