|
Canorus
0.7
|
00001 00008 #ifndef DRAWABLETIMESIGNATURE_H_ 00009 #define DRAWABLETIMESIGNATURE_H_ 00010 00011 #include "drawable/drawablemuselement.h" 00012 #include "core/timesignature.h" 00013 #include "canorus.h" 00014 00015 class CADrawableStaff; 00016 00017 class CADrawableTimeSignature : public CADrawableMusElement { 00018 public: 00019 CADrawableTimeSignature(CATimeSignature *timeSig, CADrawableStaff *drawableStaff, double x, double y); 00020 ~CADrawableTimeSignature(); 00021 void draw(QPainter *p, CADrawSettings s); 00022 CADrawableTimeSignature *clone(CADrawableContext* newContext = 0); 00023 inline CATimeSignature *timeSignature() { return static_cast<CATimeSignature*>(_musElement); } 00024 }; 00025 00026 #endif /*DRAWABLETIMESIGNATURE_H_*/
1.8.0