Umsci
Upmix Spatial Control Interface — OCA/OCP.1 spatial audio utility
Loading...
Searching...
No Matches
AboutComponent.h
Go to the documentation of this file.
1/* Copyright (c) 2026, Christian Ahrens
2 *
3 * This file is part of Umsci <https://github.com/ChristianAhrens/Umsci>
4 *
5 * This tool is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU Lesser General Public License version 3.0 as published
7 * by the Free Software Foundation.
8 *
9 * This tool is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 * details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this tool; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#pragma once
20
21#include <JuceHeader.h>
22
23
36class AboutComponent : public juce::Component
37{
38public:
39 AboutComponent(const char* imageData, int imageDataSize);
40 ~AboutComponent() override;
41
42 //========================================================================*
43 void paint(juce::Graphics&) override;
44 void resized() override;
45
46private:
47 std::unique_ptr<juce::DrawableButton> m_appIcon;
48 std::unique_ptr<juce::Label> m_appInfoLabel;
49 std::unique_ptr<juce::HyperlinkButton> m_appRepoLink;
50
51 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AboutComponent)
52};
53
Small overlay panel showing the application icon, version info, and a link to the project repository.
void paint(juce::Graphics &) override
void resized() override
~AboutComponent() override