Replace the Sound View dialog with a wxWidgets-based one.
author Naram Qashat
()
committer Naram Qashat
()
commit a64af93b1a547c6567b53090fef976541ab789a2
tree 5418cbcbfa48cee75f2838e123cb600b8f9eddc0
parent 5af5359283a166301dad9a8ec37bb89ef716161e
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.
20 files changed:
src/in_2sf/XSFConfig_2SF.cpp
src/in_gsf/XSFConfig_GSF.cpp
src/in_ncsf/CMakeLists.txt
src/in_ncsf/SoundView.cpp [ new file with mode 0644 ]
src/in_ncsf/SoundView.h [ new file with mode 0644 ]
src/in_ncsf/XSFApp_NCSF.cpp [ new file with mode 0644 ]
src/in_ncsf/XSFApp_NCSF.h [ new file with mode 0644 ]
src/in_ncsf/XSFConfig_NCSF.cpp
src/in_ncsf/XSFConfig_NCSF.h
src/in_ncsf/XSFPlayer_NCSF.cpp
src/in_ncsf/XSFPlayer_NCSF.h
src/in_ncsf/in_ncsf.rc [ deleted file ]
src/in_ncsf/resource.h [ deleted file ]
src/in_snsf/XSFConfig_SNSF.cpp
src/in_xsf_framework/CMakeLists.txt
src/in_xsf_framework/XSFApp.cpp [ new file with mode 0644 ]
src/in_xsf_framework/XSFApp.h [ new file with mode 0644 ]
src/in_xsf_framework/XSFConfig.cpp
src/in_xsf_framework/XSFConfig.h
src/in_xsf_framework/in_xsf.cpp