From a9bc708c7eeeada4c59952ce71aa071175f8f27d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 17 Nov 2023 10:11:41 -0500 Subject: Added hybrid areas and settings dialog --- src/settings_dialog.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/settings_dialog.h (limited to 'src/settings_dialog.h') diff --git a/src/settings_dialog.h b/src/settings_dialog.h new file mode 100644 index 0000000..150a7a8 --- /dev/null +++ b/src/settings_dialog.h @@ -0,0 +1,24 @@ +#ifndef SETTINGS_DIALOG_H_D8635719 +#define SETTINGS_DIALOG_H_D8635719 + +#include + +#ifndef WX_PRECOMP +#include +#endif + +class SettingsDialog : public wxDialog { + public: + SettingsDialog(); + + bool GetShouldCheckForUpdates() const { + return should_check_for_updates_box_->GetValue(); + } + bool GetHybridAreas() const { return hybrid_areas_box_->GetValue(); } + + private: + wxCheckBox* should_check_for_updates_box_; + wxCheckBox* hybrid_areas_box_; +}; + +#endif /* end of include guard: SETTINGS_DIALOG_H_D8635719 */ -- cgit 1.4.1