Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG
Fork of F746_GUI by
Revision 30:835a6b1c0fad, committed 2017-03-15
- 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
+
