Blame view

build6/epsilon-master/apps/shared/round_cursor_view.h 410 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  #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