Add ambient light in graphics options

This commit is contained in:
Eduardo Bart
2012-11-30 14:47:53 -02:00
parent 5fed08b17e
commit ce6423320e
4 changed files with 34 additions and 1 deletions

View File

@@ -95,3 +95,22 @@ Panel
minimum: 1
maximum: 61
Label
id: ambientLightLabel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 6
@onSetup: |
local value = Options.getOption('ambientLight')
self:setText(tr('Ambient light: %s%%', value))
FrameRateScrollbar
id: ambientLight
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 0
maximum: 100