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
drawablebarline.h
Go to the documentation of this file.
1
8
#ifndef DRAWABLEBARLINE_H_
9
#define DRAWABLEBARLINE_H_
10
11
#include "
drawable/drawablemuselement.h
"
12
13
class
CADrawableStaff
;
14
class
CABarline
;
15
16
class
CADrawableBarline
:
public
CADrawableMusElement
{
17
public
:
18
CADrawableBarline
(
CABarline
*m,
CADrawableStaff
*staff,
double
x,
double
y);
19
~CADrawableBarline
();
20
21
void
draw
(QPainter *p,
CADrawSettings
s);
22
CADrawableBarline
*
clone
(
CADrawableContext
* newContext = 0);
23
inline
CABarline
*
barline
() {
return
(
CABarline
*)
_musElement
; }
24
25
private
:
26
static
const
float
SPACE_BETWEEN_BARLINES
;
27
28
static
const
float
BARLINE_WIDTH
;
29
static
const
float
BOLD_BARLINE_WIDTH
;
30
static
const
float
REPEAT_DOTS_WIDTH
;
31
static
const
float
DOTTED_BARLINE_WIDTH
;
32
};
33
34
#endif
/*DRAWABLEBARLINE_H_*/
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3