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: AdaFruit_RGBLCDShield MCP23017 mbed RTclock
Fork of MCP_test by
Diff: MenuManager.h
- Revision:
- 25:24654d08a99a
- Parent:
- 24:e67c825ec6d8
- Child:
- 26:0cfd95d8f270
--- a/MenuManager.h Wed Oct 08 16:42:17 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-#ifndef __MENUMANAGER_H__
-#define __MENUMANAGER_H__
-
-class MenuManager
-{
-public:
- MenuManager
- (
- Module ** in_pModules,
- size_t in_nModules,
- Adafruit_RGBLCDShield & in_cLCD,
- int in_nCols,
- int in_nRows
- );
- void loop();
-
-protected:
- void changeModule(bool in_bUp);
- void createChars();
- void initialise();
- void processKeys(uint8_t in_nKeys);
- void setCursor
- (
- bool in_bCursor,
- bool in_bBlink
- );
- void setMode(Module::EModes in_eMode);
- void showModules(bool in_bRefresh = false);
- void showTracking(bool in_bShow);
- void updateDisplay();
-
-protected:
- Module ** m_pModules;
- size_t m_nModules;
- Adafruit_RGBLCDShield & m_cLCD;
- Module::EModes m_eMode;
- size_t m_nMenuPos;
- size_t m_nIndex;
- int m_nCursorX, m_nCursorY;
- int m_nColumns, m_nRows;
-};
-
-#endif /* __MENUMANAGER_H__ */
