|
Canorus
0.7
|
00001 00008 #ifndef DRAWABLEBARLINE_H_ 00009 #define DRAWABLEBARLINE_H_ 00010 00011 #include "drawable/drawablemuselement.h" 00012 00013 class CADrawableStaff; 00014 class CABarline; 00015 00016 class CADrawableBarline : public CADrawableMusElement { 00017 public: 00018 CADrawableBarline(CABarline *m, CADrawableStaff *staff, double x, double y); 00019 ~CADrawableBarline(); 00020 00021 void draw(QPainter *p, CADrawSettings s); 00022 CADrawableBarline *clone(CADrawableContext* newContext = 0); 00023 inline CABarline *barline() { return (CABarline*)_musElement; } 00024 00025 private: 00026 static const float SPACE_BETWEEN_BARLINES; 00027 00028 static const float BARLINE_WIDTH; 00029 static const float BOLD_BARLINE_WIDTH; 00030 static const float REPEAT_DOTS_WIDTH; 00031 static const float DOTTED_BARLINE_WIDTH; 00032 }; 00033 00034 #endif /*DRAWABLEBARLINE_H_*/
1.8.0