Files
XmengMD 5c739fa4e8 Add ASIO support and About page
- CMakeLists.txt: add JUCE_ASIO_SUPPORT option and link asio.lib
- Add AboutComponent for application info display
- Update SettingsComponent and PluginManagerComponent for new features
- Minor updates to LevelMeterComponent and PluginRegistry
2026-07-30 11:17:24 +08:00

39 lines
1.1 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
#include <JuceHeader.h>
namespace minixer
{
//==============================================================================
/** 关于页面组件。
展示软件信息、开源协议、GitHub 地址以及第三方 SDK(ASIO、VST3、JUCE)的许可声明。
*/
class AboutComponent : public juce::Component
{
public:
//==============================================================================
AboutComponent();
~AboutComponent() override = default;
//==============================================================================
void resized() override;
//==============================================================================
std::function<void()> onClose;
private:
//==============================================================================
juce::Label titleLabel;
juce::Label versionLabel;
juce::Label descriptionLabel;
juce::HyperlinkButton githubLink;
juce::TextEditor noticeEditor;
juce::TextButton closeButton { TRANS("Close") };
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AboutComponent)
};
} // namespace minixer