Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
drawablelyricscontext.h
Go to the documentation of this file.
1 
8 #ifndef DRAWABLELYRICSCONTEXT_H_
9 #define DRAWABLELYRICSCONTEXT_H_
10 
12 #include "core/lyricscontext.h"
13 
14 class CALyricsContext;
15 
17 public:
18  CADrawableLyricsContext(CALyricsContext *c, double x, double y);
20 
22  void draw(QPainter *p, const CADrawSettings s);
23 
24  CALyricsContext *lyricsContext() { return static_cast<CALyricsContext*>(context()); }
25 
26  static const double DEFAULT_TEXT_VERTICAL_SPACING;
27 };
28 
29 #endif /* DRAWABLELYRICSCONTEXT_H_ */