stuff-from-scratch/test/windows/TestWaylandWindow.cpp
2022-05-18 08:42:44 +01:00

23 lines
362 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.createSurface();
window_interface.run();
window_interface.disconnect();
return 0;
}