Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
drawablebarline.h
Go to the documentation of this file.
1 
8 #ifndef DRAWABLEBARLINE_H_
9 #define DRAWABLEBARLINE_H_
10 
12 
13 class CADrawableStaff;
14 class CABarline;
15 
17  public:
18  CADrawableBarline(CABarline *m, CADrawableStaff *staff, double x, double y);
20 
21  void draw(QPainter *p, CADrawSettings s);
22  CADrawableBarline *clone(CADrawableContext* newContext = 0);
23  inline CABarline *barline() { return (CABarline*)_musElement; }
24 
25  private:
26  static const float SPACE_BETWEEN_BARLINES;
27 
28  static const float BARLINE_WIDTH;
29  static const float BOLD_BARLINE_WIDTH;
30  static const float REPEAT_DOTS_WIDTH;
31  static const float DOTTED_BARLINE_WIDTH;
32 };
33 
34 #endif /*DRAWABLEBARLINE_H_*/