Skip to content

Commit

Permalink
add darkening gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell committed Aug 21, 2012
1 parent c16d467 commit 9d9aa08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Binary file added images/home-gradient-ramp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion qml/main.qml
Expand Up @@ -90,8 +90,15 @@ Item {
id: background
source: ':/images/background.jpg'
x: 0
y: -(dashboard.contentY / 2)
y: -(dashboard.contentY / 2) // TODO: don't scroll over image height
}

Image {
id: gradient
source: ":/images/home-gradient-ramp.png"
anchors.fill: parent
}

StatusBar {
id: systemStatusBar
anchors.top: parent.top
Expand Down
1 change: 1 addition & 0 deletions res.qrc
Expand Up @@ -8,5 +8,6 @@
<qresource prefix="/js"/>
<qresource prefix="/images">
<file alias="background.jpg">images/jolla-full-wallpaper.jpeg</file>
<file alias="home-gradient-ramp.png">images/home-gradient-ramp.png</file>
</qresource>
</RCC>

0 comments on commit 9d9aa08

Please sign in to comment.