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

Function main

tests/Window.cpp:30–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// --------------------------------------------------------------------------------------------------------------------
29
30int main()
31{
32 using DGL_NAMESPACE::Application;
33 using DGL_NAMESPACE::ApplicationQuitter;
34 using DGL_NAMESPACE::Window;
35
36 // creating and destroying simple window
37 {
38 Application app(true);
39 Window win(app);
40 }
41
42 // creating and destroying simple window, with a delay
43 {
44 Application app(true);
45 ApplicationQuitter appQuitter(app);
46 Window win(app);
47 app.exec();
48 }
49
50 // showing and closing simple window, MUST be visible on screen
51 {
52 Application app(true);
53 ApplicationQuitter appQuitter(app);
54 Window win(app);
55 win.show();
56 app.exec();
57 }
58
59 // TODO
60
61 return 0;
62}
63
64// --------------------------------------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

execMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected