mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[PR #84] Refactor of ComboBox underlying types #957
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/SabreTools/MPF/pull/84
State: closed
Merged: Yes
This PR is aimed to solve how ComboBox were populated. The old approach used tuples to just wrap together values but without any semantic.
This has been refactored:
KnownSystemCategoryenumKnownSystemspecial marker values to splitKnownSystemsinto categoriesKnownSystemComboBoxItemwhich can hold aKnownSystemor aKnownSystemCategoryComboBoxbindings to use this new approachDriveclass to store letter, volume label andisFloppyflagComboBoxto use this new objectDumpEnvironmentto useDriveinstead that separated attributesOrderedDictionary(not needed anymore and hopefully we won't need it again)DICUI is now 100%
KeyValuePair/Tuplefree! :)