Téo DHIEN-FANE / F746_GUI

Dependencies:   Array_Matrix TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG

Dependents:   dashboard_f1

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Mar 15 08:18:54 2017 +0000
Parent:
29:551a5f1b52b9
Child:
31:d7f9f667fa68
Commit message:
31

Changed in this revision

GuiBase.hpp Show annotated file Show diff for this revision Revisions of this file
--- a/GuiBase.hpp	Wed Jan 25 14:18:42 2017 +0000
+++ b/GuiBase.hpp	Wed Mar 15 08:18:54 2017 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  GuiBase class (abstract base class) ---- Header
 //      
-//  2017/01/25, Copyright (c) 2017 MIKAMI, Naoki
+//  2017/03/15, Copyright (c) 2017 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_GUI_BASE_HPP
@@ -18,7 +18,9 @@
     {
     public:                    
         static LCD_DISCO_F746NG* GetLcdPtr() { return &lcd_; }
+        static LCD_DISCO_F746NG& GetLcd() { return lcd_; }
         static TS_DISCO_F746NG* GetTsPtr() { return &ts_; }
+        static TS_DISCO_F746NG& GetTs() { return ts_; }
 
         // If panel touched, return true
         static bool PanelTouched();
@@ -69,3 +71,4 @@
 }
 #endif  // F746_GUI_BASE_HPP
 
+