|
Canorus
0.0
|
#include <drawableaccidental.h>

Private Attributes | |
| signed char | _accs |
| double | _centerX |
| double | _centerY |
Copyright (c) 2006-2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.
| CADrawableAccidental::CADrawableAccidental | ( | signed char | accs, |
| CAMusElement * | musElement, | ||
| CADrawableContext * | drawableContext, | ||
| double | x, | ||
| double | y | ||
| ) |
Copyright (c) 2006-2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.
Default constructor.
| accs | Type of the accidental: 0 - natural, -1 - flat, +1 - sharp, -2 doubleflat, +2 - cross etc. |
| musElement | Pointer to the according musElement which the accidental represents (usually a CANote or CAKeySignature). |
| drawableContext | Pointer to the according drawable context which the accidental belongs to (usually CADrawableStaff or CADrawableFiguredBass). |
| x | Left X-coordinate of the accidental. |
| y | Center Y-coordinate of the accidental. |
References _accs, _centerX, _centerY, CADrawableMusElement::DrawableAccidental, CADrawable::height(), CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setSelectable(), CADrawable::setWidth(), CADrawable::setXPos(), and CADrawable::setYPos().
Referenced by clone().


| CADrawableAccidental::~CADrawableAccidental | ( | ) |
|
virtual |
Implements CADrawableMusElement.
References _accs, _centerX, _centerY, CADrawableMusElement::_drawableContext, CADrawableMusElement::_musElement, and CADrawableAccidental().

|
virtual |
Implements CADrawable.
References _accs, CADrawSettings::color, CACanorus::fetaCodepoint(), CADrawable::height(), CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.
Referenced by CAScoreView::paintEvent().


|
private |
Referenced by CADrawableAccidental(), clone(), and draw().
|
private |
Referenced by CADrawableAccidental(), and clone().
|
private |
Referenced by CADrawableAccidental(), and clone().