Browse code

Replace the Sound View dialog with a wxWidgets-based one.

* Removes the one that was orignally based entirely on the DeSmuME one, while still looking most the same but cleaner.
* To accommodate this, I needed to rework how wxWidgets was initialized so the configuration dialog boxes could also work alongside this.
* Needed to add a custom wxApp to handle the above.
* This also means that the configuration dialog no longer needs the plugin's HINSTANCE passed along.
* Had to not disable wxGauge or wxToogleButton for the Sound View dialog.
* Also remove the now-unneeded enums in the XSFConfig*.cpp files.
* Sound View is still done in a thread so its event loop can run independently from the rest of the plugin.
* XSFConfig_NCSF doesn't need to be the one to start the Sound View dialog now.

Naram Qashat authored on 2021/04/10 15:19:43
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,194 +0,0 @@
1
-//{{NO_DEPENDENCIES}}
2
-// Microsoft Visual C++ generated include file.
3
-// Used by in_ncsf.rc
4
-//
5
-#define IDD_SOUND_VIEW                  1000
6
-#define IDC_BUTTON_VOLMODE              1001
7
-#define IDC_SOUND_UNMUTE_ALL            1002
8
-#define IDC_SOUND0VOL                   1350
9
-#define IDC_SOUND1VOL                   1351
10
-#define IDC_SOUND2VOL                   1352
11
-#define IDC_SOUND3VOL                   1353
12
-#define IDC_SOUND4VOL                   1354
13
-#define IDC_SOUND5VOL                   1355
14
-#define IDC_SOUND6VOL                   1356
15
-#define IDC_SOUND7VOL                   1357
16
-#define IDC_SOUND8VOL                   1358
17
-#define IDC_SOUND9VOL                   1359
18
-#define IDC_SOUND10VOL                  1360
19
-#define IDC_SOUND11VOL                  1361
20
-#define IDC_SOUND12VOL                  1362
21
-#define IDC_SOUND13VOL                  1363
22
-#define IDC_SOUND14VOL                  1364
23
-#define IDC_SOUND15VOL                  1365
24
-#define IDC_SOUND0VOLBAR                1370
25
-#define IDC_SOUND1VOLBAR                1371
26
-#define IDC_SOUND2VOLBAR                1372
27
-#define IDC_SOUND3VOLBAR                1373
28
-#define IDC_SOUND4VOLBAR                1374
29
-#define IDC_SOUND5VOLBAR                1375
30
-#define IDC_SOUND6VOLBAR                1376
31
-#define IDC_SOUND7VOLBAR                1377
32
-#define IDC_SOUND8VOLBAR                1378
33
-#define IDC_SOUND9VOLBAR                1379
34
-#define IDC_SOUND10VOLBAR               1380
35
-#define IDC_SOUND11VOLBAR               1381
36
-#define IDC_SOUND12VOLBAR               1382
37
-#define IDC_SOUND13VOLBAR               1383
38
-#define IDC_SOUND14VOLBAR               1384
39
-#define IDC_SOUND15VOLBAR               1385
40
-#define IDC_SOUND0PAN                   1390
41
-#define IDC_SOUND1PAN                   1391
42
-#define IDC_SOUND2PAN                   1392
43
-#define IDC_SOUND3PAN                   1393
44
-#define IDC_SOUND4PAN                   1394
45
-#define IDC_SOUND5PAN                   1395
46
-#define IDC_SOUND6PAN                   1396
47
-#define IDC_SOUND7PAN                   1397
48
-#define IDC_SOUND8PAN                   1398
49
-#define IDC_SOUND9PAN                   1399
50
-#define IDC_SOUND10PAN                  1400
51
-#define IDC_SOUND11PAN                  1401
52
-#define IDC_SOUND12PAN                  1402
53
-#define IDC_SOUND13PAN                  1403
54
-#define IDC_SOUND14PAN                  1404
55
-#define IDC_SOUND15PAN                  1405
56
-#define IDC_SOUND0PANBAR                1410
57
-#define IDC_SOUND1PANBAR                1411
58
-#define IDC_SOUND2PANBAR                1412
59
-#define IDC_SOUND3PANBAR                1413
60
-#define IDC_SOUND4PANBAR                1414
61
-#define IDC_SOUND5PANBAR                1415
62
-#define IDC_SOUND6PANBAR                1416
63
-#define IDC_SOUND7PANBAR                1417
64
-#define IDC_SOUND8PANBAR                1418
65
-#define IDC_SOUND9PANBAR                1419
66
-#define IDC_SOUND10PANBAR               1420
67
-#define IDC_SOUND11PANBAR               1421
68
-#define IDC_SOUND12PANBAR               1422
69
-#define IDC_SOUND13PANBAR               1423
70
-#define IDC_SOUND14PANBAR               1424
71
-#define IDC_SOUND15PANBAR               1425
72
-#define IDC_SOUND0REPEATMODE            1470
73
-#define IDC_SOUND1REPEATMODE            1471
74
-#define IDC_SOUND2REPEATMODE            1472
75
-#define IDC_SOUND3REPEATMODE            1473
76
-#define IDC_SOUND4REPEATMODE            1474
77
-#define IDC_SOUND5REPEATMODE            1475
78
-#define IDC_SOUND6REPEATMODE            1476
79
-#define IDC_SOUND7REPEATMODE            1477
80
-#define IDC_SOUND8REPEATMODE            1478
81
-#define IDC_SOUND9REPEATMODE            1479
82
-#define IDC_SOUND10REPEATMODE           1480
83
-#define IDC_SOUND11REPEATMODE           1481
84
-#define IDC_SOUND12REPEATMODE           1482
85
-#define IDC_SOUND13REPEATMODE           1483
86
-#define IDC_SOUND14REPEATMODE           1484
87
-#define IDC_SOUND15REPEATMODE           1485
88
-#define IDC_SOUND0FORMAT                1490
89
-#define IDC_SOUND1FORMAT                1491
90
-#define IDC_SOUND2FORMAT                1492
91
-#define IDC_SOUND3FORMAT                1493
92
-#define IDC_SOUND4FORMAT                1494
93
-#define IDC_SOUND5FORMAT                1495
94
-#define IDC_SOUND6FORMAT                1496
95
-#define IDC_SOUND7FORMAT                1497
96
-#define IDC_SOUND8FORMAT                1498
97
-#define IDC_SOUND9FORMAT                1499
98
-#define IDC_SOUND10FORMAT               1500
99
-#define IDC_SOUND11FORMAT               1501
100
-#define IDC_SOUND12FORMAT               1502
101
-#define IDC_SOUND13FORMAT               1503
102
-#define IDC_SOUND14FORMAT               1504
103
-#define IDC_SOUND15FORMAT               1505
104
-#define IDC_SOUND0STATE                 1510
105
-#define IDC_SOUND1STATE                 1511
106
-#define IDC_SOUND2STATE                 1512
107
-#define IDC_SOUND3STATE                 1513
108
-#define IDC_SOUND4STATE                 1514
109
-#define IDC_SOUND5STATE                 1515
110
-#define IDC_SOUND6STATE                 1516
111
-#define IDC_SOUND7STATE                 1517
112
-#define IDC_SOUND8STATE                 1518
113
-#define IDC_SOUND9STATE                 1519
114
-#define IDC_SOUND10STATE                1520
115
-#define IDC_SOUND11STATE                1521
116
-#define IDC_SOUND12STATE                1522
117
-#define IDC_SOUND13STATE                1523
118
-#define IDC_SOUND14STATE                1524
119
-#define IDC_SOUND15STATE                1525
120
-#define IDC_SOUND0PNT                   1530
121
-#define IDC_SOUND1PNT                   1531
122
-#define IDC_SOUND2PNT                   1532
123
-#define IDC_SOUND3PNT                   1533
124
-#define IDC_SOUND4PNT                   1534
125
-#define IDC_SOUND5PNT                   1535
126
-#define IDC_SOUND6PNT                   1536
127
-#define IDC_SOUND7PNT                   1537
128
-#define IDC_SOUND8PNT                   1538
129
-#define IDC_SOUND9PNT                   1539
130
-#define IDC_SOUND10PNT                  1540
131
-#define IDC_SOUND11PNT                  1541
132
-#define IDC_SOUND12PNT                  1542
133
-#define IDC_SOUND13PNT                  1543
134
-#define IDC_SOUND14PNT                  1544
135
-#define IDC_SOUND15PNT                  1545
136
-#define IDC_SOUND0TMR                   1550
137
-#define IDC_SOUND1TMR                   1551
138
-#define IDC_SOUND2TMR                   1552
139
-#define IDC_SOUND3TMR                   1553
140
-#define IDC_SOUND4TMR                   1554
141
-#define IDC_SOUND5TMR                   1555
142
-#define IDC_SOUND6TMR                   1556
143
-#define IDC_SOUND7TMR                   1557
144
-#define IDC_SOUND8TMR                   1558
145
-#define IDC_SOUND9TMR                   1559
146
-#define IDC_SOUND10TMR                  1560
147
-#define IDC_SOUND11TMR                  1561
148
-#define IDC_SOUND12TMR                  1562
149
-#define IDC_SOUND13TMR                  1563
150
-#define IDC_SOUND14TMR                  1564
151
-#define IDC_SOUND15TMR                  1565
152
-#define IDC_SOUND0POSLEN                1570
153
-#define IDC_SOUND1POSLEN                1571
154
-#define IDC_SOUND2POSLEN                1572
155
-#define IDC_SOUND3POSLEN                1573
156
-#define IDC_SOUND4POSLEN                1574
157
-#define IDC_SOUND5POSLEN                1575
158
-#define IDC_SOUND6POSLEN                1576
159
-#define IDC_SOUND7POSLEN                1577
160
-#define IDC_SOUND8POSLEN                1578
161
-#define IDC_SOUND9POSLEN                1579
162
-#define IDC_SOUND10POSLEN               1580
163
-#define IDC_SOUND11POSLEN               1581
164
-#define IDC_SOUND12POSLEN               1582
165
-#define IDC_SOUND13POSLEN               1583
166
-#define IDC_SOUND14POSLEN               1584
167
-#define IDC_SOUND15POSLEN               1585
168
-#define IDC_SOUND0MUTE                  2000
169
-#define IDC_SOUND1MUTE                  2001
170
-#define IDC_SOUND2MUTE                  2002
171
-#define IDC_SOUND3MUTE                  2003
172
-#define IDC_SOUND4MUTE                  2004
173
-#define IDC_SOUND5MUTE                  2005
174
-#define IDC_SOUND6MUTE                  2006
175
-#define IDC_SOUND7MUTE                  2007
176
-#define IDC_SOUND8MUTE                  2008
177
-#define IDC_SOUND9MUTE                  2009
178
-#define IDC_SOUND10MUTE                 2010
179
-#define IDC_SOUND11MUTE                 2011
180
-#define IDC_SOUND12MUTE                 2012
181
-#define IDC_SOUND13MUTE                 2013
182
-#define IDC_SOUND14MUTE                 2014
183
-#define IDC_SOUND15MUTE                 2015
184
-
185
-// Next default values for new objects
186
-//
187
-#ifdef APSTUDIO_INVOKED
188
-#ifndef APSTUDIO_READONLY_SYMBOLS
189
-#define _APS_NEXT_RESOURCE_VALUE        102
190
-#define _APS_NEXT_COMMAND_VALUE         40001
191
-#define _APS_NEXT_CONTROL_VALUE         1001
192
-#define _APS_NEXT_SYMED_VALUE           101
193
-#endif
194
-#endif
Browse code

[NCSF] Changes to the Sound View debug window: * No longer has the hold/busy items. * Source Address replaced with State.

Naram Qashat authored on 2014/10/23 21:40:50
Showing 1 changed files
1 1
Binary files a/src/in_ncsf/resource.h and b/src/in_ncsf/resource.h differ
Browse code

[NCSF] Fix volume issues with a little help from the Nintendo DS SDK.

Also added a clone of DeSmuME's Sound View that is only build during a
debug build, which helped to identify the above issues.

Naram Qashat authored on 2014/10/05 20:00:09
Showing 1 changed files
1 1
new file mode 100644
2 2
Binary files /dev/null and b/src/in_ncsf/resource.h differ