Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
drawable
drawablelyricscontext.h
Go to the documentation of this file.
1
8
#ifndef DRAWABLELYRICSCONTEXT_H_
9
#define DRAWABLELYRICSCONTEXT_H_
10
11
#include "
drawable/drawablecontext.h
"
12
#include "
core/lyricscontext.h
"
13
14
class
CALyricsContext
;
15
16
class
CADrawableLyricsContext
:
public
CADrawableContext
{
17
public
:
18
CADrawableLyricsContext
(
CALyricsContext
*c,
double
x,
double
y);
19
~CADrawableLyricsContext
();
20
21
CADrawableLyricsContext
*
clone
();
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_ */
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3