From 5a52016f92525717f0350767a84d1ae61e085ec5 Mon Sep 17 00:00:00 2001 From: Cyan Date: Sat, 9 Jun 2012 12:20:14 +0000 Subject: [PATCH] * Improved Category filtering. You can now easily hide games on category basis. Click on a category to cycle through possible checkbox states. The "ALL" category can now have 3 different states: [ ] Not checked = Doesn't display all categories (like before) [v] Checked = Displays all categories (like before) [X] Cross = Displays all categories except forbidden categories. The other categories now have 4 different states: [ ] Not checked = Games containing this category are not filtered (like before) [v] Enabled = All games containing this category will be displayed (like before) [X] Forbidden = All games containing this category will NOT be displayed. [+] Required = All games NOT containing this category will NOT be displayed. --- HBC/META.XML | 4 +- source/GUI/gui_checkbox.cpp | 35 ++++++++- source/GUI/gui_checkbox.hpp | 8 ++ source/GUI/gui_checkboxbrowser.cpp | 31 ++++++++ source/GUI/gui_checkboxbrowser.hpp | 8 ++ source/GUI/gui_plus.cpp | 53 +++++++++++++ source/GUI/gui_plus.hpp | 43 +++++++++++ source/prompts/CategorySwitchPrompt.cpp | 98 ++++++++++++++++++++++--- source/prompts/CategorySwitchPrompt.hpp | 11 ++- source/settings/CSettings.cpp | 56 ++++++++++++++ source/settings/CSettings.h | 2 + source/usbloader/GameList.cpp | 68 +++++++++++++++-- 12 files changed, 395 insertions(+), 22 deletions(-) create mode 100644 source/GUI/gui_plus.cpp create mode 100644 source/GUI/gui_plus.hpp diff --git a/HBC/META.XML b/HBC/META.XML index 67f449ea..f906083a 100644 --- a/HBC/META.XML +++ b/HBC/META.XML @@ -2,8 +2,8 @@ USB Loader GX USB Loader GX Team - 3.0 r1188 - 201205191249 + 3.0 r1189 + 201206090828