mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
implement chat colors, rework on UI layout update system
This commit is contained in:
@@ -8,7 +8,8 @@ function Options.init()
|
||||
local booleanOptions = { vsync = true,
|
||||
showfps = true,
|
||||
fullscreen = false,
|
||||
classicControl = false }
|
||||
classicControl = false,
|
||||
showLevelInConsole = false}
|
||||
|
||||
for k,v in pairs(booleanOptions) do
|
||||
Settings.setDefault(k, v)
|
||||
|
||||
@@ -19,7 +19,7 @@ OptionCheckBox < CheckBox
|
||||
MainWindow
|
||||
id: optionsWindow
|
||||
title: Options
|
||||
size: 286 140
|
||||
size: 286 160
|
||||
@onEnter: Options.hide()
|
||||
@onEscape: Options.hide()
|
||||
|
||||
@@ -40,6 +40,10 @@ MainWindow
|
||||
id: classicControl
|
||||
text: Classic control
|
||||
|
||||
OptionCheckBox
|
||||
id: showLevelInConsole
|
||||
text: Show players level in console
|
||||
|
||||
Button
|
||||
text: Ok
|
||||
width: 64
|
||||
|
||||
Reference in New Issue
Block a user