Numworks Epsilon  1.4.1
Graphing Calculator Operating System
cursor_view.h
Go to the documentation of this file.
1 #ifndef SHARED_CURSOR_VIEW_H
2 #define SHARED_CURSOR_VIEW_H
3 
4 #include <escher.h>
5 
6 namespace Shared {
7 
8 class CursorView : public View {
9 public:
10  using View::View;
11  void drawRect(KDContext * ctx, KDRect rect) const override;
12  KDSize minimalSizeForOptimalDisplay() const override;
13 private:
14  constexpr static KDCoordinate k_size = 19;
15 };
16 
17 }
18 
19 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
Definition: size.h:6
KDSize minimalSizeForOptimalDisplay() const override
Definition: cursor_view.cpp:12
Definition: rect.h:26
View()
Definition: view.cpp:6
Definition: view.h:23
void drawRect(KDContext *ctx, KDRect rect) const override
Definition: cursor_view.cpp:5