mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
20 lines
417 B
C++
20 lines
417 B
C++
#ifndef SHARED_CURSOR_VIEW_H
|
|
#define SHARED_CURSOR_VIEW_H
|
|
|
|
#include <escher.h>
|
|
|
|
namespace Shared {
|
|
|
|
class CursorView : public View {
|
|
public:
|
|
virtual void setCursorFrame(KDRect frame, bool force) { View::setFrame(frame, force); }
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
KDSize minimalSizeForOptimalDisplay() const override;
|
|
private:
|
|
constexpr static KDCoordinate k_size = 19;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|