From 4adfe42a300a597cf8e7036cd189d197b08a7f01 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 17 Nov 2023 11:43:13 -0500 Subject: Show hunt panels option --- src/settings_dialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/settings_dialog.cpp') diff --git a/src/settings_dialog.cpp b/src/settings_dialog.cpp index 58e5988..0321b5a 100644 --- a/src/settings_dialog.cpp +++ b/src/settings_dialog.cpp @@ -8,10 +8,12 @@ SettingsDialog::SettingsDialog() : wxDialog(nullptr, wxID_ANY, "Settings") { hybrid_areas_box_ = new wxCheckBox( this, wxID_ANY, "Use two colors to show that an area has partial availability"); + show_hunt_panels_box_ = new wxCheckBox(this, wxID_ANY, "Show hunt panels"); should_check_for_updates_box_->SetValue( GetTrackerConfig().should_check_for_updates); hybrid_areas_box_->SetValue(GetTrackerConfig().hybrid_areas); + show_hunt_panels_box_->SetValue(GetTrackerConfig().show_hunt_panels); wxBoxSizer* form_sizer = new wxBoxSizer(wxVERTICAL); @@ -21,6 +23,9 @@ SettingsDialog::SettingsDialog() : wxDialog(nullptr, wxID_ANY, "Settings") { form_sizer->Add(hybrid_areas_box_, wxSizerFlags().HorzBorder()); form_sizer->AddSpacer(2); + form_sizer->Add(show_hunt_panels_box_, wxSizerFlags().HorzBorder()); + form_sizer->AddSpacer(2); + form_sizer->Add(CreateButtonSizer(wxOK | wxCANCEL), wxSizerFlags().Center()); SetSizerAndFit(form_sizer); -- cgit 1.4.1