Wakeup Light with touch user interface, anti-aliased Font, SD card access and RTC usage on STM32F746NG-DISCO board

Dependencies:   BSP_DISCO_F746NG_patch_fixed LCD_DISCO_F746NG TS_DISCO_F746NG FATFileSystem TinyJpgDec_interwork mbed-src

Revision:
9:fe2c9b3a312b
Parent:
7:dc29f6647486
Child:
12:a89096944f20
--- a/UI_Main.cpp	Thu Nov 12 22:01:17 2015 +0000
+++ b/UI_Main.cpp	Sat Nov 14 02:43:33 2015 +0000
@@ -4,6 +4,7 @@
 {
     LUS_CLOCK,
     LUS_CLOCK_IN_WORDS,
+    LUS_SLIDESHOW,
 
 } LAST_USED_SCREENSAVER_ENUM;
     
@@ -26,12 +27,17 @@
                 UI_Show(&uiClockInWords);
             }
             else if (index==2)
+            {
+                lastUsedScreensaver=LUS_SLIDESHOW;
+                UI_Show(&uiSlideshow);
+            }
+            else if (index==3)
                 UI_WakeupShow();
-            else if (index==3)
+            else if (index==4)
                 LED_StartAnimation(LAE_WAKEUP);
-            else if (index==4)
+            else if (index==5)
                 LED_StartAnimation(LAE_OFF);
-            else if (index==5)
+            else if (index==6)
                 UI_Show(&uiColorTest);
             break;
 
@@ -42,6 +48,7 @@
                 {
                     case LUS_CLOCK:                 UI_Show(&uiClock);          break;
                     case LUS_CLOCK_IN_WORDS:        UI_Show(&uiClockInWords);   break;
+                    case LUS_SLIDESHOW:             UI_Show(&uiSlideshow);      break;
                 }
             }
             break;