Numworks Epsilon  1.4.1
Graphing Calculator Operating System
chevron_view.h
Go to the documentation of this file.
1 #ifndef ESCHER_CHEVRON_VIEW_H
2 #define ESCHER_CHEVRON_VIEW_H
3 
4 #include <escher/view.h>
5 
6 class ChevronView : public View {
7 public:
8  ChevronView();
9  void drawRect(KDContext * ctx, KDRect rect) const override;
10  KDSize minimalSizeForOptimalDisplay() const override;
11  /* k_chevronHeight and k_chevronWidth are the dimensions of the chevron. */
12  constexpr static KDCoordinate k_chevronHeight = 10;
13  constexpr static KDCoordinate k_chevronWidth = 8;
14 };
15 
16 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
static constexpr KDCoordinate k_chevronWidth
Definition: chevron_view.h:13
Definition: size.h:6
KDSize minimalSizeForOptimalDisplay() const override
void drawRect(KDContext *ctx, KDRect rect) const override
Definition: rect.h:26
static constexpr KDCoordinate k_chevronHeight
Definition: chevron_view.h:12
Definition: view.h:23