implemented settings window
This commit is contained in:
1 parent
19006fac6c
commit
a24876cf79
7 files changed
+582
-1
No files matched your search
+9
-1
@@ -47,6 +47,7 @@
|
||||
#include "Global.h"
|
||||
#include "Inp.h"
|
||||
#include "Messg.h"
|
||||
#include "Settings.h"
|
||||
#include "StartLayout.h"
|
||||
#include "localplayer/KeyBindings.h"
|
||||
#include "localplayer/Term.h"
|
||||
@@ -393,7 +394,14 @@ void StartDlg::updateInterface()
|
||||
|
||||
void StartDlg::showSettings()
|
||||
{
|
||||
// TODO: Settings.pas (the configuration dialog) isn't ported yet.
|
||||
SettingsDlg settingsDlg(m_languages, this);
|
||||
if (settingsDlg.showModal() == Dpi::ModalResult::Ok) {
|
||||
loadAssets();
|
||||
changePage(m_page); // texts of the (possibly new) language
|
||||
updateInterface();
|
||||
updateMusic();
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
void StartDlg::updateMusic()
|
||||
|
||||
Reference in new issue
Block a user