Files
Upsilon/apps/toolbox_controller.h
Émilie Feral 139158557c [apps] use toolbox leaf cell in the toolbox controller
Change-Id: Iac52d3777761f6d5183391608db4fe7df3c1fbd4
2016-11-14 17:06:55 +01:00

22 lines
722 B
C++

#ifndef APPS_TOOLBOX_CONTROLLER_H
#define APPS_TOOLBOX_CONTROLLER_H
#include <escher.h>
#include "node_navigation_controller.h"
#include "toolbox_leaf_cell.h"
class ToolboxController : 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:
ToolboxLeafCell m_leafCells[NodeListViewController::k_maxNumberOfDisplayedRows];
ChevronMenuListCell m_nodeCells[NodeListViewController::k_maxNumberOfDisplayedRows];
Node * nodeModel() override;
bool selectLeaf(Node * selectedNode) override;
};
#endif