1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef SHARED_CURSOR_VIEW_H #define SHARED_CURSOR_VIEW_H #include <escher.h> namespace Shared { class CursorView : public View { public: using View::View; void drawRect(KDContext * ctx, KDRect rect) const override; KDSize minimalSizeForOptimalDisplay() const override; private: constexpr static KDCoordinate k_size = 19; }; } #endif