mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-22 16:34:05 +09:00
labels for inventory side buttons
This commit is contained in:
@@ -21,6 +21,8 @@ class UITemplateCatBar(
|
||||
catIconsMeaning: List<Array<String>>, // sortedBy: catArrangement
|
||||
catIconsLabels: List<() -> String>,
|
||||
|
||||
superLabels: List<() -> String> = listOf({ "" }, { "" }, { "" }),
|
||||
|
||||
) : UITemplate(parent) {
|
||||
|
||||
val catBar = UIItemCatBar(
|
||||
@@ -30,7 +32,7 @@ class UITemplateCatBar(
|
||||
UIInventoryFull.internalWidth,
|
||||
UIInventoryFull.catBarWidth,
|
||||
showSidebuttons,
|
||||
catIcons, catArrangement, catIconsMeaning, catIconsLabels
|
||||
catIcons, catArrangement, catIconsMeaning, catIconsLabels, superLabels
|
||||
)
|
||||
|
||||
override fun getUIitems(): List<UIItem> {
|
||||
|
||||
Reference in New Issue
Block a user