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