Numworks Epsilon  1.4.1
Graphing Calculator Operating System
tab_view_cell.h
Go to the documentation of this file.
1 #ifndef ESCHER_TAB_VIEW_CELL_H
2 #define ESCHER_TAB_VIEW_CELL_H
3 
4 #include <escher/view.h>
5 #include <escher/i18n.h>
6 #include <escher/text_view.h>
8 
9 class TabViewCell : public View {
10 public:
11  TabViewCell();
12  void drawRect(KDContext * ctx, KDRect rect) const override;
13  void setNamedController(ViewController * controller);
14  void setActive(bool active);
15  void setSelected(bool selected);
16  KDSize minimalSizeForOptimalDisplay() const override;
17 protected:
18 #if ESCHER_VIEW_LOGGING
19  const char * className() const override;
20  void logAttributes(std::ostream &os) const override;
21 #endif
22 private:
23  bool m_active;
24  bool m_selected;
25  ViewController * m_controller;
26 };
27 
28 #endif
Definition: size.h:6
void setSelected(bool selected)
KDSize minimalSizeForOptimalDisplay() const override
Definition: rect.h:26
Definition: view.h:23
void setNamedController(ViewController *controller)
void drawRect(KDContext *ctx, KDRect rect) const override
void setActive(bool active)