MCPcopy Create free account
hub / github.com/DISTRHO/DPF / init

Function init

tests/widgets/ExampleRectanglesWidget.hpp:41–55  ·  view source on GitHub ↗

SubWidget

Source from the content-addressed store, hash-verified

39
40 // SubWidget
41 explicit ExampleRectanglesWidget(Widget* const parent);
42
43 // TopLevelWidget
44 explicit ExampleRectanglesWidget(Window& windowToMapTo);
45
46 // StandaloneWindow
47 explicit ExampleRectanglesWidget(Application& app);
48
49 void init()
50 {
51 BaseWidget::setSize(300, 300);
52
53 for (int i=0; i<9; ++i)
54 clicked[i] = false;
55 }
56
57protected:
58 void onDisplay() override

Callers 5

PrivateDataFunction · 0.85
assignFromFunction · 0.85
SubWidgetFunction · 0.85
ExampleImagesWidgetMethod · 0.85

Calls 1

setSizeFunction · 0.50

Tested by

no test coverage detected