From d4683f620063a9e7945f3608f4c442e1f4cda974 Mon Sep 17 00:00:00 2001 From: rgarcia-herrera Date: Fri, 28 Aug 2020 12:34:16 -0500 Subject: [PATCH] assets dir for clarity --- .../dark_to_compass_icon.png | Bin .../dark_to_compass_icon.svg | 0 icon.png => assets/icon.png | Bin marker.png => assets/marker_dest.png | Bin marker_dest.svg => assets/marker_dest.svg | 0 marker_self.png => assets/marker_self.png | Bin marker_self.svg => assets/marker_self.svg | 0 needle.png => assets/needle.png | Bin .../needle_to_dest.png | Bin .../needle_to_dest.svg | 0 pivot.png => assets/pivot.png | Bin presplash.png => assets/splash.png | Bin to_map.svg => assets/to_map.svg | 0 to_self.png => assets/to_self.png | Bin to_self.svg => assets/to_self.svg | 0 to_settings.png => assets/to_settings.png | Bin to_settings.svg => assets/to_settings.svg | 0 buildozer.spec | 4 +- compass.svg | 2707 ----------------- flockompass.kv | 16 +- 20 files changed, 10 insertions(+), 2717 deletions(-) rename dark_to_compass_icon.png => assets/dark_to_compass_icon.png (100%) rename dark_to_compass_icon.svg => assets/dark_to_compass_icon.svg (100%) rename icon.png => assets/icon.png (100%) rename marker.png => assets/marker_dest.png (100%) rename marker_dest.svg => assets/marker_dest.svg (100%) rename marker_self.png => assets/marker_self.png (100%) rename marker_self.svg => assets/marker_self.svg (100%) rename needle.png => assets/needle.png (100%) rename needle_to_dest.png => assets/needle_to_dest.png (100%) rename needle_to_dest.svg => assets/needle_to_dest.svg (100%) rename pivot.png => assets/pivot.png (100%) rename presplash.png => assets/splash.png (100%) rename to_map.svg => assets/to_map.svg (100%) rename to_self.png => assets/to_self.png (100%) rename to_self.svg => assets/to_self.svg (100%) rename to_settings.png => assets/to_settings.png (100%) rename to_settings.svg => assets/to_settings.svg (100%) delete mode 100644 compass.svg diff --git a/dark_to_compass_icon.png b/assets/dark_to_compass_icon.png similarity index 100% rename from dark_to_compass_icon.png rename to assets/dark_to_compass_icon.png diff --git a/dark_to_compass_icon.svg b/assets/dark_to_compass_icon.svg similarity index 100% rename from dark_to_compass_icon.svg rename to assets/dark_to_compass_icon.svg diff --git a/icon.png b/assets/icon.png similarity index 100% rename from icon.png rename to assets/icon.png diff --git a/marker.png b/assets/marker_dest.png similarity index 100% rename from marker.png rename to assets/marker_dest.png diff --git a/marker_dest.svg b/assets/marker_dest.svg similarity index 100% rename from marker_dest.svg rename to assets/marker_dest.svg diff --git a/marker_self.png b/assets/marker_self.png similarity index 100% rename from marker_self.png rename to assets/marker_self.png diff --git a/marker_self.svg b/assets/marker_self.svg similarity index 100% rename from marker_self.svg rename to assets/marker_self.svg diff --git a/needle.png b/assets/needle.png similarity index 100% rename from needle.png rename to assets/needle.png diff --git a/needle_to_dest.png b/assets/needle_to_dest.png similarity index 100% rename from needle_to_dest.png rename to assets/needle_to_dest.png diff --git a/needle_to_dest.svg b/assets/needle_to_dest.svg similarity index 100% rename from needle_to_dest.svg rename to assets/needle_to_dest.svg diff --git a/pivot.png b/assets/pivot.png similarity index 100% rename from pivot.png rename to assets/pivot.png diff --git a/presplash.png b/assets/splash.png similarity index 100% rename from presplash.png rename to assets/splash.png diff --git a/to_map.svg b/assets/to_map.svg similarity index 100% rename from to_map.svg rename to assets/to_map.svg diff --git a/to_self.png b/assets/to_self.png similarity index 100% rename from to_self.png rename to assets/to_self.png diff --git a/to_self.svg b/assets/to_self.svg similarity index 100% rename from to_self.svg rename to assets/to_self.svg diff --git a/to_settings.png b/assets/to_settings.png similarity index 100% rename from to_settings.png rename to assets/to_settings.png diff --git a/to_settings.svg b/assets/to_settings.svg similarity index 100% rename from to_settings.svg rename to assets/to_settings.svg diff --git a/buildozer.spec b/buildozer.spec index fb17706..94b3694 100644 --- a/buildozer.spec +++ b/buildozer.spec @@ -46,10 +46,10 @@ requirements = hostpython3, python3, kivy, plyer, android, mapview, requests, ur #garden_requirements = mapview # (str) Presplash of the application -presplash.filename = ./presplash.png +presplash.filename = assets/splash.png # (str) Icon of the application -icon.filename = ./icon.png +icon.filename = assets/icon.png # (str) Supported orientation (one of landscape, sensorLandscape, portrait or all) orientation = portrait diff --git a/compass.svg b/compass.svg deleted file mode 100644 index 53593c3..0000000 --- a/compass.svg +++ /dev/null @@ -1,2707 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 280 - - - 290 - - - 300 - - - 310 - - - 320 - - - 330 - - - 340 - - - 350 - - - 10 - - - 20 - - - 30 - - - 40 - - - 50 - - - 60 - - - 70 - - - 80 - - - 260 - - - 250 - - - 240 - - - 230 - - - 220 - - - 210 - - - 200 - - - 190 - - - 170 - - - 160 - - - 150 - - - 140 - - - 130 - - - 120 - - - 110 - - - 100 - - - - - - - - - - - NW - 315° - - - NE - 45° - - - SE - 135° -   - - - SW - 225° -   - - - N - - - - E - 90° - - - W - 270° - - - S - 180° - - - WSW - 247.5° - - - - - - - - - diff --git a/flockompass.kv b/flockompass.kv index d95104a..446cb29 100644 --- a/flockompass.kv +++ b/flockompass.kv @@ -22,13 +22,13 @@ selfmark.lon = app.gps_data.get('lon', 0) MapMarker: - source: 'marker_self.png' + source: 'assets/marker_self.png' id: selfmark anchor_x: 0.5 anchor_y: 0 MapMarker: - source: 'marker.png' + source: 'assets/marker_dest.png' id: centermark anchor_x: 0.5 anchor_y: 0 @@ -42,17 +42,17 @@ IconButton: pos_hint: {"x":.8, "top":0.95} size_hint: 0.2, 0.2 - source: 'dark_to_compass_icon.png' + source: 'assets/dark_to_compass_icon.png' on_press: root.manager.current = 'compass'; app.set_destination() IconButton: - source: 'to_self.png' + source: 'assets/to_self.png' pos_hint: {"x":0.4, "bottom":0.1} size_hint: 0.2, 0.2 on_press: app.center_map_on_gps() IconButton: pos_hint: {"x":0.8, "bottom":0.1} size_hint: 0.2, 0.2 - source: 'to_settings.png' + source: 'assets/to_settings.png' on_press: root.manager.current = 'settings'; @@ -88,7 +88,7 @@ pos: 0, 0.1 font_size: '40sp' Image: - source: 'needle.png' + source: 'assets/needle.png' canvas.before: PushMatrix Rotate: @@ -99,7 +99,7 @@ PopMatrix Image: id: to_dest - source: 'needle_to_dest.png' + source: 'assets/needle_to_dest.png' canvas.before: PushMatrix Rotate: @@ -109,4 +109,4 @@ canvas.after: PopMatrix Image: - source: 'pivot.png' \ No newline at end of file + source: 'assets/pivot.png' \ No newline at end of file