|
Canorus
0.7
|
00001 00008 #ifndef DRAWABLELYRICSCONTEXT_H_ 00009 #define DRAWABLELYRICSCONTEXT_H_ 00010 00011 #include "drawable/drawablecontext.h" 00012 #include "core/lyricscontext.h" 00013 00014 class CALyricsContext; 00015 00016 class CADrawableLyricsContext : public CADrawableContext { 00017 public: 00018 CADrawableLyricsContext(CALyricsContext *c, double x, double y); 00019 ~CADrawableLyricsContext(); 00020 00021 CADrawableLyricsContext* clone(); 00022 void draw(QPainter *p, const CADrawSettings s); 00023 00024 CALyricsContext *lyricsContext() { return static_cast<CALyricsContext*>(context()); } 00025 00026 static const double DEFAULT_TEXT_VERTICAL_SPACING; 00027 }; 00028 00029 #endif /* DRAWABLELYRICSCONTEXT_H_ */
1.8.0