Analytics: Implement UI.

* Opt-in popup on first start.
* Checkbox and button in the main config dialog.
This commit is contained in:
Pierre Bourdon
2016-06-18 03:24:06 +02:00
parent 121f270367
commit 63dab254e0
3 changed files with 57 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include <wx/arrstr.h>
#include <wx/panel.h>
class wxButton;
class wxCheckBox;
class wxChoice;
class wxRadioBox;
@ -34,6 +35,8 @@ private:
void OnForceNTSCJCheckBoxChanged(wxCommandEvent&);
void OnThrottlerChoiceChanged(wxCommandEvent&);
void OnCPUEngineRadioBoxChanged(wxCommandEvent&);
void OnAnalyticsCheckBoxChanged(wxCommandEvent&);
void OnAnalyticsNewIdButtonClick(wxCommandEvent&);
wxArrayString m_throttler_array_string;
wxArrayString m_cpu_engine_array_string;
@ -43,6 +46,9 @@ private:
wxCheckBox* m_cheats_checkbox;
wxCheckBox* m_force_ntscj_checkbox;
wxCheckBox* m_analytics_checkbox;
wxButton* m_analytics_new_id;
wxChoice* m_throttler_choice;
wxRadioBox* m_cpu_engine_radiobox;