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