Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
/home/iurt/rpm/BUILD/canorus-0.7.R1002/src/drawable/drawableaccidental.h
Go to the documentation of this file.
00001 
00008 #ifndef DRAWABLEACCIDENTAL_H_
00009 #define DRAWABLEACCIDENTAL_H_
00010 
00011 #include "drawable/drawablemuselement.h"
00012 
00013 class CADrawableAccidental : public CADrawableMusElement {
00014         public:
00015                 CADrawableAccidental(signed char accs, CAMusElement *musElement, CADrawableContext *drawableContext, double x, double y);
00016                 ~CADrawableAccidental();
00017                 void draw(QPainter *p, CADrawSettings s);
00018                 CADrawableAccidental *clone(CADrawableContext* newContext = 0);
00019 
00020         private:
00021                 signed char _accs;
00022                 double _centerX, _centerY; // easier to do clone(), otherwise not needed
00023 };
00024 
00025 #endif /* DRAWABLEACCIDENTAL_H_ */