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

Function setupButton

examples/FileHandling/FileHandlingUI.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36// -----------------------------------------------------------------------------------------------------------
37
38inline void setupButton(Button& btn, const int y)
39{
40 btn.setAbsolutePos(5, y);
41 btn.setLabel("Open...");
42 btn.setSize(100, 30);
43}
44
45class FileHandlingExampleUI : public UI,
46 public ButtonEventHandler::Callback

Callers 1

FileHandlingExampleUIFunction · 0.85

Calls 3

setLabelMethod · 0.80
setAbsolutePosMethod · 0.45
setSizeMethod · 0.45

Tested by

no test coverage detected