Clean up fontsmanager
This commit is contained in:
parent
076e32b1d6
commit
64f0b3e77a
26 changed files with 111 additions and 89 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "TestUiApplication.h"
|
||||
|
||||
#include "MainApplication.h"
|
||||
#include "DesktopManager.h"
|
||||
|
||||
TestUiApplication::TestUiApplication(std::unique_ptr<CommandLineArgs> args, std::unique_ptr<MainApplication> mainApp)
|
||||
: GuiApplication(std::move(args), std::move(mainApp))
|
||||
|
@ -11,4 +12,9 @@ TestUiApplication::TestUiApplication(std::unique_ptr<CommandLineArgs> args, std:
|
|||
DesktopManager* TestUiApplication::getDesktopManager() const
|
||||
{
|
||||
return mDesktopManager.get();
|
||||
}
|
||||
|
||||
Scene* TestUiApplication::getMainWindowScene() const
|
||||
{
|
||||
return mDesktopManager->getWindowManager()->getMainWindow()->getScene();
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "GuiApplication.h"
|
||||
#include "Scene.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -10,4 +11,6 @@ public:
|
|||
TestUiApplication(std::unique_ptr<CommandLineArgs> args = nullptr, std::unique_ptr<MainApplication> mainApp = nullptr);
|
||||
|
||||
DesktopManager* getDesktopManager() const;
|
||||
|
||||
Scene* getMainWindowScene() const;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue