summaryrefslogtreecommitdiff
path: root/nekowatchlet
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-11 20:15:36 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-11 20:15:36 +0200
commitac182bd9bf076b4d03d4812e85b989edae32d756 (patch)
tree7d05a80a2e6e44e3fe0dbd3384bf6c18321fa2b8 /nekowatchlet
parent505f7b1cf62c6934f5246c5e62eccb0a26cb1ce2 (diff)
downloadsowatch-ac182bd9bf076b4d03d4812e85b989edae32d756.tar.gz
sowatch-ac182bd9bf076b4d03d4812e85b989edae32d756.zip
able to navigate watchlets in liveview
Diffstat (limited to 'nekowatchlet')
-rw-r--r--nekowatchlet/liveview.qml7
-rw-r--r--nekowatchlet/neko-inv.pngbin0 -> 2426 bytes
2 files changed, 5 insertions, 2 deletions
diff --git a/nekowatchlet/liveview.qml b/nekowatchlet/liveview.qml
index a9c5712..fcfb5ff 100644
--- a/nekowatchlet/liveview.qml
+++ b/nekowatchlet/liveview.qml
@@ -1,8 +1,11 @@
import QtQuick 1.0
-Item {
+Rectangle {
+ color: "black"
+
Neko {
id: neko
+ imageSource: "neko-inv.png"
running: watch.active
targetX: goal.x
@@ -13,7 +16,7 @@ Item {
id: goal
width: 2
height: 2
- color: "black"
+ color: "white"
Behavior on x { SmoothedAnimation { velocity: 80; }}
Behavior on y { SmoothedAnimation { velocity: 80; }}
diff --git a/nekowatchlet/neko-inv.png b/nekowatchlet/neko-inv.png
new file mode 100644
index 0000000..bbc80ad
--- /dev/null
+++ b/nekowatchlet/neko-inv.png
Binary files differ