about summary refs log tree commit diff stats
path: root/data/maps/the_repetitive/rooms
Commit message (Expand)AuthorAgeFilesLines
* Changed how door location names are formattedStar Rauchenberger2025-08-3010-10/+0
* [Data] Made proxies with the same answer as the panel explicitStar Rauchenberger2025-08-301-1/+1
* Converted puzzle symbols to an enumStar Rauchenberger2025-08-207-99/+99
* Added the_repetitiveStar Rauchenberger2025-08-1810-0/+698
0:11:41 -0500 Added hybrid areas and settings dialog' href='/lingo-ap-tracker/commit/src/settings_dialog.cpp?h=v0.11.2&id=a9bc708c7eeeada4c59952ce71aa071175f8f27d'>a9bc708 ^
4adfe42 ^


a9bc708 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34









                                                                            
                                                                             



                                                               
                                                                       








                                                                              


                                                                      





                                                                               
#include "settings_dialog.h"

#include "tracker_config.h"

SettingsDialog::SettingsDialog() : wxDialog(nullptr, wxID_ANY, "Settings") {
  should_check_for_updates_box_ = new wxCheckBox(
      this, wxID_ANY, "Check for updates when the tracker opens");
  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);

  form_sizer->Add(should_check_for_updates_box_, wxSizerFlags().HorzBorder());
  form_sizer->AddSpacer(2);

  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);

  Center();
}