mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
21 lines
702 B
C++
21 lines
702 B
C++
#ifndef APPS_VARIABLE_BOX_CONTROLLER_H
|
|
#define APPS_VARIABLE_BOX_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "node_navigation_controller.h"
|
|
|
|
class VariableBoxController : public NodeNavigationController {
|
|
public:
|
|
const char * title() const override;
|
|
TableViewCell * leafCellAtIndex(int index) override;
|
|
TableViewCell * nodeCellAtIndex(int index) override;
|
|
void willDisplayCellForIndex(TableViewCell * cell, int index) override;
|
|
private:
|
|
MenuListCell m_leafCells[NodeListViewController::k_maxNumberOfDisplayedRows];
|
|
ChevronMenuListCell m_nodeCells[NodeListViewController::k_maxNumberOfDisplayedRows];
|
|
Node * nodeModel() override;
|
|
bool selectLeaf(Node * selectedNode) override;
|
|
};
|
|
|
|
#endif
|