diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2012-05-18 16:46:51 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2012-05-18 16:46:51 +0200 |
commit | 9ec0a5761f9a75884d5f55130b6661247a3b15cf (patch) | |
tree | 0860b850c223022c2be3fb2a348a63a2ef238935 /qml/Player.qml | |
parent | f932a86631105b6dff7c48708f0f62ca4417a43d (diff) |
Switchable theme (Dark or Light).
Diffstat (limited to 'qml/Player.qml')
-rw-r--r-- | qml/Player.qml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/qml/Player.qml b/qml/Player.qml index f700536..416f47b 100644 --- a/qml/Player.qml +++ b/qml/Player.qml @@ -5,22 +5,22 @@ ** Contact: Yoann Lopes (yoann.lopes@nokia.com) ** ** This file is part of the MeeSpot project. -** +** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: -** +** ** Redistributions of source code must retain the above copyright notice, ** this list of conditions and the following disclaimer. -** +** ** Redistributions in binary form must reproduce the above copyright ** notice, this list of conditions and the following disclaimer in the ** documentation and/or other materials provided with the distribution. -** +** ** Neither the name of Nokia Corporation and its Subsidiary(-ies) nor the names of its ** contributors may be used to endorse or promote products derived from ** this software without specific prior written permission. -** +** ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS @@ -41,12 +41,13 @@ import QtQuick 1.1 import com.nokia.meego 1.0 +import "UIConstants.js" as UI Rectangle { id: player width: parent.width height: screen.currentOrientation == Screen.Portrait ? 818 : 444 - color: "black" + color: theme.inverted ? UI.COLOR_INVERTED_BACKGROUND : UI.COLOR_BACKGROUND y: -height property bool openRequested: false |