Explorar o código

Add Nicer Icons

[Problem]
Icons are all generic right now.

[Solution]
Made some basic custom icons.

[Testing]
Tested on device.
Gerald McAlister %!s(int64=2) %!d(string=hai) anos
pai
achega
98de19b8f4

BIN=BIN
images/play_button.gif


BIN=BIN
images/play_button/frame_01.png


BIN=BIN
images/play_button/frame_02.png


BIN=BIN
images/play_button/frame_03.png


BIN=BIN
images/play_button/frame_04.png


+ 1 - 0
images/play_button/frame_rate

@@ -0,0 +1 @@
+2

BIN=BIN
images/settings_button/frame_01.png


BIN=BIN
images/settings_button/frame_02.png


+ 1 - 0
images/settings_button/frame_rate

@@ -0,0 +1 @@
+2

+ 5 - 2
src/scenes/starting_scene.c

@@ -6,6 +6,9 @@
 #include "../tone_gen.h"
 #include "../utils/linked_list.h"
 
+// Icons to include
+#include "tone_gen_icons.h"
+
 /** indices for menu items */
 typedef enum {
     ToneGenAppMenuSelection_Play,
@@ -43,14 +46,14 @@ void scene_on_enter_starting_scene(void* context) {
     menu_add_item(
         menuView->viewData,
         "Play Tone",
-        NULL,
+        &A_play_button,
         ToneGenAppMenuSelection_Play,
         menu_callback_starting_scene,
         app);
     menu_add_item(
         menuView->viewData,
         "Adjust Tone",
-        NULL,
+        &A_settings_button,
         ToneGenAppMenuSelection_Adjust,
         menu_callback_starting_scene,
         app);

BIN=BIN
tone_gen.png