Skip to content

AStubWindowManager#

Window manager used to stub the default window manager.

Header:#include <AUI/Util/AStubWindowManager.h>
CMake:aui_link(my_target PUBLIC aui::views)

Detailed Description#

Useful for command-line only use-cases where the actual windows are not viable (i.e. tests). Rendering is switched to software when.

window = _new<AWindow>("");
window->show();
...
auto screenshot = AStubWindowManager::makeScreenshot(window);

Public Types#


Config#

struct AStubWindowManager::Config

Stub window manager configuration to narrow ui test/benchmark scope.

_unique<IRenderer> renderer
Renderer used for window manager.