Hope your weekend was good, I spent mine deep in the maximizer and the maximizer frame.
View attachment Maximixer_multi-select.patch enhances the maximizer by allowing the user to select checkboxes in the GUI instead of a single filter.
Notes:
Tested GUI and gCLI maximizing with combinations of checkboxes (including none, one, some, and all checkboxes). Checkboxes do not affect gCLI (no changes), do affect GUI.
Changed method signature of maximize to use an EnumMap instead of an Integer for filter, made wrapper function for old signature in case something other than MaximizerFrame calls it.
Moved prefs note from maximizer JTextArea to a tooltip on the filters label.
Did not save checkbox state. It's refreshed every time.
By default, Booze, Food, and Spleen are turned off if you can't use them (e.g. Teetotal) or are full. Can still be turned back on.



View attachment Maximixer_multi-select.patch enhances the maximizer by allowing the user to select checkboxes in the GUI instead of a single filter.
Notes:
Tested GUI and gCLI maximizing with combinations of checkboxes (including none, one, some, and all checkboxes). Checkboxes do not affect gCLI (no changes), do affect GUI.
Changed method signature of maximize to use an EnumMap instead of an Integer for filter, made wrapper function for old signature in case something other than MaximizerFrame calls it.
Moved prefs note from maximizer JTextArea to a tooltip on the filters label.
Did not save checkbox state. It's refreshed every time.
By default, Booze, Food, and Spleen are turned off if you can't use them (e.g. Teetotal) or are full. Can still be turned back on.



Last edited: