stuff-from-scratch/test/windows/TestWaylandWindow.cpp
2022-07-18 08:59:30 +01:00

23 lines
370 B
C++

#include "WaylandWindowInterface.h"
#include "Window.h"
int main()
{
WaylandWindowInterface window_interface;
window_interface.connect();
auto window = mt::Window::Create();
window->SetSize(800, 600);
window_interface.addWindow(window.get());
window_interface.mapWindow(window.get());
window_interface.run();
window_interface.disconnect();
return 0;
}