1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-27 20:34:03 +00:00
UltimateTrainingModpack/training_mod_tui/tests
asimon-1 65f87df1e0
Weighted Probability Menu Selections + TUI Backend Redesign (#655)
* Add replacement training_mod_tui crate

* Begin work on converting over to byteflags

* Allow StatefulTable.iter_mut()

* Additional merge work

* Fixing more compile errors from the merge

* Replace training_mod_tui with training_mod_tui_2, update byteflags dependency for random selection

* Fix button_config, hero buffs, caps issues. Move button logic into App

* Restore some functions that I cut too agressively

* Move to_vec into byteflags crate

* Fix src/training/ui

* Set `_` match arms on byteflags to `unreachable!()`

* Fix final few compiler errors

* Run formatter

* Reconsider whether unreachable parts are actually unreachable

* Adjust logging and remove dead code

* Fix some menu bugs

* Adjust icon sizes

* Separate checkmark from is_single_option

* Allow fast increment / decrement of slider handles with up/down

* Allow resetting current menu

* Change button behavior: `R/Z` now resets either the whole menu or the selected submenu depending on app.page, and `Y` now clears the current toggle so you don't have to press A six times. Only show keyhelp for `Y` if its relevant.

* Remove unneeded command line interface

* Take care of some minor nomenclature TODO's

* Increase stack size for menu::load_from_file() to avoid crashes

* Implement confirmation page before restoring from defaults

* Run rustfmt

* Fix warnings
2023-12-02 09:02:43 -08:00
..
test_stateful_list.rs Weighted Probability Menu Selections + TUI Backend Redesign (#655) 2023-12-02 09:02:43 -08:00
test_stateful_slider.rs Weighted Probability Menu Selections + TUI Backend Redesign (#655) 2023-12-02 09:02:43 -08:00
test_stateful_table.rs Weighted Probability Menu Selections + TUI Backend Redesign (#655) 2023-12-02 09:02:43 -08:00
test_submenu.rs Weighted Probability Menu Selections + TUI Backend Redesign (#655) 2023-12-02 09:02:43 -08:00
test_toggle.rs Weighted Probability Menu Selections + TUI Backend Redesign (#655) 2023-12-02 09:02:43 -08:00