tibia-client/modules/client_options/graphics.otui

115 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

Panel
2013-01-25 16:33:51 +01:00
ButtonBox
id: opengl1
anchors.left: parent.left
anchors.top: parent.top
2013-01-25 16:33:51 +01:00
text: OpenGL 1
size: 80 20
ButtonBox
2013-01-25 16:33:51 +01:00
id: opengl2
anchors.left: prev.right
anchors.verticalCenter: prev.verticalCenter
2013-01-25 16:33:51 +01:00
text: OpenGL 2
size: 80 20
2013-01-25 16:33:51 +01:00
margin-left: 4
ButtonBox
2013-01-25 16:33:51 +01:00
id: directx9
anchors.left: prev.right
anchors.verticalCenter: prev.verticalCenter
2013-01-25 16:33:51 +01:00
text: DirectX 9
size: 80 20
margin-left: 4
OptionCheckBox
id: vsync
!text: tr('Enable vertical synchronization')
!tooltip: tr('Limits FPS to 60')
OptionCheckBox
id: showFps
!text: tr('Show frame rate')
OptionCheckBox
2013-01-25 16:33:51 +01:00
id: enableLights
!text: tr('Enable lights')
2013-01-25 16:33:51 +01:00
OptionCheckBox
id: fullscreen
!text: tr('Fullscreen')
tooltip: Ctrl+Shift+F
OptionCheckBox
id: dontStretchShrink
!text: tr('Don\'t stretch/shrink Game Window')
Label
2012-07-05 20:49:10 +02:00
id: backgroundFrameRateLabel
2012-06-08 18:58:08 +02:00
!text: tr('Game framerate limit: %s', 'max')
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 12
2012-07-05 20:49:10 +02:00
@onSetup: |
local value = modules.client_options.getOption('backgroundFrameRate')
2012-07-05 20:49:10 +02:00
local text = value
if value <= 0 or value >= 201 then
text = 'max'
end
self:setText(tr('Game framerate limit: %s', text))
2013-03-02 21:01:29 +01:00
OptionScrollbar
2012-07-05 20:49:10 +02:00
id: backgroundFrameRate
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 10
maximum: 201
Label
2012-07-05 20:49:10 +02:00
id: foregroundFrameRateLabel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 6
2012-07-05 20:49:10 +02:00
@onSetup: |
local value = modules.client_options.getOption('foregroundFrameRate')
2012-07-05 20:49:10 +02:00
local text = value
if value <= 0 or value >= 61 then
text = 'max'
end
self:setText(tr('Interface framerate limit: %s', text))
2013-03-02 21:01:29 +01:00
OptionScrollbar
2012-07-05 20:49:10 +02:00
id: foregroundFrameRate
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 1
maximum: 61
2012-11-30 17:47:53 +01:00
Label
id: ambientLightLabel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 6
@onSetup: |
local value = modules.client_options.getOption('ambientLight')
2012-11-30 17:47:53 +01:00
self:setText(tr('Ambient light: %s%%', value))
2013-03-02 21:01:29 +01:00
OptionScrollbar
2012-11-30 17:47:53 +01:00
id: ambientLight
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 0
maximum: 100