mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-29 01:01:08 +00:00
55ace147bc
* initial development * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * pokemon * pokemon * pokemon * pokemon * pokemon * pokemon * improvements * improvements * ci/cd * ci/cd * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements --------- Co-authored-by: sdine <sdine@sdine.com>
29 lines
587 B
C++
29 lines
587 B
C++
#pragma once
|
|
|
|
// SettingsDialog: edits the live Configuration via ConfigService.
|
|
|
|
#include "ccm/services/ConfigService.hpp"
|
|
|
|
#include <wx/choice.h>
|
|
#include <wx/dialog.h>
|
|
#include <wx/textctrl.h>
|
|
|
|
namespace ccm::ui {
|
|
|
|
class SettingsDialog : public wxDialog {
|
|
public:
|
|
SettingsDialog(wxWindow* parent, ConfigService& config);
|
|
|
|
private:
|
|
void onBrowse(wxCommandEvent&);
|
|
void onOk(wxCommandEvent&);
|
|
|
|
ConfigService& config_;
|
|
|
|
wxTextCtrl* dataDirCtrl_{nullptr};
|
|
wxChoice* defaultGameChoice_{nullptr};
|
|
wxChoice* themeChoice_{nullptr};
|
|
};
|
|
|
|
} // namespace ccm::ui
|