1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
//=============================================================================
// MusE
// Linux Music Editor
// $Id:$
//
// Copyright (C) 2002-2006 by Werner Schweer and others
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//=============================================================================
#include "gconfig.h"
GlobalConfigValues config = {
":/style.qss", // default style sheet
{
QColor(255, 232, 140), // part colors
QColor(0xff, 0x00, 0x00),
QColor(0x00, 0xff, 0x00),
QColor(0x00, 0x00, 0xff),
QColor(0xff, 0xff, 0x00),
QColor(0x00, 0xff, 0xff),
QColor(0xff, 0x00, 0xff),
QColor(0x9f, 0xc7, 0xef),
QColor(0x00, 0xff, 0x7f),
QColor(0x7f, 0x00, 0x00),
QColor(0x00, 0x7f, 0x00),
QColor(0x00, 0x00, 0x7f),
QColor(0x7f, 0x7f, 0x3f),
QColor(0x00, 0x7f, 0x7f),
QColor(0x7f, 0x00, 0x7f),
QColor(0x00, 0x7f, 0xff),
QColor(0x00, 0x3f, 0x3f)
},
QColor(100, 100, 100), // selected Part Bg
QColor(0, 0, 255), // transportHandleColor;
QColor(255, 0, 0), // bigTimeForegroundColor;
QColor(0, 0, 0), // bigTimeBackgroundColor;
QColor(200, 200, 200), // waveEditBackgroundColor;
{
QColor(Qt::white), // outputTrackBg;
QColor(Qt::yellow), // groupTrackBg;
QColor(Qt::green), // waveTrackBg;
QColor(Qt::red), // inputTrackBg;
QColor(Qt::blue), // synthTrackBg;
QColor(Qt::gray), // midi;
QColor(Qt::gray), // midiOut;
QColor(Qt::gray), // midiIn;
QColor(Qt::gray), // midiSynti;
},
QColor(0, 0, 0), // mixerBg;
384, // division;
1024, // rtcTicks
-60.0, // minMeter (dB)
10.0, // maxMeter (dB)
-60.0, // double minSlider (dB)
10.0, // double maxSlider (dB)
20, // int guiRefresh;
2000, // peak hold time (ms)
QString(""), // helpBrowser
true, // extendedMidi
384, // division for smf export
QString(""), // copyright string for smf export
1, // smf export file format
START_ASK_FOR_PROJECT, // startMode
QString(""), // start song path
384, // gui division
QRect(0, 0, 200, 100), // GeometryTransport;
QRect(0, 0, 600, 200), // GeometryBigTime;
QRect(100, 100, 600, 400), // GeometryPianoroll;
QRect(0, 0, 600, 400), // GeometryDrumedit;
{
QRect(0, 0, 300, 500), // Mixer1
false, true, true, true,
true, true, true, true, true, true
},
{
QRect(200, 200, 300, 500), // Mixer2
false, true, true, true,
true, true, true, true, true, true
},
false, // TransportVisible
false, // BigTimeVisible;
false, // mixerVisible1;
false, // mixerVisible2;
true, // showSplashScreen
QColor(0x71, 0x8d, 0xbe), // canvasBgColor
QString(""), // canvasBgPixmap;
false, // canvasUseBgPixmap;
1, // canvasShowPartType 1 - names, 2 events
5, // canvasShowPartEvent
false, // canvasShowGrid;
false, // use JACK freewheel mode
QString("sweep"), // externalWavEditor shell command
QString(""), // defaultMidiInputDevice
QString(""), // defaultMidiOutputDevice
QString(""), // defaultMidiInstrument
true, // connectToAllMidiDevices
true, // connectToAllMidiTracks
true, // createDefaultMidiInput
QString("MusE/projects"), // projectPath
QString("MusE/templates"), // templatePath
QString("MusE/instruments"), // instrumentPath
QString("MusE/"), // midi import path
QString("MusE/"), // wave import path
};
|