RemoCons fully working; also fixed my stupidity

This commit is contained in:
minjaesong
2017-07-26 17:03:22 +09:00
parent 86d3a4a08d
commit 65bc67710c
18 changed files with 1011 additions and 32 deletions

View File

@@ -33,6 +33,7 @@ class UITitleRemoConRoot : UICanvas() {
private val menubar = UIItemTextButtonList(
this,
menuLabels,
0, menubarOffY,
this.width, this.height,
textAreaWidth = this.width,
readFromLang = true,
@@ -51,8 +52,8 @@ class UITitleRemoConRoot : UICanvas() {
init {
remoConLanguage.setPosition(0, menubarOffY)
remoConCredits.setPosition(0, menubarOffY)
remoConLanguage.setPosition(0, 0)
remoConCredits.setPosition(0, 0)
@@ -62,10 +63,10 @@ class UITitleRemoConRoot : UICanvas() {
////////////////////////////
uiItems.add(menubar)
// attach listeners
menubar.buttons[menuLabels.indexOf("MENU_LABEL_LANGUAGE")].clickOnceListener = { _, _, _ ->
this.setAsClose()