blob: c4dacfa7d4d57b29410ccf2e51125e7bccfff3ff (
plain) (
tree)
|
|
#ifndef SETTINGS_DIALOG_H_D8635719
#define SETTINGS_DIALOG_H_D8635719
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/radiobox.h>
#include "tracker_config.h"
class SettingsDialog : public wxDialog {
public:
SettingsDialog();
bool GetShouldCheckForUpdates() const {
return should_check_for_updates_box_->GetValue();
}
bool GetHybridAreas() const { return hybrid_areas_box_->GetValue(); }
TrackerConfig::VisiblePanels GetVisiblePanels() const {
return static_cast<TrackerConfig::VisiblePanels>(
visible_panels_box_->GetSelection());
}
bool GetTrackPosition() const { return track_position_box_->GetValue(); }
private:
wxCheckBox* should_check_for_updates_box_;
wxCheckBox* hybrid_areas_box_;
wxRadioBox* visible_panels_box_;
wxCheckBox* track_position_box_;
};
#endif /* end of include guard: SETTINGS_DIALOG_H_D8635719 */
|