labels for inventory side buttons

This commit is contained in:
minjaesong
2024-03-17 19:51:40 +09:00
parent 7bfff29a79
commit 33671d6e52
6 changed files with 34 additions and 5 deletions

View File

@@ -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> {