tibia-client/modules/client_options/options.otui

48 lines
967 B
Plaintext
Raw Normal View History

2012-01-06 10:10:55 +01:00
OptionCheckBox < CheckBox
margin-left: 18
margin-right: 18
@onCheckChange: Options.changeOption(self:getId(), self:isChecked())
@onSetup: self:setChecked(Options[self:getId()])
2012-01-06 10:10:55 +01:00
$first:
margin-top: 28
anchors.left: parent.left
2011-11-17 01:12:11 +01:00
anchors.right: parent.right
anchors.top: parent.top
2012-01-06 10:10:55 +01:00
$middle:
margin-top: 10
anchors.left: parent.left
anchors.right: parent.right
2011-11-17 01:12:11 +01:00
anchors.top: prev.bottom
2012-01-06 10:10:55 +01:00
MainWindow
id: optionsWindow
title: Options
2012-01-07 02:48:16 +01:00
size: 286 140
2012-01-06 10:10:55 +01:00
OptionCheckBox
id: vsync
text: Enable vertical synchronization
tooltip: Limits FPS to 60
OptionCheckBox
id: showfps
text: Show frame rate
OptionCheckBox
id: fullscreen
text: Fullscreen
2012-01-07 02:48:16 +01:00
OptionCheckBox
id: classicControl
text: Classic control
Button
text: Ok
width: 64
anchors.right: parent.right
anchors.bottom: parent.bottom
2011-11-17 22:41:02 +01:00
margin-right: 10
margin-bottom: 10
2012-01-06 09:48:59 +01:00
@onClick: self:getParent():destroy()