mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
finally working again: create new character
todo: make delete character work
This commit is contained in:
@@ -28,6 +28,8 @@ object Toolkit : Disposable {
|
||||
val COL_SELECTED = Color(0x00f8ff_ff) // cyan, HIGHLY SATURATED
|
||||
val COL_MOUSE_UP = Color(0xfff066_ff.toInt()) // yellow (all yellows are of low saturation according to the colour science)
|
||||
val COL_DISABLED = Color(0xaaaaaaff.toInt())
|
||||
val COL_RED = Color(0xff8888ff.toInt())
|
||||
val COL_REDD = Color(0xff4448ff.toInt())
|
||||
|
||||
/*
|
||||
Try this for alt colour set:
|
||||
|
||||
@@ -32,7 +32,7 @@ class UIAutosaveNotifier : UICanvas() {
|
||||
private var errored = false
|
||||
|
||||
private var normalCol = Color.WHITE
|
||||
private var errorCol = Color(0xFF8888FF.toInt())
|
||||
private var errorCol = Toolkit.Theme.COL_RED
|
||||
|
||||
override fun updateUI(delta: Float) {
|
||||
spinnerTimer += delta
|
||||
|
||||
@@ -80,7 +80,7 @@ class UIItemTextLineInput(
|
||||
|
||||
companion object {
|
||||
val TEXTINPUT_COL_TEXT = Color.WHITE
|
||||
val TEXTINPUT_COL_TEXT_NOMORE = Color(0xFF8888FF.toInt())
|
||||
val TEXTINPUT_COL_TEXT_NOMORE = Toolkit.Theme.COL_RED
|
||||
val TEXTINPUT_COL_TEXT_DISABLED = Toolkit.Theme.COL_DISABLED
|
||||
val TEXTINPUT_COL_BACKGROUND = Toolkit.Theme.COL_CELL_FILL
|
||||
val TEXTINPUT_COL_BACKGROUND2 = Toolkit.Theme.COL_CELL_FILL.cpy()
|
||||
@@ -155,7 +155,7 @@ class UIItemTextLineInput(
|
||||
|
||||
private var textColours = arrayOf(
|
||||
Color.WHITE,
|
||||
Color(0xff8888ff.toInt()),
|
||||
Toolkit.Theme.COL_RED,
|
||||
Color(0x888888ff.toInt())
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user