Add MtU and complexity sorting buttons

This commit is contained in:
DBotThePony 2023-03-13 10:28:31 +07:00
parent 5626ca22d8
commit 0b64ffafaa
Signed by: DBot
GPG Key ID: DCC23B5715498507
4 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,8 @@ object Widgets18 {
val SORT_COUNT = storageGrid.next()
val SORT_MODID = storageGrid.next()
val SORT_ID = storageGrid.next()
val SORT_MATTER_VALUE = storageGrid.next()
val SORT_MATTER_COMPLEXITY = storageGrid.next()
private val miscGrid = WidgetLocation.MISC_18.grid(4, 4)

View File

@ -67,6 +67,9 @@ class MatterPanelScreen(
it.add(ItemSorter.NAME, skinElement = Widgets18.SORT_ALPHABET, tooltip = ItemSorter.NAME.title)
it.add(ItemSorter.ID, skinElement = Widgets18.SORT_ID, tooltip = ItemSorter.ID.title)
it.add(ItemSorter.MOD, skinElement = Widgets18.SORT_MODID, tooltip = ItemSorter.MOD.title)
it.add(ItemSorter.MATTER_VALUE, skinElement = Widgets18.SORT_MATTER_VALUE, tooltip = ItemSorter.MATTER_VALUE.title)
it.add(ItemSorter.MATTER_COMPLEXITY, skinElement = Widgets18.SORT_MATTER_COMPLEXITY, tooltip = ItemSorter.MATTER_COMPLEXITY.title)
it.finish()
}
val scrollBar = DiscreteScrollBarPanel(this, frame, {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 B

After

Width:  |  Height:  |  Size: 847 B