2022-05-18 07:42:44 +00:00
|
|
|
#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());
|
|
|
|
|
2022-07-18 07:59:30 +00:00
|
|
|
window_interface.mapWindow(window.get());
|
2022-05-18 07:42:44 +00:00
|
|
|
|
|
|
|
window_interface.run();
|
|
|
|
|
|
|
|
window_interface.disconnect();
|
|
|
|
return 0;
|
|
|
|
}
|