comparison gui/win32/skinload.h @ 35503:ac6c531dc9d1

Replace symbolic GUI message (event) constants by enums. Additionally, rearrange and add doxygen comments.
author ib
date Wed, 05 Dec 2012 01:42:50 +0000
parents ac6b38cd0d45
children 28ea255e40ce
comparison
equal deleted inserted replaced
35502:381cd31289f2 35503:ac6c531dc9d1
130 #define wiMenu 3 130 #define wiMenu 3
131 #define wiPlaybar 4 131 #define wiPlaybar 4
132 132
133 /* --- User events --- */ 133 /* --- User events --- */
134 134
135 #define evNone 0 135 enum
136 #define evPlay 1 136 {
137 #define evStop 2 137 evNone,
138 #define evPause 3 138 evPlay,
139 #define evPrev 6 139 evStop,
140 #define evNext 7 140 evPause,
141 #define evLoad 8 141 evPrev,
142 #define evLoadPlay 13 142 evNext,
143 #define evLoadAudioFile 42 143 evLoad,
144 #define evLoadSubtitle 38 144 evLoadPlay,
145 #define evDropSubtitle 43 145 evLoadAudioFile,
146 #define evPlaylist 10 146 evLoadSubtitle,
147 #define evPlayCD 48 147 evDropSubtitle,
148 #define evPlayVCD 40 148 evPlaylist,
149 #define evPlayDVD 39 149 evPlayCD,
150 #define evLoadURL 5013 150 evPlayVCD,
151 #define evPlaySwitchToPause 16 151 evPlayDVD,
152 #define evPauseSwitchToPlay 17 152 evLoadURL,
153 153 evPlaySwitchToPause,
154 #define evBackward10sec 18 154 evPauseSwitchToPlay,
155 #define evForward10sec 19 155 evBackward10sec,
156 #define evBackward1min 20 156 evForward10sec,
157 #define evForward1min 21 157 evBackward1min,
158 #define evBackward10min 22 158 evForward1min,
159 #define evForward10min 23 159 evBackward10min,
160 #define evSetMoviePosition 27 160 evForward10min,
161 161 evSetMoviePosition,
162 #define evHalfSize 301 162 evHalfSize,
163 #define evDoubleSize 25 163 evDoubleSize,
164 #define evFullScreen 26 164 evFullScreen,
165 #define evNormalSize 24 165 evNormalSize,
166 #define evSetAspect 44 166 evSetAspect,
167 167 evIncVolume,
168 #define evIncVolume 31 168 evDecVolume,
169 #define evDecVolume 32 169 evSetVolume,
170 #define evSetVolume 28 170 evMute,
171 #define evMute 30 171 evSetBalance,
172 #define evSetBalance 29 172 evEqualizer,
173 #define evEqualizer 9 173 evAbout,
174 174 evPreferences,
175 #define evAbout 12 175 evSkinBrowser,
176 #define evPreferences 14 176 evMenu,
177 #define evSkinBrowser 15 177 evIconify,
178 #define evMenu 33 178 evExit = 100
179 179 };
180 #define evIconify 11
181 #define evExit 1000
182 180
183 /* --- Internal events --- */ 181 /* --- Internal events --- */
184 182
185 #define ivSetAudio 45 183 enum
186 #define ivSetVideo 46 184 {
187 #define ivSetSubtitle 47 185 ivSetVideo = 1000,
188 186 ivSetAudio,
189 #define ivShowPopUpMenu 5005 187 ivSetSubtitle,
190 #define ivHidePopUpMenu 5006 188 ivSetCDTrack,
191 #define ivSetDVDAudio 5007 189 ivSetVCDTrack,
192 #define ivSetDVDSubtitle 5008 190 ivSetDVDTitle,
193 #define ivSetDVDTitle 5009 191 ivSetDVDChapter,
194 #define ivSetDVDChapter 5010 192 ivSetDVDAudio,
195 #define ivSetVCDTrack 5012 193 ivSetDVDSubtitle,
196 #define ivSetCDTrack 5014 194 ivPlayDVD,
197 195 ivShowPopUpMenu,
198 #define ivRedraw 7002 196 ivHidePopUpMenu,
199 #define ivPlayDVD 7003 197 ivRedraw
198 };
200 199
201 #endif /* MPLAYER_GUI_SKINLOAD_H */ 200 #endif /* MPLAYER_GUI_SKINLOAD_H */