mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 10:34:06 +09:00
renaming Toolkit.Theme colour variables
This commit is contained in:
@@ -79,7 +79,7 @@ class UIItemInlineRadioButtons(
|
||||
// mouseover borders and text
|
||||
if (mouseOnSelection > -1 && mouseOnSelection != selection) {
|
||||
val xpos = getCellX(mouseOnSelection)
|
||||
batch.color = Toolkit.Theme.COL_ACTIVE
|
||||
batch.color = Toolkit.Theme.COL_MOUSE_UP
|
||||
Toolkit.drawBoxBorder(batch, xpos - 1, posY - 1, cellWidth + 2, height + 2)
|
||||
val text = labelfuns[mouseOnSelection]()
|
||||
val tw = App.fontGame.getWidth(text)
|
||||
@@ -88,7 +88,7 @@ class UIItemInlineRadioButtons(
|
||||
|
||||
// selection borders and text
|
||||
val xpos = getCellX(selection)
|
||||
batch.color = Toolkit.Theme.COL_HIGHLIGHT
|
||||
batch.color = Toolkit.Theme.COL_SELECTED
|
||||
Toolkit.drawBoxBorder(batch, xpos - 1, posY - 1, cellWidth + 2, height + 2)
|
||||
val text = labelfuns[selection]()
|
||||
val tw = App.fontGame.getWidth(text)
|
||||
|
||||
Reference in New Issue
Block a user