Some interface cleaning#
This commit is contained in:
parent
918c1d3046
commit
c10c5412b9
9 changed files with 72 additions and 39 deletions
|
@ -87,15 +87,15 @@ void GuiApplication::Run()
|
|||
bool useOpenGl = false;
|
||||
XcbInterface window_interface;
|
||||
window_interface.SetUseOpenGl(useOpenGl);
|
||||
window_interface.Initialize(mDesktopManager.get());
|
||||
window_interface.AddWindow(mainWindow, mDesktopManager.get());
|
||||
window_interface.ShowWindow(mainWindow);
|
||||
window_interface.initialize(mDesktopManager.get());
|
||||
window_interface.addWindow(mainWindow, mDesktopManager.get());
|
||||
window_interface.showWindow(mainWindow);
|
||||
if (useOpenGl)
|
||||
{
|
||||
window_interface.CreateOpenGlDrawable(mainWindow);
|
||||
}
|
||||
window_interface.Loop(mDesktopManager.get());
|
||||
window_interface.ShutDown();
|
||||
window_interface.loop(mDesktopManager.get());
|
||||
window_interface.shutDown();
|
||||
#else
|
||||
mDesktopManager->SetKeyboard(Keyboard::Create());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue