-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathresource.h
More file actions
389 lines (337 loc) · 10.9 KB
/
Copy pathresource.h
File metadata and controls
389 lines (337 loc) · 10.9 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
#pragma once
// Menu IDs
#define IDM_MAIN_MENU 100
#define IDM_FILE_OPEN 101
#define IDM_FILE_EXIT 102
#define IDM_TOOLS_OPTIONS 103
#define IDM_FILE_OPEN_URL 104
#define IDM_FILE_HIDE_TRAY 106
#define IDM_FILE_ADD_FOLDER 110
#define IDM_FILE_PLAYLIST 111
#define IDM_FILE_RECENT_BASE 6000 // Recent files use IDs 6000-6009
// Playlist manager dialog
#define IDD_PLAYLIST 930
#define IDC_PLAYLIST_LIST 931
#define IDC_PLAYLIST_SAVE 932
// URL dialog
#define IDD_URL 650
#define IDC_URL_EDIT 651
// Jump to time dialog
#define IDD_JUMPTOTIME 660
#define IDC_JUMPTIME_EDIT 661
#define IDM_PLAY_PLAYPAUSE 201
#define IDM_PLAY_STOP 202
#define IDM_PLAY_PREV 203
#define IDM_PLAY_NEXT 204
#define IDM_PLAY_PLAY 212
#define IDM_PLAY_PAUSE 213
#define IDM_PLAY_SEEKBACK 205
#define IDM_PLAY_SEEKFWD 206
#define IDM_PLAY_VOLUP 207
#define IDM_PLAY_VOLDOWN 208
#define IDM_PLAY_ELAPSED 209
#define IDM_PLAY_REMAINING 210
#define IDM_PLAY_TOTAL 211
#define IDM_PLAY_NOWPLAYING 214
#define IDM_PLAY_SHUFFLE 215
#define IDM_PLAY_BEGINNING 216
#define IDM_PLAY_JUMPTOTIME 217
#define IDM_PLAY_MUTE 218
#define IDM_PLAY_REPEAT_TOGGLE 219
#define IDM_EFFECT_PRESETS 238
// Accelerator table
#define IDA_ACCEL 300
// Timer
#define IDT_UPDATE_TITLE 400
#define IDT_BATCH_FILES 401
// Custom messages
#define WM_SPEAK (WM_USER + 1)
#define WM_ADDFILE (WM_USER + 2)
#define WM_META_CHANGED (WM_USER + 3)
#define WM_PLAYLIST_TRACK_CHANGED (WM_USER + 4)
// Playback tab controls
#define IDC_BRING_TO_FRONT 531
#define IDC_LOAD_FOLDER 532
#define IDC_MINIMIZE_TO_TRAY 539
#define IDC_REGISTER_FILE_TYPES 548
// Global hotkeys tab
#define IDC_HOTKEY_LIST 540
#define IDC_HOTKEY_ADD 541
#define IDC_HOTKEY_EDIT 542
#define IDC_HOTKEY_REMOVE 543
#define IDC_HOTKEY_ENABLED 544
// Hotkey assignment dialog
#define IDD_HOTKEY 600
#define IDC_HOTKEY_KEY 601
#define IDC_HOTKEY_ACTION 602
// Options dialog
#define IDD_OPTIONS 500
#define IDC_TAB 501
#define IDC_SOUNDCARD 502
#define IDC_ALLOW_AMPLIFY 503
#define IDC_REMEMBER_STATE 504
#define IDC_REMEMBER_POS 505
#define IDC_VOLUME_STEP 506
#define IDC_SHOW_TITLE 507
// Movement settings (checkboxes for seek amounts)
#define IDC_SEEK_1S 510
#define IDC_SEEK_5S 511
#define IDC_SEEK_10S 512
#define IDC_SEEK_30S 513
#define IDC_SEEK_1M 514
#define IDC_SEEK_5M 515
#define IDC_SEEK_10M 516
#define IDC_SEEK_30M 545
#define IDC_SEEK_1H 546
#define IDC_SEEK_1T 517
#define IDC_SEEK_5T 518
#define IDC_SEEK_10T 519
// Menu commands for seek amount
#define IDM_SEEK_DECREASE 220
#define IDM_SEEK_INCREASE 221
// Effect controls
#define IDM_EFFECT_PREV 230
#define IDM_EFFECT_NEXT 231
#define IDM_EFFECT_UP 232
#define IDM_EFFECT_DOWN 233
#define IDM_EFFECT_RESET 234
#define IDM_EFFECT_MIN 235
#define IDM_EFFECT_MAX 236
// Audio device menu
#define IDM_SHOW_AUDIO_DEVICES 237
#define IDM_AUDIO_DEVICE_BASE 5000 // Actual device IDs are IDM_AUDIO_DEVICE_BASE + device index
// Effect toggles (for hotkeys)
#define IDM_TOGGLE_VOLUME 240
#define IDM_TOGGLE_PITCH 241
#define IDM_TOGGLE_TEMPO 242
#define IDM_TOGGLE_RATE 243
#define IDM_TOGGLE_REVERB 244
#define IDM_TOGGLE_ECHO 245
#define IDM_TOGGLE_EQ 246
#define IDM_TOGGLE_COMPRESSOR 247
#define IDM_TOGGLE_STEREOWIDTH 248
#define IDM_TOGGLE_CENTERCANCEL 249
#define IDM_TOGGLE_SPATIAL 251
#define IDM_TOGGLE_CONVOLUTION 252
// Speak commands
#define IDM_SPEAK_SEEK 250
// Tag reading commands (keys 1-0)
#define IDM_READ_TAG_TITLE 261
#define IDM_READ_TAG_ARTIST 262
#define IDM_READ_TAG_ALBUM 263
#define IDM_READ_TAG_YEAR 264
#define IDM_READ_TAG_TRACK 265
#define IDM_READ_TAG_GENRE 266
#define IDM_READ_TAG_COMMENT 267
#define IDM_READ_TAG_BITRATE 268
#define IDM_READ_TAG_DURATION 269
#define IDM_READ_TAG_FILENAME 260
// Effect settings (checkboxes)
#define IDC_EFFECT_VOLUME 550
#define IDC_EFFECT_PITCH 551
#define IDC_EFFECT_TEMPO 552
#define IDC_EFFECT_RATE 553
#define IDC_RATE_STEP_MODE 554
// DSP effect settings (checkboxes)
#define IDC_DSP_REVERB 560
#define IDC_DSP_ECHO 561
#define IDC_DSP_EQ 562
#define IDC_DSP_COMPRESSOR 563
#define IDC_DSP_STEREOWIDTH 564
#define IDC_DSP_CENTERCANCEL 565
#define IDC_DSP_SPATIAL 566
// Advanced tab controls
#define IDC_BUFFER_SIZE 570
#define IDC_UPDATE_PERIOD 571
#define IDC_TEMPO_ALGORITHM 572
#define IDC_EQ_BASS_FREQ 573
#define IDC_EQ_MID_FREQ 574
#define IDC_EQ_TREBLE_FREQ 575
#define IDC_LEGACY_VOLUME 576
#define IDC_DISABLE_BATCH 577
#define IDC_RESET_LIST_ORDER 578
// SoundTouch settings (tab 7)
#define IDC_ST_AA_FILTER 580
#define IDC_ST_AA_LENGTH 581
#define IDC_ST_QUICK_ALGO 582
#define IDC_ST_SEQUENCE 583
#define IDC_ST_SEEKWINDOW 584
#define IDC_ST_OVERLAP 585
#define IDC_ST_PREVENT_CLICK 586
#define IDC_ST_ALGORITHM 587
// 3D Audio settings (tab 14)
#define IDC_SPATIAL_MODE 605
#define IDC_SPATIAL_REAR_CENTER 606
// Speedy settings (tab 9)
#define IDC_SPEEDY_NONLINEAR 610
// Signalsmith settings (tab 10)
#define IDC_SS_PRESET 615
#define IDC_SS_TONALITY 616
// MIDI settings (tab 11)
#define IDC_MIDI_SOUNDFONT 620
#define IDC_MIDI_SF_BROWSE 621
#define IDC_MIDI_VOICES 622
#define IDC_MIDI_SINC 623
// System tray
#define IDM_TRAY_RESTORE 700
#define IDM_TRAY_EXIT 701
#define WM_TRAYICON (WM_USER + 10)
#define IDM_TOGGLE_WINDOW 702
// YouTube menu and dialog
#define IDM_FILE_YOUTUBE 105
#define IDD_YOUTUBE 750
#define IDC_YT_SEARCH 751
#define IDC_YT_RESULTS 752
#define IDC_YT_LOADMORE 753
// YouTube tab in Options
#define IDC_YTDLP_PATH 760
#define IDC_YTDLP_BROWSE 761
#define IDC_YT_APIKEY 762
// Bookmarks
#define IDM_BOOKMARK_ADD 800
#define IDM_BOOKMARK_LIST 801
#define IDD_BOOKMARKS 810
#define IDC_BOOKMARK_LIST 811
#define IDC_BOOKMARK_FILTER 812
// Recording
#define IDM_RECORD_TOGGLE 820
#define IDC_REC_PATH 830
#define IDC_REC_BROWSE 831
#define IDC_REC_TEMPLATE 832
#define IDC_REC_FORMAT 833
#define IDC_REC_BITRATE 834
// Speech tab
#define IDC_SPEECH_TRACKCHANGE 840
#define IDC_SPEECH_VOLUME 841
#define IDC_SPEECH_EFFECT 842
// Radio dialog
#define IDM_FILE_RADIO 107
#define IDM_FILE_ADD_TO_FAVORITES 113
#define IDM_HELP_PLUGINS 109
#define IDM_HELP_UPDATES 112
#define IDM_HELP_README 114
// Progress dialog (for updates)
#define IDD_PROGRESS 995
#define IDC_PROGRESS_BAR 996
#define IDC_PROGRESS_TEXT 997
#define IDC_CHECK_UPDATES 998
#define IDC_MULTI_INSTANCE 999
#define IDD_RADIO 850
#define IDC_RADIO_TAB 851
#define IDC_RADIO_LIST 852
#define IDC_RADIO_ADD 853
#define IDC_RADIO_IMPORT 854
#define IDC_RADIO_SEARCH_EDIT 855
#define IDC_RADIO_SEARCH_BTN 856
#define IDC_RADIO_SEARCH_LIST 857
#define IDC_RADIO_SEARCH_ADD 858
#define IDC_RADIO_SEARCH_SOURCE 859
#define IDC_RADIO_SEARCH_COUNTRY 864
#define IDC_RADIO_SEARCH_COUNTRY_LABEL 865
#define IDC_RADIO_SEARCH_LIST_LABEL 866
// Add station dialog
#define IDD_RADIO_ADD 860
#define IDC_RADIO_NAME 861
#define IDC_RADIO_URL 862
#define IDC_RADIO_EXPORT 863
// Scheduler
#define IDM_FILE_SCHEDULE 108
#define IDD_SCHEDULER 870
#define IDC_SCHED_LIST 871
#define IDC_SCHED_ADD 872
#define IDC_SCHED_EDIT 873
// Add schedule dialog
#define IDD_SCHED_ADD 880
#define IDC_SCHED_NAME 881
#define IDC_SCHED_ACTION 882
#define IDC_SCHED_SOURCE 883
#define IDC_SCHED_FILE 884
#define IDC_SCHED_BROWSE 885
#define IDC_SCHED_RADIO 886
#define IDC_SCHED_DATE 887
#define IDC_SCHED_TIME 888
#define IDC_SCHED_REPEAT 889
#define IDC_SCHED_ENABLED 890
#define IDC_SCHED_DURATION 891
#define IDC_SCHED_STOP 892
// Scheduler timer
#define IDT_SCHEDULER 402
#define IDT_SCHED_DURATION 403
// Chapter seeking
#define IDC_CHAPTER_SEEK 900
// Auto-advance playlist
#define IDC_AUTO_ADVANCE 901
#define IDC_REWIND_ON_PAUSE 902
#define IDC_REWIND_LABEL 903
#define IDC_PLAYLIST_FOLLOW 904
#define IDC_REPLAYGAIN_MODE 905
#define IDC_REPLAYGAIN_MODE_LABEL 906
#define IDC_REPLAYGAIN_PREAMP 907
#define IDC_REPLAYGAIN_PREAMP_LABEL 908
#define IDC_REPLAYGAIN_CLIP 909
// Tag view dialog
#define IDD_TAG_VIEW 910
#define IDC_TAG_TEXT 911
// Preset name input dialog
#define IDD_PRESET_NAME 915
#define IDC_PRESET_NAME 916
// Preset menu base IDs (dynamic)
#define IDM_PRESET_BASE 7000 // Apply preset: IDM_PRESET_BASE + index (up to 100)
#define IDM_PRESET_DELETE_BASE 7100 // Delete preset: IDM_PRESET_DELETE_BASE + index (up to 100)
#define IDM_PRESET_SAVE_NEW 7200
// Convolution reverb controls
#define IDC_DSP_CONVOLUTION 920
#define IDC_CONV_IR 921
#define IDC_CONV_BROWSE 922
// View tag commands (Shift+1-0)
#define IDM_VIEW_TAG_TITLE 270
#define IDM_VIEW_TAG_ARTIST 271
#define IDM_VIEW_TAG_ALBUM 272
#define IDM_VIEW_TAG_YEAR 273
#define IDM_VIEW_TAG_TRACK 274
#define IDM_VIEW_TAG_GENRE 275
#define IDM_VIEW_TAG_COMMENT 276
#define IDM_VIEW_TAG_BITRATE 277
#define IDM_VIEW_TAG_DURATION 278
#define IDM_VIEW_TAG_FILENAME 279
// Podcast dialog
#define IDM_FILE_PODCAST 940
#define IDD_PODCAST 950
#define IDC_PODCAST_TAB 951
#define IDC_PODCAST_SUBS_LIST 952
#define IDC_PODCAST_EPISODES 953
#define IDC_PODCAST_ADD_FEED 954
#define IDC_PODCAST_REFRESH 956
#define IDC_PODCAST_SEARCH_EDIT 960
#define IDC_PODCAST_SEARCH_BTN 961
#define IDC_PODCAST_SEARCH_LIST 962
#define IDC_PODCAST_SUBSCRIBE 963
#define IDC_PODCAST_ADD_URL 964
#define IDC_PODCAST_SUBS_LABEL 965
#define IDC_PODCAST_EP_LABEL 966
#define IDC_PODCAST_SUBS_HELP 967
#define IDC_PODCAST_SEARCH_LABEL 968
#define IDC_PODCAST_SEARCH_HELP 969
#define IDC_PODCAST_EP_DESC 955
// Add podcast subscription dialog
#define IDD_PODCAST_ADD 970
#define IDC_PODCAST_NAME 971
#define IDC_PODCAST_FEED_URL 972
#define IDC_PODCAST_USERNAME 973
#define IDC_PODCAST_PASSWORD 974
#define IDC_PODCAST_DOWNLOAD 975
#define IDC_PODCAST_IMPORT_OPML 976
#define IDC_PODCAST_DOWNLOAD_ALL 977
#define IDC_PODCAST_EXPORT_OPML 978
// Downloads tab
#define IDC_DOWNLOAD_PATH 980
#define IDC_DOWNLOAD_BROWSE 981
#define IDC_DOWNLOAD_ORGANIZE 982
// Song history dialog
#define IDM_VIEW_SONG_HISTORY 990
#define IDD_SONG_HISTORY 991
#define IDC_HISTORY_LIST 992
#define IDC_HISTORY_COPY 993
#define IDC_HISTORY_CLEAR 994
#define IDOK 1
#define IDCANCEL 2