1 #ifndef BUTTON_ROW_CONTROLLER_H 2 #define BUTTON_ROW_CONTROLLER_H 29 View *
view()
override {
return &m_contentView; }
30 const char *
title()
override;
39 class ContentView :
public View {
42 int numberOfButtons()
const;
43 Button * buttonAtIndex(
int index)
const;
44 int numberOfSubviews()
const override;
45 View * subviewAtIndex(
int index)
override;
46 void layoutSubviews()
override;
50 ViewController * mainViewController()
const {
return m_mainViewController; }
54 constexpr
static KDCoordinate k_embossedStyleHeightSmall = 36;
55 constexpr
static KDCoordinate k_embossedStyleHeightLarge = 52;
56 constexpr
static KDCoordinate k_embossedStyleHeightMarginSmall = 6;
57 constexpr
static KDCoordinate k_embossedStyleHeightMarginLarge = 8;
67 ContentView m_contentView;
Responder * parentResponder() const
static constexpr KDColor RGB24(uint32_t rgb)