1 #ifndef ESCHER_TAB_VIEW_CONTROLLER_H 2 #define ESCHER_TAB_VIEW_CONTROLLER_H 26 class ContentView :
public View {
33 #if ESCHER_VIEW_LOGGING 34 const char * className()
const override;
37 int numberOfSubviews()
const override;
38 View * subviewAtIndex(
int index)
override;
39 void layoutSubviews()
override;
46 static constexpr
uint8_t k_maxNumberOfChildren = 4;
TabViewController(Responder *parentResponder, TabViewDataSource *dataSource, ViewController *one, ViewController *two, ViewController *three, ViewController *four=nullptr)
void willResignFirstResponder() override
void setActiveTab(int8_t index)
void didEnterResponderChain(Responder *previousResponder) override
Responder * parentResponder() const
void viewWillAppear() override
bool handleEvent(Ion::Events::Event event) override
void didBecomeFirstResponder() override
const char * tabName(uint8_t index)
void setSelectedTab(int8_t index)
void viewDidDisappear() override