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