round_cursor_view.h 410 Bytes
#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