1 //=============================================================================
2 //  MuseScore
3 //  Linux Music Score Editor
4 //
5 //  Copyright (C) 2002-2009 Werner Schweer and others
6 //
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License version 2.
9 //
10 //  This program is distributed in the hope that it will be useful,
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 //  GNU General Public License for more details.
14 //
15 //  You should have received a copy of the GNU General Public License
16 //  along with this program; if not, write to the Free Software
17 //  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __ICONS_H__
21 #define __ICONS_H__
22 
23 namespace Ms {
24 
25 extern void genIcons();
26 
27 // keep in sync with iconNames[] in icons.cpp
28 enum class Icons : short { Invalid_ICON = -1,
29       longaUp_ICON, brevis_ICON, note_ICON, note2_ICON, note4_ICON, note8_ICON, note16_ICON,
30       note32_ICON, note64_ICON, note128_ICON, note256_ICON, note512_ICON, note1024_ICON,
31       natural_ICON, sharp_ICON, sharpsharp_ICON, flat_ICON, flatflat_ICON,
32       quartrest_ICON, dot_ICON, dotdot_ICON, dot3_ICON, dot4_ICON,
33       flip_ICON,
34       undo_ICON, redo_ICON, cut_ICON, copy_ICON, paste_ICON, swap_ICON, print_ICON, clef_ICON,
35       midiin_ICON, speaker_ICON, start_ICON, play_ICON, repeat_ICON, pan_ICON,
36       sbeam_ICON, mbeam_ICON, nbeam_ICON, beam32_ICON, beam64_ICON, abeam_ICON, fbeam1_ICON, fbeam2_ICON,
37       file_ICON, fileOpen_ICON, fileNew_ICON, fileSave_ICON, fileSaveAs_ICON,
38       fileSaveOnline_ICON,
39       window_ICON, acciaccatura_ICON, appoggiatura_ICON,
40       grace4_ICON, grace16_ICON, grace32_ICON,
41       grace8after_ICON, grace16after_ICON, grace32after_ICON,
42       noteEntry_ICON, // noteEntrySteptime_ICON, (using normal icon for the time being.)
43       noteEntryRepitch_ICON, noteEntryRhythm_ICON, noteEntryRealtimeAuto_ICON, noteEntryRealtimeManual_ICON,
44       keys_ICON, tie_ICON,
45       textBold_ICON, textItalic_ICON, textUnderline_ICON,
46       textLeft_ICON, textCenter_ICON, textRight_ICON, textTop_ICON, textBottom_ICON, textVCenter_ICON, textBaseline_ICON,
47       textSuper_ICON, textSub_ICON,
48       fotomode_ICON,
49       hraster_ICON, vraster_ICON,
50       formatListUnordered_ICON, formatListOrdered_ICON,
51       formatIndentMore_ICON, formatIndentLess_ICON,
52       loop_ICON, loopIn_ICON, loopOut_ICON, metronome_ICON, countin_ICON,
53       vframe_ICON, hframe_ICON, tframe_ICON, fframe_ICON, measure_ICON, checkmark_ICON,
54       mscz_ICON,
55       helpContents_ICON, goHome_ICON, goPrevious_ICON, goNext_ICON, viewRefresh_ICON,
56       parentheses_ICON, brackets_ICON, braces_ICON,
57       timesig_allabreve_ICON, timesig_common_ICON, timesig_prolatio01_ICON, timesig_prolatio02_ICON,
58       timesig_prolatio03_ICON, timesig_prolatio04_ICON, timesig_prolatio05_ICON, timesig_prolatio07_ICON,
59       timesig_prolatio08_ICON, timesig_prolatio10_ICON, timesig_prolatio11_ICON, edit_ICON, reset_ICON, close_ICON,
60       arrowUp_ICON, arrowDown_ICON,
61       mail_ICON, bug_ICON, bin_ICON,
62       noteTimewise_ICON,
63       arrowsMoveToTop_ICON, arrowsMoveToBottom_ICON,
64       voice1_ICON, voice2_ICON, voice3_ICON, voice4_ICON,
65       ICONS
66       };
67 
68 extern QIcon* icons[];
69 
70 } // namespace Ms
71 #endif
72 
73