Files
Upsilon/apps/settings/menu_cell.h
Émilie Feral f89c770bbc [apps/settings] Create a class menu cell
Change-Id: I609c54eeb3e4e4d68327f1ca1defebecfcef80a8
2017-01-30 15:30:58 +01:00

24 lines
462 B
C++

#ifndef SETTINGS_MENU_CELL_H
#define SETTINGS_MENU_CELL_H
#include <escher.h>
namespace Settings {
class MenuCell : public ChevronMenuListCell {
public:
MenuCell();
void reloadCell() override;
void setSubtitle(const char * text);
private:
static constexpr KDCoordinate k_margin = 8;
int numberOfSubviews() const override;
View * subviewAtIndex(int index) override;
void layoutSubviews() override;
PointerTextView m_subtitleView;
};
}
#endif