revised version of F746_SD_GraphicEqualizer

Dependencies:   BSP_DISCO_F746NG F746_GUI F746_SAI_IO FrequencyResponseDrawer LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed

Fork of F746_SD_GraphicEqualizer by 不韋 呂

Revision:
12:87f6955b5a80
Parent:
10:fc6367c2ffcf
--- a/main.cpp	Wed Jun 22 03:59:21 2016 +0000
+++ b/main.cpp	Thu Jul 07 05:58:52 2016 +0000
@@ -27,7 +27,7 @@
     SD_WavReader sdReader(mySai.GetLength());   // SD カード読み込み用オブジェクト
     const int MAX_FILES = 7;
     string PlayList[MAX_FILES];
-    int list_id = 0;
+    int list_id = -9;   // if <0 then doesn't highlight any track in the list 
     FileSelector selector(4, 26, MAX_FILES, 37, sdReader);
     if (!selector.CreateTable())
         BlinkLabel errLabel(240, 100, "SD CARD ERROR", Label::CENTER);
@@ -160,7 +160,7 @@
                 int touch10;
                 while (!menu.GetTouchedNumber(touch10))
                     ModifyFilter(drawerObj, myBars, hn, flat, onOff, on);
-                if (touch10 == 0)
+                if (touch10 == 0)        //  OPEN タッチしたら
                     SelectFile(menu, selector, myLabel1, PlayList, &list_id);
                 ui_mode = SELECTED_PREPARE_PALY;
                 break;