mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
console options
This commit is contained in:
@@ -9,7 +9,13 @@ function Options.init()
|
||||
showfps = true,
|
||||
fullscreen = false,
|
||||
classicControl = false,
|
||||
showLevelInConsole = false}
|
||||
showStatusMessagesInConsole = true,
|
||||
showEventMessagesInConsole = true,
|
||||
showInfoMessagesInConsole = true,
|
||||
showTimestampsInConsole = true,
|
||||
showLevelsInConsole = true,
|
||||
showPrivateMessagesInConsole = true,
|
||||
}
|
||||
|
||||
for k,v in pairs(booleanOptions) do
|
||||
Settings.setDefault(k, v)
|
||||
|
||||
@@ -19,7 +19,7 @@ OptionCheckBox < CheckBox
|
||||
MainWindow
|
||||
id: optionsWindow
|
||||
title: Options
|
||||
size: 286 160
|
||||
size: 286 280
|
||||
@onEnter: Options.hide()
|
||||
@onEscape: Options.hide()
|
||||
|
||||
@@ -41,8 +41,27 @@ MainWindow
|
||||
text: Classic control
|
||||
|
||||
OptionCheckBox
|
||||
id: showLevelInConsole
|
||||
text: Show players level in console
|
||||
id: showInfoMessagesInConsole
|
||||
text: Show info messages in console
|
||||
|
||||
OptionCheckBox
|
||||
id: showEventMessagesInConsole
|
||||
text: Show event messages in console
|
||||
|
||||
OptionCheckBox
|
||||
id: showStatusMessagesInConsole
|
||||
text: Show status messages in console
|
||||
|
||||
OptionCheckBox
|
||||
id: showTimestampsInConsole
|
||||
text: Show timestamps in console
|
||||
|
||||
OptionCheckBox
|
||||
id: showLevelsInConsole
|
||||
text: Show levels in console
|
||||
//OptionCheckBox
|
||||
// id: showPrivateMessagesInConsole
|
||||
// text: Show private messages in console
|
||||
|
||||
Button
|
||||
text: Ok
|
||||
|
||||
Reference in New Issue
Block a user