STARK: Initiate rework of the user interface code
A base class, Window, will be used to ensure all the UI containers work in a similar way.
This commit is contained in:
parent
4f52010182
commit
273a358ad3
36 changed files with 807 additions and 662 deletions
|
@ -110,7 +110,7 @@ Common::Error StarkEngine::run() {
|
|||
_scene = new Scene(_gfx);
|
||||
_dialogPlayer = new DialogPlayer();
|
||||
_cursor = new Cursor(_gfx);
|
||||
_userInterface = new UserInterface(_gfx, _cursor);
|
||||
_userInterface = new UserInterface();
|
||||
_ui = new UI(_gfx, _cursor);
|
||||
|
||||
// Setup the public services
|
||||
|
@ -131,7 +131,6 @@ Common::Error StarkEngine::run() {
|
|||
_staticProvider->init();
|
||||
_cursor->init();
|
||||
_dialogPlayer->init();
|
||||
_userInterface->init();
|
||||
// Initialize the UI
|
||||
_ui->init();
|
||||
|
||||
|
@ -199,7 +198,6 @@ void StarkEngine::mainLoop() {
|
|||
_resourceProvider->performLocationChange();
|
||||
}
|
||||
|
||||
_userInterface->update();
|
||||
updateDisplayScene();
|
||||
g_system->delayMillis(50);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue