|
Canorus
0.7
|
00001 00008 #ifndef DRAWABLEREST_H_ 00009 #define DRAWABLEREST_H_ 00010 00011 #include "drawable/drawablemuselement.h" 00012 #include "core/rest.h" 00013 00014 class CADrawableRest : public CADrawableMusElement { 00015 public: 00016 CADrawableRest(CARest *rest, CADrawableContext *drawableContext, double x, double y); 00017 CADrawableRest *clone(CADrawableContext* newContext = 0); 00018 ~CADrawableRest(); 00019 00020 void draw(QPainter *p, CADrawSettings s); 00021 00022 inline CARest* rest() { return static_cast<CARest*>(_musElement); } 00023 00024 private: 00025 double _restWidth; 00026 }; 00027 00028 #endif /*DRAWABLEREST_H_*/
1.8.0