mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-29 01:08:49 +00:00
major: initial release
* 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>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user