feat: apply filtering to game list, correct selections after filtering

Will need to propogate these filtering options to the other places these things are present, there's a dedicated variant for just the stylesheet dialog window and also the Style tab.
This commit is contained in:
Brendan Hagan
2022-06-19 23:38:38 -04:00
parent 52f1724449
commit 766a99fbc4
5 changed files with 55 additions and 17 deletions
+8 -3
View File
@@ -35,8 +35,12 @@ private:
// gui items
PackageList* game_list, *stylesheet_list;
FilterCtrl* filter;
String filter_value;
FilterCtrl* game_filter;
String game_filter_value;
FilterCtrl* stylesheet_filter;
String stylesheet_filter_value;
// --------------------------------------------------- : events
@@ -44,7 +48,8 @@ private:
void onStyleSheetSelect (wxCommandEvent&);
void onStyleSheetActivate(wxCommandEvent&);
void onFilterUpdate(wxCommandEvent&);
void onStylesheetFilterUpdate(wxCommandEvent&);
void onGameFilterUpdate(wxCommandEvent&);
virtual void OnOK(wxCommandEvent&);