WIP: Submenu support and handling
This commit is contained in:
parent
053d35087d
commit
a5e10bf0ea
@ -7,6 +7,6 @@
|
|||||||
|
|
||||||
// Auto generated header file containing the last git revision
|
// Auto generated header file containing the last git revision
|
||||||
|
|
||||||
#define GIT_HASH "b92adab"
|
#define GIT_HASH "5232017"
|
||||||
|
|
||||||
#endif //FLOATPUMP_GIT_REVISION_TEMPLATE_H
|
#endif //FLOATPUMP_GIT_REVISION_TEMPLATE_H
|
@ -28,7 +28,7 @@ namespace floatpump {
|
|||||||
m_submenus.push_back(submenu);
|
m_submenus.push_back(submenu);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
bool isSubmenu(int index) {
|
bool isSubmenu(int index) {
|
||||||
if(index > 0 && index < m_submenus.size()) {
|
if(index > 0 && index < m_submenus.size()) {
|
||||||
return true;
|
return true;
|
||||||
@ -58,7 +58,7 @@ namespace floatpump {
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
LCD_I2C_Driver &m_driver;
|
LCD_I2C_Driver &m_driver;
|
||||||
std::vector<Menu_Entry> m_entries;
|
std::vector<Menu_Entry> m_entries;
|
||||||
|
Loading…
Reference in New Issue
Block a user