mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
21 lines
410 B
C++
21 lines
410 B
C++
#ifndef SHARED_ROUND_CURSOR_VIEW_H
|
|
#define SHARED_ROUND_CURSOR_VIEW_H
|
|
|
|
#include <escher.h>
|
|
|
|
namespace Shared {
|
|
|
|
class RoundCursorView : public TransparentView {
|
|
public:
|
|
RoundCursorView(KDColor color = KDColorBlack);
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
KDSize minimalSizeForOptimalDisplay() const override;
|
|
void setColor(KDColor color);
|
|
private:
|
|
KDColor m_color;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|