MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / MakeWindow

Function MakeWindow

tests/test-macro-condition-window.cpp:18–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// ---------------------------------------------------------------------------
17
18static WindowInfo MakeWindow(const std::string &title, bool focused = false,
19 bool fullscreen = false, bool maximized = false)
20{
21 WindowInfo info;
22 info.title = title;
23 info.focused = focused;
24 info.fullscreen = fullscreen;
25 info.maximized = maximized;
26 info.x = 0;
27 info.y = 0;
28 info.width = 1920;
29 info.height = 1080;
30 return info;
31}
32
33// ---------------------------------------------------------------------------
34// Title matching

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected