1 | /*
|
---|
2 | * This program is free software; you can redistribute it and/or modify
|
---|
3 | * it under the terms of the GNU General Public License as published by
|
---|
4 | * the Free Software Foundation; either version 2, or (at your option)
|
---|
5 | * any later version.
|
---|
6 | *
|
---|
7 | * This program is distributed in the hope that it will be useful,
|
---|
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
10 | * GNU General Public License for more details.
|
---|
11 | *
|
---|
12 | * You should have received a copy of the GNU General Public License
|
---|
13 | * along with this program; see the file COPYING. If not, write to
|
---|
14 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
15 | */
|
---|
16 | /*
|
---|
17 | * If you need another license for your project/product (commercial,
|
---|
18 | * noncommercial, whatever) contact me at
|
---|
19 | *
|
---|
20 | * http://www.os2world.com/cdwriting
|
---|
21 | * http://www.geocities.com/SiliconValley/Sector/5785/
|
---|
22 | *
|
---|
23 | */
|
---|
24 |
|
---|
25 | #define ID_ICONVOLUME 1
|
---|
26 |
|
---|
27 | /* Audio icons */
|
---|
28 | #define ID_ICONCWAUDIOFILE 2
|
---|
29 | #define ID_ICONMP3FILE 3
|
---|
30 | #define ID_ICONOGGFILE 4
|
---|
31 | #define ID_ICONWAVFILE 5
|
---|
32 | #define ID_ICONAIFFILE 6
|
---|
33 | #define ID_ICONAUFILE 7
|
---|
34 | #define ID_ICON_AUFILE 8
|
---|
35 | #define ID_ICONIFFFILE 9
|
---|
36 | #define ID_ICONSNDFFILE 10
|
---|
37 | #define ID_ICONVOCFILE 11
|
---|
38 | #define ID_ICONMIDIFILE 12
|
---|
39 | #define ID_ICONFLACFILE 34
|
---|
40 |
|
---|
41 | /* Video icons */
|
---|
42 | #define ID_ICONCWVIDEOFILE 13
|
---|
43 | #define ID_ICONMPGFILE 14
|
---|
44 | #define ID_ICONMOVFILE 15
|
---|
45 | #define ID_ICONFLIFILE 16
|
---|
46 | #define ID_ICONAVIFILE 17
|
---|
47 |
|
---|
48 | /* Image icons */
|
---|
49 | #define ID_ICONCWIMAGEFILE 18
|
---|
50 | #define ID_ICONAVCFILE 19
|
---|
51 | #define ID_ICONDIBFILE 20
|
---|
52 | #define ID_ICONGIFFILE 21
|
---|
53 | #define ID_ICONJPGFILE 22
|
---|
54 | #define ID_ICONPCDFILE 23
|
---|
55 | #define ID_ICONPCXFILE 24
|
---|
56 | #define ID_ICONTGAFILE 25
|
---|
57 | #define ID_ICONTIFFILE 26
|
---|
58 | #define ID_ICON_IMFILE 27
|
---|
59 | #define ID_ICONBMPFILE 28
|
---|
60 | #define ID_ICONPNGFILE 33
|
---|
61 | /* Lighttable folder */
|
---|
62 | #define ID_ICONLIGHTTABLE 29
|
---|
63 | #define ID_ICONLIGHTTABLE2 30
|
---|
64 | /* Audio stream icon */
|
---|
65 | #define ID_ICONAUDIOSTREAM 31
|
---|
66 | /* M3U icon*/
|
---|
67 | #define ID_ICONM3UFILE 32
|
---|
68 | /* Last icon id: 34 */
|
---|
69 |
|
---|
70 |
|
---|
71 |
|
---|
72 | #define IDSTR_CONVERTCHANNELS 1614
|
---|
73 | #define IDSTR_CONVERTSAMPLERATE 1615
|
---|
74 | #define IDSTR_CONVERTPLAYTIME 1616
|
---|
75 | #define IDSTR_CONVERTDIALOGERROR 1617
|
---|
76 | #define IDSTR_CONVERTNOSPACETITLE 1618
|
---|
77 | #define IDSTR_CONVERTNOSPACETEXT 1619
|
---|
78 | #define IDSTR_INSTALLERRORTITLE 1620
|
---|
79 | #define IDSTR_AUDIOBROWSETITLE 1621
|
---|
80 | #define IDSTR_IMAGEBROWSETITLE 1622
|
---|
81 |
|
---|
82 |
|
---|
83 |
|
---|
84 | /* Menu IDs */
|
---|
85 | #define ID_MENU_VOLUME 0x6501
|
---|
86 | #define ID_MENU_START 0xbbef
|
---|
87 | #define ID_MENU_STOP 0xbbf9
|
---|
88 | #define ID_MENU_PAUSE 0xbbfa /* Chosen by CW */
|
---|
89 | #define ID_MENU_RESUME 0xbbfb /* Chosen by CW */
|
---|
90 | #define ID_MENU_EDITOR 0xbc0d
|
---|
91 | #define ID_MENU_PLAYER 0xbbe5
|
---|
92 | #define ID_MENU_CONVERT 0xbc03
|
---|
93 | #define ID_ITEM_CONVERT 0xb4dd
|
---|
94 | #define ID_ITEM_FIRSTCONVERT 0xb4dd
|
---|
95 | #define ID_MENU_IMGEDITOR 0xbc2b
|
---|
96 | #define ID_MENU_M3UEDITOR 0xbc2c
|
---|
97 | #define ID_MENU_M3UPLAYER 0xbc2d
|
---|
98 |
|
---|
99 | #define ID_MENUICONSIZE 0xbc00
|
---|
100 | #define ID_NORMALICONSITEM 0xbc01
|
---|
101 | #define ID_50X50ITEM 0xbc02
|
---|
102 | #define ID_100X100ITEM 0xbc03
|
---|
103 | #define ID_150X150ITEM 0xbc04
|
---|
104 | #define ID_200X200ITEM 0xbc05
|
---|
105 | #define ID_250X250ITEM 0xbc06
|
---|
106 | /* Static menu item with image info for popup menu */
|
---|
107 | #define ID_MENU_IMAGEINFO 0xbc10
|
---|
108 |
|
---|
109 | /* String IDs */
|
---|
110 | #define ID_WAVEINFOPAGENAME 1
|
---|
111 | #define IDSTR_TITLE 2
|
---|
112 | #define IDSTR_ARTIST 3
|
---|
113 | #define IDSTR_ALBUM 4
|
---|
114 | #define IDSTR_YEAR 5
|
---|
115 | #define IDSTR_COMMENT 6
|
---|
116 | #define IDSTR_GENRE 7
|
---|
117 |
|
---|
118 | #define IDSTR_PLAYTIME 8
|
---|
119 | #define IDSTR_SAMPLERATE 9
|
---|
120 | #define IDSTR_CHANNELS 10
|
---|
121 | #define IDSTR_BPS 11
|
---|
122 | #define ID_ID3TAGSPAGENAME 12
|
---|
123 |
|
---|
124 | #define IDSTR_BITRATE 13
|
---|
125 | #define IDSTR_VBR 14
|
---|
126 |
|
---|
127 | /* Titles audio classes */
|
---|
128 | #define IDSTR_AIFTITLE 15
|
---|
129 | #define IDSTR_AUTITLE 16
|
---|
130 | #define IDSTR__AUTITLE 17
|
---|
131 | #define IDSTR_IFFTITLE 18
|
---|
132 | #define IDSTR_SNDFTITLE 19
|
---|
133 | #define IDSTR_VOCTITLE 20
|
---|
134 | #define IDSTR_WAVTITLE 21
|
---|
135 | #define IDSTR_OGGTITLE 22
|
---|
136 | #define IDSTR_MP3TITLE 23
|
---|
137 | #define IDSTR_MIDITITLE 24
|
---|
138 | #define IDSTR_FLACTITLE 72
|
---|
139 |
|
---|
140 | /* Titles video classes */
|
---|
141 | #define IDSTR_CWVIDEOTITLE 25
|
---|
142 | #define IDSTR_MPGTITLE 26
|
---|
143 | #define IDSTR_MOVTITLE 27
|
---|
144 | #define IDSTR_FLITITLE 28
|
---|
145 | #define IDSTR_AVITITLE 29
|
---|
146 | #define IDSTR_VIDPLAYERTITLE 75
|
---|
147 |
|
---|
148 | #define IDSTR_CWAUDIOTITLE 30
|
---|
149 | #define IDSTR_CWMMDATAFILETITLE 31
|
---|
150 | #define IDSTR_HELPLIBRARY 32
|
---|
151 |
|
---|
152 | /* Convert menu item string */
|
---|
153 | #define IDSTR_MENU_CONVERT 33
|
---|
154 | #define IDSTR_MENU_IMAGEINFO 73
|
---|
155 |
|
---|
156 | /* Titles image classes */
|
---|
157 | #define IDSTR_AVCTITLE 34
|
---|
158 | #define IDSTR_DIBTITLE 35
|
---|
159 | #define IDSTR_GIFTITLE 36
|
---|
160 | #define IDSTR_JPGTITLE 37
|
---|
161 | #define IDSTR_PCDTITLE 38
|
---|
162 | #define IDSTR_PCXTITLE 39
|
---|
163 | #define IDSTR_TGATITLE 40
|
---|
164 | #define IDSTR_TIFTITLE 41
|
---|
165 | #define IDSTR_PNGTITLE 71
|
---|
166 | #define IDSTR_MMOTIONTITLE 42
|
---|
167 | #define IDSTR_CWIMAGETITLE 43
|
---|
168 |
|
---|
169 | #define IDSTR_IMAGEINFOPAGENAME 44
|
---|
170 | #define IDSTR_SPRINTFPIXEL 45 /* Used with sprintf to build the 'xxx Pixel' string */
|
---|
171 | #define IDSTR_SPRINTFBIT 46 /* Used with sprintf to build the 'xx Bit' string */
|
---|
172 |
|
---|
173 | #define IDSTR_NOIMGIOPROCERROR 47
|
---|
174 | #define IDSTR_OPENFILEERRORTITLE 48
|
---|
175 | #define IDSTR_OPENFILEERROR 49
|
---|
176 | #define IDSTR_NOMEMERROR 50
|
---|
177 | #define IDSTR_IMGIOPROCCRASH 51
|
---|
178 |
|
---|
179 | #define IDSTR_LIGHTTABLETITLE 52 /* Ligthtable title */
|
---|
180 | #define IDSTR_ICONSIZEMENU 53 /* Menu icon size */
|
---|
181 |
|
---|
182 | /* Column titles for image details view */
|
---|
183 | #define IDSTR_IMAGEDETAIL_WIDTH 54
|
---|
184 | #define IDSTR_IMAGEDETAIL_HEIGHT 55
|
---|
185 | #define IDSTR_IMAGEDETAIL_DEPTH 56
|
---|
186 | #define IDSTR_IMAGEDETAIL_FORMAT 57
|
---|
187 |
|
---|
188 | #define ID_TRACKNAMEPAGENAME 58 /* Page name for the track name settings */
|
---|
189 | #define IDSTR_TRACKNAME 59 /* Name for the groupbox for the track name dialog */
|
---|
190 | #define IDSTR_STARTINGTRACK 60 /* String to be shown with the title of an audio object
|
---|
191 | when started from the WPS. */
|
---|
192 | #define IDSTR_AUDIOSCANNING 61 /* Audio scanning window title */
|
---|
193 | #define IDSTR_AUDIOSTREAMTITLE 62 /* Class title for audio stream object */
|
---|
194 | #define IDSTR_STREAMURLPAGENAME 63
|
---|
195 | #define IDSTR_CDTRACKTITLE 64 /* Class title for CD tracks */
|
---|
196 | #define IDSTR_M3UTITLE 65 /* Class title for M3U playlists */
|
---|
197 | /* Titles used when starting player and editor applications */
|
---|
198 | #define IDSTR_AUDPLAYERTITLE 66
|
---|
199 | #define IDSTR_AUDEDITORTITLE 67
|
---|
200 | #define IDSTR_M3UEDITORTITLE 68
|
---|
201 | #define IDSTR_IMGEDITORTITLE 69
|
---|
202 | #define IDSTR_VOLUMETITLE 74
|
---|
203 | #define IDSTR_TRACKPAUSED 70
|
---|
204 | /* Last used id: 75 */
|
---|
205 |
|
---|
206 | #define IDSTR_MASTERVOLUMEITEM 106
|
---|
207 |
|
---|
208 | /* Audio information page dialog */
|
---|
209 | #define IDDLG_WAVEINFOPAGE 100
|
---|
210 | #define IDGB_WAVEINFO 110
|
---|
211 | #define IDST_SAMPLERATELABEL 101
|
---|
212 | #define IDST_BPSLABEL 102
|
---|
213 | #define IDST_PLAYTIMELABEL 103
|
---|
214 | #define IDST_CHANNELSLABEL 104
|
---|
215 | #define IDST_PLAYTIME 105
|
---|
216 | #define IDST_SAMPLERATE 106
|
---|
217 | #define IDST_BPS 107
|
---|
218 | #define IDST_CHANNELS 108
|
---|
219 |
|
---|
220 | /* ID3 tag dialog */
|
---|
221 | #define IDDLG_ID3TAGS 200
|
---|
222 | #define IDPB_ID3SAVE 201
|
---|
223 | #define IDPB_CANCEL 202
|
---|
224 | #define IDPB_ID3HELP 203
|
---|
225 | #define IDEF_ID3NAME 204
|
---|
226 | #define IDEF_ID3ARTIST 205
|
---|
227 | #define IDEF_ID3ALBUM 206
|
---|
228 | #define IDEF_ID3COMMENT 207
|
---|
229 | #define IDEF_ID3YEAR 208
|
---|
230 | #define IDDD_ID3GENRE 209
|
---|
231 | #define IDGB_ID3TAGS 216
|
---|
232 |
|
---|
233 | /* Image information dialog */
|
---|
234 | #define IDDLG_IMAGEINFOPAGE 300
|
---|
235 | #define IDGB_IMAGEINFO 301
|
---|
236 | #define IDST_IMAGEWIDTHLABEL 302
|
---|
237 | #define IDST_IMAGEHEIGHTLABEL 303
|
---|
238 | #define IDST_COLORDEPTHLABEL 304
|
---|
239 | #define IDST_IMAGEWIDTH 305
|
---|
240 | #define IDST_IMAGEHEIGHT 306
|
---|
241 | #define IDST_COLORDEPTH 307
|
---|
242 | #define IDST_IMAGEFORMAT 308
|
---|
243 |
|
---|
244 | /* Dialog for audio stream class */
|
---|
245 | #define IDDLG_STREAMURLPAGE 400
|
---|
246 | #define IDPB_STREAMHELP 401
|
---|
247 | #define IDGB_STREAMURL 411
|
---|
248 | #define IDEF_URL 412
|
---|
249 | #define IDST_URLTEXT 413
|
---|
250 |
|
---|
251 | /* The main volume object */
|
---|
252 | #define IDDLG_VOLUME 500
|
---|
253 | #define IDCS_VOLUME 501
|
---|
254 | #define IDPB_MUTE 502
|
---|
255 | #define IDGB_VOLUME 503
|
---|
256 | /* Menu items for the system menu of the volume object */
|
---|
257 | #define IDM_POPUP 200
|
---|
258 | #define IDM_ITEMTITLEBAR 201
|
---|
259 | #define IDM_ITEMEXIT 202
|
---|
260 |
|
---|
261 | #define IDDLG_CONVERT 600
|
---|
262 | #define IDGB_CONVERT 601
|
---|
263 | #define IDST_CONVERTNAMELABEL 602
|
---|
264 | #define IDST_CONVERTNAME 603
|
---|
265 | #define IDST_CONVERTSAMPLERATE 604
|
---|
266 | #define IDST_CONVERTCHANNELS 605
|
---|
267 | #define IDST_CONVERTCDBITS 606
|
---|
268 | #define IDST_CONVERTCDSAMPLELABEL 607
|
---|
269 | #define IDST_CONVERTCDCHANNELSLABEL 608
|
---|
270 | #define IDST_CONVERTPLAYTIME 609
|
---|
271 | #define IDEF_CONVERTTARGETNAME 610
|
---|
272 | #define IDPB_CONVERTBROWSE 611
|
---|
273 | #define IDBAR_CONVERTPROGRESS 612
|
---|
274 | #define IDPB_CONVERTOK 613
|
---|
275 | #define IDPB_CONVERTABORT 614
|
---|
276 | #define IDPB_CONVERTCLOSE 615
|
---|
277 | #define IDDD_IOPROC 616
|
---|
278 | #define IDGB_CONVERT2 618
|
---|
279 |
|
---|
280 | /* The image converter app */
|
---|
281 | #define IDDLG_IMGCONVERT 700
|
---|
282 | #define IDGB_IMGCONVERT 701
|
---|
283 | #define IDST_IMGCONVERTNAMELABEL 702
|
---|
284 | #define IDST_IMGCONVERTNAME 703
|
---|
285 | #define IDSR_BMP 704
|
---|
286 | #define IDEF_IMGCONVERTTARGETNAME 710
|
---|
287 | #define IDPB_IMGCONVERTBROWSE 711
|
---|
288 | #define IDBAR_IMGCONVERTPROGRESS 712
|
---|
289 | #define IDPB_IMGCONVERTOK 713
|
---|
290 | #define IDPB_IMGCONVERTABORT 714
|
---|
291 | #define IDPB_IMGCONVERTCLOSE 715
|
---|
292 | #define IDDD_IMGIOPROC 716
|
---|
293 | #define IDST_IMGCONVERTTO 717
|
---|
294 |
|
---|
295 | /* The MM files find application (mmfind.exe) */
|
---|
296 | #define IDDLG_MMFIND 800
|
---|
297 | #define IDPB_NEWFILE 801
|
---|
298 | #define IDST_TYPE 802
|
---|
299 | #define IDCB_TYPEOFFILE 803
|
---|
300 | #define IDGB_PREVIEW 804
|
---|
301 | #define IDSR_IMGPREVIEW 805
|
---|
302 | #define IDST_NOPREVIEWAVAILABLE 806
|
---|
303 | #define IDST_AUDIOINFO 807
|
---|
304 | #define IDGB_AUDIOINFO 808
|
---|
305 | #define IDSTR_TYPEAUDIO 820
|
---|
306 | #define IDSTR_TYPEIMAGE 821
|
---|
307 | #define IDSTR_TYPEVIDEO 822
|
---|
308 | #define IDSTR_AUDIOINFOTEXT 823
|
---|
309 | #define IDSTR_NOMMTEMPLATEFLDRTITLE 824
|
---|
310 | #define IDSTR_NOMMTEMPLATEFLDR 825
|
---|
311 |
|
---|
312 | /* The following IDs are predefined for the OS/2 file dialog */
|
---|
313 |
|
---|
314 | /* Small volume app started from context menu */
|
---|
315 | #define IDDLG_CLASSVOLUME 1000
|
---|
316 | #define ID_CLASSVOLCLIENT 1001
|
---|
317 |
|
---|
318 | /* Audio player (mmplayer.exe) */
|
---|
319 | #define IDDLG_MMPLAYER 2100
|
---|
320 | #define ID_CLIENT 2101
|
---|
321 | #define IDPB_MMPLAYERPLAY 2103
|
---|
322 | #define IDPB_MMPLAYERPAUSE 2104
|
---|
323 | #define IDPB_MMPLAYERSTOP 2105
|
---|
324 | #define IDST_MMPLAYERPLAYTIME 2107
|
---|
325 | #define IDSL_MMPLAYERVOLUMEARM 2108
|
---|
326 | #define IDSL_MMPLAYERVOLUME 2109
|
---|
327 | #define IDPB_MMPLAYERPOSBAR 2110
|
---|
328 | #define IDPB_MMPLAYERSLIDERARM 2111
|
---|
329 | #define IDSL_MMPLAYERPOSBAR 2112
|
---|
330 |
|
---|
331 | #define ID_MENUTIMECONTEXT 1
|
---|
332 | #define ID_MENUITEMELAPSED 2
|
---|
333 | #define ID_MENUITEMREMAINING 3
|
---|
334 | #define ID_MENUITEMID3 4
|
---|
335 | #define ID_MENUITEMMASTERVOLUME 5
|
---|
336 |
|
---|
337 |
|
---|