1 /*
2  *  tracker/TrackerConfig.h
3  *
4  *  Copyright 2009 Peter Barth
5  *
6  *  This file is part of Milkytracker.
7  *
8  *  Milkytracker is free software: you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation, either version 3 of the License, or
11  *  (at your option) any later version.
12  *
13  *  Milkytracker is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with Milkytracker.  If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef TRACKERCONFIG__H
24 #define TRACKERCONFIG__H
25 
26 #include "BasicTypes.h"
27 
28 #define NUMEFFECTMACROS 20
29 
30 class TrackerConfig
31 {
32 public:
33 	static const PPString stringButtonPlus;
34 	static const PPString stringButtonMinus;
35 	static const PPString stringButtonUp;
36 	static const PPString stringButtonDown;
37 	static const PPString stringButtonExtended;
38 	static const PPString stringButtonCollapsed;
39 
40 	enum
41 	{
42 		MAXCHANNELS = 256,
43 		MAXNOTES = 120, // 10 octaves, even though FT2 only uses 8
44 	};
45 
46 	static const PPPoint trackerExitBounds;
47 
48 	static PPColor colorThemeMain;
49 	static PPColor colorRecordModeButtonText;
50 
51 	// Pattern colors
52 	static PPColor colorPatternEditorBackground;
53 	static PPColor colorPatternEditorCursor;
54 	static PPColor colorPatternEditorCursorLine;
55 	static PPColor colorPatternEditorCursorLineHighLight;
56 	static PPColor colorPatternEditorSelection;
57 
58 	static PPColor colorPatternEditorNote;
59 	static PPColor colorPatternEditorInstrument;
60 	static PPColor colorPatternEditorVolume;
61 	static PPColor colorPatternEditorEffect;
62 	static PPColor colorPatternEditorOperand;
63 
64 	static PPColor colorHighLight_1;
65 	static PPColor colorHighLight_2;
66 	static PPColor colorScopes;
67 	static PPColor colorScopesRecordIndicator;
68 	static PPColor colorPeakClipIndicator;
69 
70 	static PPColor colorRowHighLight_1;
71 	static PPColor colorRowHighLight_2;
72 
73 	static PPColor colorSampleEditorWaveform;
74 
75 	static pp_int32 numTabs;
76 
77 	static pp_int32 numPlayerChannels;
78 	static pp_int32 numVirtualChannels;
79 	static pp_int32 totalPlayerChannels;
80 	static const pp_int32 maximumPlayerChannels;
81 
82 	static bool useVirtualChannels;
83 
84 	static const pp_int32 numPredefinedEnvelopes;
85 	static const pp_int32 numPredefinedColorPalettes;
86 
87 	static const PPString defaultPredefinedVolumeEnvelope;
88 	static const PPString defaultPredefinedPanningEnvelope;
89 	static const PPString defaultProTrackerPanning;
90 
91 	static const PPString defaultColorPalette;
92 	static const char* predefinedColorPalettes[];
93 
94 	static const PPSystemString untitledSong;
95 
96 	static const pp_int32 numMixFrequencies;
97 	static const pp_int32 mixFrequencies[];
98 
99 	static const pp_uint32 version;
100 };
101 
102 #endif
103