GUI parts for DISCO-F746NG. GuiBase, Button, ButtonGroup, ResetButton, Label, BlinkLabel, NumericLabel, SeekBar, SeekbarGroup, NumericUpDown
Dependencies: Array_Matrix TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG
Diff: GuiBase.hpp
- Revision:
- 30:835a6b1c0fad
- Parent:
- 28:e2b7ea78b7a0
- Child:
- 31:d7f9f667fa68
--- 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 +