Browse Source

Merge quac from https://github.com/rdefeo/quac

Willy-JL 1 năm trước cách đây
mục cha
commit
722e1ce269
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      quac/scenes/scene_settings.c

+ 2 - 1
quac/scenes/scene_settings.c

@@ -18,7 +18,8 @@
 // of the list. Since we intend to place "About" last, it would be convenient to
 // of the list. Since we intend to place "About" last, it would be convenient to
 // dynamically know it's list index for our on_event method. However, we'll need to
 // dynamically know it's list index for our on_event method. However, we'll need to
 // hardcode the value..
 // hardcode the value..
-#define SCENE_SETTINGS_ABOUT 9 // 10 items in our Settings list, so last index is 9
+// TODO: Figure out a better way to do this
+#define SCENE_SETTINGS_ABOUT 10 // 11 items in our Settings list, so last index is 10
 
 
 static const char* const layout_text[2] = {"Vert", "Horiz"};
 static const char* const layout_text[2] = {"Vert", "Horiz"};
 static const uint32_t layout_value[2] = {QUAC_APP_PORTRAIT, QUAC_APP_LANDSCAPE};
 static const uint32_t layout_value[2] = {QUAC_APP_PORTRAIT, QUAC_APP_LANDSCAPE};