|
Canorus
0.7
|
#include <drawableaccidental.h>

Private Attributes | |
| signed char | _accs |
| double | _centerX |
| double | _centerY |
Additional Inherited Members | |
Public Types inherited from CADrawableMusElement | |
| enum | CADrawableMusElementType { DrawableNote, DrawableRest, DrawableClef, DrawableKeySignature, DrawableTimeSignature, DrawableBarline, DrawableAccidental, DrawableSlur, DrawableTuplet, DrawableSyllable, DrawableFunctionMark, DrawableFunctionMarkSupport, DrawableMark } |
Protected Member Functions inherited from CADrawableMusElement | |
| void | setDrawableMusElementType (CADrawableMusElementType t) |
Protected Attributes inherited from CADrawableMusElement | |
| CADrawableMusElementType | _drawableMusElementType |
| CADrawableContext * | _drawableContext |
| CAMusElement * | _musElement |
| bool | _selectable |
Static Protected Attributes inherited from CADrawable | |
| static const int | SCALE_HANDLES_SIZE = 2 |
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 CAScoreViewPort::paintEvent().


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