diff options
author | Alexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com> | 2015-04-08 04:56:45 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com> | 2015-04-08 04:56:45 +0300 |
commit | eeea9ee8dc75ad64c756264f728b32ad6a9b7e18 (patch) | |
tree | ffbd26bf82807be123dde68e876df5cdb4cd0437 | |
parent | 4fea018fd6d68b64ff25270d9b12f4d8fa8cab5f (diff) |
Phone battery mirrored
-rw-r--r-- | appinfo.json | 34 | ||||
-rw-r--r-- | resources/images/no-phone.png | bin | 214 -> 233 bytes | |||
-rw-r--r-- | resources/images/no-phone~color.png | bin | 234 -> 239 bytes | |||
-rw-r--r-- | resources/images/phone_icon.png | bin | 144 -> 143 bytes | |||
-rw-r--r-- | resources/images/phone_icon~color.png | bin | 146 -> 147 bytes | |||
-rw-r--r-- | src/pebble-mario.c | 2 |
6 files changed, 15 insertions, 21 deletions
diff --git a/appinfo.json b/appinfo.json index 43b940b..afae4b1 100644 --- a/appinfo.json +++ b/appinfo.json @@ -8,34 +8,34 @@ "capabilities": [ "configurable" ], - "companyName": "Denis Dzyubenko", - "longName": "Mario", + "companyName": "Cluster", + "longName": "Mario Time", "projectType": "native", "resources": { "media": [ { - "file": "images/mario_bg_night_color.png", - "name": "IMAGE_BACKGROUND_NIGHT", + "file": "images/no-phone.png", + "name": "IMAGE_NO_PHONE", "type": "png" }, { - "file": "images/battery-charging.png", - "name": "IMAGE_BATTERY_CHARGING", + "file": "images/phone_icon.png", + "name": "IMAGE_PHONE_ICON", "type": "png" }, { - "file": "images/watch_icon.png", - "name": "IMAGE_WATCH_ICON", + "file": "images/mario_bg_night_color.png", + "name": "IMAGE_BACKGROUND_NIGHT", "type": "png" }, { - "file": "images/phone_icon.png", - "name": "IMAGE_PHONE_ICON", + "file": "images/battery-charging.png", + "name": "IMAGE_BATTERY_CHARGING", "type": "png" }, { - "file": "images/no-phone.png", - "name": "IMAGE_NO_PHONE", + "file": "images/watch_icon.png", + "name": "IMAGE_WATCH_ICON", "type": "png" }, { @@ -65,12 +65,6 @@ "type": "png" }, { - "characterRegex": "[,0-9A-Z]", - "file": "fonts/Gamegirl.ttf", - "name": "FONT_GAMEGIRL_8", - "type": "font" - }, - { "characterRegex": "[0-9]", "file": "fonts/Gamegirl.ttf", "name": "FONT_GAMEGIRL_24", @@ -95,14 +89,14 @@ ] }, "sdkVersion": "3", - "shortName": "Mario", + "shortName": "Mario Time", "targetPlatforms": [ "aplite", "basalt" ], "uuid": "43caa750-2896-4f46-94dc-1adbd4bc1ff3", "versionCode": 3, - "versionLabel": "2.1", + "versionLabel": "3.0", "watchapp": { "watchface": true } diff --git a/resources/images/no-phone.png b/resources/images/no-phone.png Binary files differindex 31f65b1..03fe3cb 100644 --- a/resources/images/no-phone.png +++ b/resources/images/no-phone.png diff --git a/resources/images/no-phone~color.png b/resources/images/no-phone~color.png Binary files differindex 7b37b5b..8dfa2c9 100644 --- a/resources/images/no-phone~color.png +++ b/resources/images/no-phone~color.png diff --git a/resources/images/phone_icon.png b/resources/images/phone_icon.png Binary files differindex 5fbbd8f..aa1def8 100644 --- a/resources/images/phone_icon.png +++ b/resources/images/phone_icon.png diff --git a/resources/images/phone_icon~color.png b/resources/images/phone_icon~color.png Binary files differindex 2c688ba..634515b 100644 --- a/resources/images/phone_icon~color.png +++ b/resources/images/phone_icon~color.png diff --git a/src/pebble-mario.c b/src/pebble-mario.c index 2604cb7..3b27ed3 100644 --- a/src/pebble-mario.c +++ b/src/pebble-mario.c @@ -291,7 +291,7 @@ void phone_battery_update_callback(Layer *layer, GContext *ctx) #else graphics_context_set_fill_color(ctx, GColorBlack); #endif - graphics_fill_rect(ctx, GRect(3, 2, phone_battery_level, 5), 0, GCornerNone); + graphics_fill_rect(ctx, GRect(7, 2, phone_battery_level, 5), 0, GCornerNone); } } |