Numworks Epsilon  1.4.1
Graphing Calculator Operating System
round_cursor_view.h
Go to the documentation of this file.
1 #ifndef SHARED_ROUND_CURSOR_VIEW_H
2 #define SHARED_ROUND_CURSOR_VIEW_H
3 
4 #include <escher.h>
5 
6 namespace Shared {
7 
8 class RoundCursorView : public View {
9 public:
11  void drawRect(KDContext * ctx, KDRect rect) const override;
12  KDSize minimalSizeForOptimalDisplay() const override;
13  void setColor(KDColor color);
14 private:
15  KDColor m_color;
16 };
17 
18 }
19 
20 #endif
KDSize minimalSizeForOptimalDisplay() const override
void setColor(KDColor color)
RoundCursorView(KDColor color=KDColorBlack)
Definition: size.h:6
void drawRect(KDContext *ctx, KDRect rect) const override
constexpr KDColor KDColorBlack
Definition: color.h:41
Definition: rect.h:26
Definition: color.h:6
Definition: view.h:23