21 #define MSC_VERSION "3.01" 22 static constexpr
int MSCVERSION = 301;
75 inline int
staff2track(int staffIdx) {
return staffIdx << 2; }
80 static const int MAX_TAGS = 32;
82 static constexpr qreal INCH = 25.4;
83 static constexpr qreal PPI = 72.0;
84 static constexpr qreal DPI_F = 5;
85 static constexpr qreal DPI = 72.0 * DPI_F;
86 static constexpr qreal SPATIUM20 = 5.0 * (DPI / 72.0);
87 static constexpr qreal DPMM = DPI / INCH;
89 static constexpr
int MAX_STAVES = 4;
91 static const int SHADOW_NOTE_LIGHT = 135;
93 static const char mimeSymbolFormat[] =
"application/musescore/symbol";
94 static const char mimeSymbolListFormat[] =
"application/musescore/symbollist";
95 static const char mimeStaffListFormat[] =
"application/musescore/stafflist";
97 static const int VISUAL_STRING_NONE = -100;
99 static const int STRING_NONE = -1;
100 static const int FRET_NONE = -1;
211 return static_cast<BarLineType>(
static_cast<int>(t1) | static_cast<int>(t2));
214 return static_cast<int>(t1) & static_cast<int>(t2);
271 virtual int metric(PaintDeviceMetric m)
const;
275 virtual QPaintEngine* paintEngine()
const;
311 static bool readDefaultStyle(QString file);
313 static void defaultStyleForPartsHasChanged();
380 static const char* errorGroup();
387 inline static qreal center(qreal x1, qreal x2)
389 return (x1 + (x2 - x1) * .5);
396 inline static int limit(
int val,
int min,
int max)
DirectionH
Definition: mscore.h:297
static MStyle * _defaultStyleForParts
Definition: mscore.h:288
static bool showCorruptedMeasures
Definition: mscore.h:351
static bool noHorizontalStretch
Definition: mscore.h:344
int track2staff(int voice)
Definition: mscore.h:76
static QString _globalShare
Definition: mscore.h:290
HairpinType
Definition: hairpin.h:27
OrnamentStyle
Definition: mscore.h:298
AccidentalVal
Definition: mscore.h:147
static int defaultPlayDuration
Definition: mscore.h:340
static qreal verticalPageGap
Definition: mscore.h:372
virtual ~MPaintDevice()
Definition: mscore.h:276
MsError no
Definition: mscore.h:258
static bool useFallbackFont
Definition: mscore.h:352
static QColor dropColor
Definition: mscore.h:329
static bool showSkylines
Definition: mscore.h:347
static MsError _error
Definition: mscore.h:299
static std::vector< MScoreError > errorList
Definition: mscore.h:303
SelectType
Definition: mscore.h:139
constexpr ArticulationShowIn operator|(ArticulationShowIn a1, ArticulationShowIn a2)
Definition: articulation.h:45
int trackZeroVoice(int track)
Definition: mscore.h:78
static MStyle _defaultStyle
Definition: mscore.h:287
int staff2track(int staffIdx)
Definition: mscore.h:75
static bool showMeasureShapes
Definition: mscore.h:348
static bool testMode
Definition: mscore.h:355
NoteHeadScheme
Definition: mscore.h:182
Definition: sequencer.h:26
static bool pdfPrinting
Definition: mscore.h:368
StaffGroup
Definition: mscore.h:177
static bool showBoundingRect
Definition: mscore.h:349
static QColor bgColor
Definition: mscore.h:332
static MStyle & defaultStyle()
Definition: mscore.h:308
static bool svgPrinting
Definition: mscore.h:369
static qreal hRaster()
Definition: mscore.h:316
IconType
Definition: mscore.h:219
static void setVRaster(int val)
Definition: mscore.h:319
static int mtcType
Definition: mscore.h:359
int track2voice(int track)
Definition: mscore.h:77
static bool showSegmentShapes
Definition: mscore.h:346
constexpr bool operator &(ArticulationShowIn a1, ArticulationShowIn a2)
Definition: articulation.h:48
static QColor defaultColor
Definition: mscore.h:328
static void setHRaster(int val)
Definition: mscore.h:318
static Sequencer * seq
Definition: mscore.h:360
static bool noImages
Definition: mscore.h:366
static bool saveTemplateMode
Definition: mscore.h:362
#define VOICES
Definition: mscore.h:72
static qreal vRaster()
Definition: mscore.h:317
static void setDefaultStyle(const MStyle &s)
Definition: mscore.h:312
static int _vRaster
Definition: mscore.h:291
const int STAFF_GROUP_MAX
Definition: mscore.h:180
static double pixelRatio
Definition: mscore.h:370
static void setNudgeStep10(qreal val)
Definition: mscore.h:321
static QColor layoutBreakColor
Definition: mscore.h:330
static void setVerticalOrientation(bool val)
Definition: mscore.h:325
static qreal nudgeStep
Definition: mscore.h:337
Definition: aeolus.cpp:26
static bool _verticalOrientation
Definition: mscore.h:292
static const MStyle & baseStyle()
Definition: mscore.h:307
const char * group
Definition: mscore.h:259
static bool playRepeats
Definition: mscore.h:335
static qreal horizontalPageGapEven
Definition: mscore.h:373
KeySigNatural
Definition: mscore.h:159
static void setError(MsError e)
Definition: mscore.h:378
UpDownMode
Definition: mscore.h:169
static bool verticalOrientation()
Definition: mscore.h:324
static int division
Definition: mscore.h:357
static const QString & globalShare()
Definition: mscore.h:315
static int sampleRate
Definition: mscore.h:358
static qreal nudgeStep10
Definition: mscore.h:338
static QColor frameMarginColor
Definition: mscore.h:331
BracketType
Definition: mscore.h:107
static QString lastError
Definition: mscore.h:341
MPaintDevice()
Definition: mscore.h:274
static Q_GADGET MStyle _baseStyle
Definition: mscore.h:286
static bool noExcerpts
Definition: mscore.h:365
static bool debugMode
Definition: mscore.h:354
MsError
Definition: mscore.h:233
static qreal nudgeStep50
Definition: mscore.h:339
static bool panPlayback
Definition: mscore.h:336
PlaceText
Definition: mscore.h:115
static qreal horizontalPageGapOdd
Definition: mscore.h:374
TransposeDirection
Definition: mscore.h:123
const char * txt
Definition: mscore.h:260
static bool warnPitchRange
Definition: mscore.h:333
static void setNudgeStep(qreal val)
Definition: mscore.h:320
static void setNudgeStep50(qreal val)
Definition: mscore.h:322
static MPaintDevice * _paintDevice
Definition: mscore.h:294
static bool showSystemBoundingRect
Definition: mscore.h:350
static const MStyle * defaultStyleForParts()
Definition: mscore.h:309
static bool noVerticalStretch
Definition: mscore.h:345
BarLineType
Definition: mscore.h:199
static bool noGui
Definition: mscore.h:363
TransposeMode
Definition: mscore.h:131
QErrorMessage * errorMessage
Definition: musescore.cpp:217