diff --git a/resources/drawables/apace.png b/resources/drawables/apace.png new file mode 100644 index 0000000..27452bf Binary files /dev/null and b/resources/drawables/apace.png differ diff --git a/resources/drawables/cadence.png b/resources/drawables/cadence.png new file mode 100644 index 0000000..c6e2fb0 Binary files /dev/null and b/resources/drawables/cadence.png differ diff --git a/resources/drawables/e_gain.png b/resources/drawables/e_gain.png index e47d097..bc2ea96 100644 Binary files a/resources/drawables/e_gain.png and b/resources/drawables/e_gain.png differ diff --git a/resources/drawables/e_loss.png b/resources/drawables/e_loss.png index 246dc11..f046eae 100644 Binary files a/resources/drawables/e_loss.png and b/resources/drawables/e_loss.png differ diff --git a/resources/drawables/hills.png b/resources/drawables/hills.png index 63a7a0d..52a971c 100644 Binary files a/resources/drawables/hills.png and b/resources/drawables/hills.png differ diff --git a/resources/drawables/pace.png b/resources/drawables/pace.png new file mode 100644 index 0000000..ac4c977 Binary files /dev/null and b/resources/drawables/pace.png differ diff --git a/resources/layouts/layouts.xml b/resources/layouts/layouts.xml index 0a6fdf2..89941ba 100755 --- a/resources/layouts/layouts.xml +++ b/resources/layouts/layouts.xml @@ -3,11 +3,11 @@ - 142 + 158 62 280 260 - -30 + -32 64 @@ -26,24 +26,24 @@ diff --git a/source/RepaFieldView.mc b/source/RepaFieldView.mc index 50219d8..fc5dfb5 100644 --- a/source/RepaFieldView.mc +++ b/source/RepaFieldView.mc @@ -32,7 +32,7 @@ class RepaFieldView extends WatchUi.DataField { ahrValue = 0; mhrValue = 0; hrZones = UserProfile.getHeartRateZones(UserProfile.getCurrentSport()); - hrZoneColors = [Graphics.COLOR_BLACK, Graphics.COLOR_LT_GRAY, Graphics.COLOR_BLUE, Graphics.COLOR_GREEN, Graphics.COLOR_YELLOW, Graphics.COLOR_RED, Graphics.COLOR_DK_RED]; + hrZoneColors = [Graphics.COLOR_DK_GRAY, Graphics.COLOR_LT_GRAY, Graphics.COLOR_BLUE, Graphics.COLOR_GREEN, Graphics.COLOR_YELLOW, Graphics.COLOR_RED, Graphics.COLOR_DK_RED]; cadenceZones = [153, 163, 173, 183]; cadenceZoneColors = [Graphics.COLOR_RED, Graphics.COLOR_YELLOW, Graphics.COLOR_GREEN, Graphics.COLOR_BLUE, Graphics.COLOR_PURPLE]; toDestination = 0.0f; @@ -301,17 +301,6 @@ class RepaFieldView extends WatchUi.DataField { // Call parent's onUpdate(dc) to redraw the layout View.onUpdate(dc); - // var bitmap = WatchUi.loadResource(Rez.Drawables.iconHills); - // dc.drawBitmap(132, 132, bitmap); - // TODO - /* - var bm = new WatchUi.Bitmap({ - :rezId => Rez.Drawables.iconHills, - :locX => 132, - :locY => 132 - }); - bm.draw(dc); - */ } }