diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2012-05-28 16:18:19 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2012-05-28 16:22:26 -0300 |
commit | c1600b5c310d3bdfe8801ba2bbd331ed6753e829 (patch) | |
tree | 326d123b2637a0b4a54d0b036e80ef975b92ece8 | |
parent | 987966241301e4d59dfa3b4167a8a8ed01252a22 (diff) |
Add small side shadows to all screens.
Reviewed-by: Marcelo Lira
-rw-r--r-- | src/mobile/images/overlayer.png | bin | 0 -> 1327 bytes | |||
-rw-r--r-- | src/mobile/qml/Main.qml | 19 | ||||
-rw-r--r-- | src/mobile/snowshoe-mobile.qrc | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/src/mobile/images/overlayer.png b/src/mobile/images/overlayer.png Binary files differnew file mode 100644 index 0000000..ab15bba --- /dev/null +++ b/src/mobile/images/overlayer.png diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml index a38d960..42e02a2 100644 --- a/src/mobile/qml/Main.qml +++ b/src/mobile/qml/Main.qml @@ -74,6 +74,25 @@ Rectangle { } Image { + source: "qrc:///mobile/app/side_shadow" + z: 99 + anchors { + left: parent.left + verticalCenter: parent.verticalCenter + } + } + Image { + source: "qrc:///mobile/app/side_shadow" + z: 99 + mirror: true + anchors { + right: parent.right + verticalCenter: parent.verticalCenter + } + } + + + Image { id: plusButton opacity: 0 source: plusButtonMouseArea.pressed ? "qrc:///mobile/nav/btn_plus_pressed" : "qrc:///mobile/nav/btn_plus_unpressed" diff --git a/src/mobile/snowshoe-mobile.qrc b/src/mobile/snowshoe-mobile.qrc index 8110deb..dd42a34 100644 --- a/src/mobile/snowshoe-mobile.qrc +++ b/src/mobile/snowshoe-mobile.qrc @@ -22,6 +22,7 @@ <file>qml/Scrollbar.qml</file> <file>qml/TopSitesPanel.qml</file> <file alias="app/bg_image">images/app_bg.png</file> + <file alias="app/side_shadow">images/overlayer.png</file> <file alias="app/tabs_disabled">images/view_menu_tabs_disable.png</file> <file alias="app/tabs_unpressed">images/view_menu_tabs_unpressed.png</file> <file alias="app/tabs_pressed">images/view_menu_tabs_pressed.png</file> |