Some wayland cleanup
This commit is contained in:
parent
7ce29ce8ae
commit
25b1966c0e
10 changed files with 267 additions and 252 deletions
|
@ -1,23 +1,24 @@
|
|||
#include "WaylandWindowInterface.h"
|
||||
|
||||
#include "Window.h"
|
||||
|
||||
|
||||
#include "FileLogger.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
WaylandWindowInterface window_interface;
|
||||
window_interface.connect();
|
||||
FileLogger::GetInstance().Open();
|
||||
|
||||
auto window = mt::Window::Create();
|
||||
window->SetSize(800, 600);
|
||||
WaylandWindowInterface window_interface;
|
||||
window_interface.connect();
|
||||
|
||||
window_interface.addWindow(window.get());
|
||||
auto window = mt::Window::Create();
|
||||
window->SetSize(800, 600);
|
||||
|
||||
window_interface.mapWindow(window.get());
|
||||
window_interface.addWindow(window.get());
|
||||
|
||||
window_interface.run();
|
||||
window_interface.mapWindow(window.get());
|
||||
|
||||
window_interface.disconnect();
|
||||
return 0;
|
||||
window_interface.run();
|
||||
|
||||
window_interface.disconnect();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue