MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / Scene

Method Scene

src/override/Scene.cpp:116–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116Scene::Scene() {
117 internal = new Internal;
118
119 rackScroll = new RackScrollWidget;
120 addChild(rackScroll);
121
122 rack = rackScroll->rackWidget;
123
124 menuBar = createMenuBar();
125 addChild(menuBar);
126
127 browser = browserCreate();
128 browser->hide();
129 addChild(browser);
130
131 if (isStandalone() || isMini())
132 return;
133
134 internal->resizeHandle = new ResizeHandle;
135 internal->resizeHandle->box.size = math::Vec(16, 16);
136 addChild(internal->resizeHandle);
137}
138
139
140Scene::~Scene() {

Callers

nothing calls this directly

Calls 5

VecClass · 0.85
createMenuBarFunction · 0.70
isStandaloneFunction · 0.50
isMiniFunction · 0.50
hideMethod · 0.45

Tested by

no test coverage detected