inventory screen doesn't need two char info display

This commit is contained in:
minjaesong
2019-02-06 11:05:58 +09:00
parent 88a1beb271
commit 36c6cb78ba
7 changed files with 31 additions and 32 deletions

View File

@@ -19,7 +19,7 @@ class UIItemTextButtonList(
override var posX: Int,
override var posY: Int,
override var width: Int,
override var height: Int,
override var height: Int = DEFAULT_LINE_HEIGHT * labelsList.size,
val readFromLang: Boolean = false,
val defaultSelection: Int? = null, // negative: INVALID, positive: valid, null: no select
@@ -47,6 +47,7 @@ class UIItemTextButtonList(
companion object {
val DEFAULT_BACKGROUNDCOL = Color(0x242424_80)
val DEFAULT_LINE_HEIGHT = 36
}
// deal with the moving position