Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
drawablerest.h
Go to the documentation of this file.
1 
8 #ifndef DRAWABLEREST_H_
9 #define DRAWABLEREST_H_
10 
12 #include "core/rest.h"
13 
15  public:
17  CADrawableRest *clone(CADrawableContext* newContext = 0);
19 
20  void draw(QPainter *p, CADrawSettings s);
21 
22  inline CARest* rest() { return static_cast<CARest*>(_musElement); }
23 
24  private:
25  double _restWidth;
26 };
27 
28 #endif /*DRAWABLEREST_H_*/