Mema
Memory Matrix — multi-channel audio matrix monitor and router
Loading...
Searching...
No Matches
AboutComponent.h
Go to the documentation of this file.
1/* Copyright (c) 2024-2025, Christian Ahrens
2 *
3 * This file is part of Mema <https://github.com/ChristianAhrens/Mema>
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
25class AboutComponent : public juce::Component
26{
27public:
29 AboutComponent(const char* imageData, int imageDataSize);
30 ~AboutComponent() override;
31
32 //========================================================================*
34 void paint(juce::Graphics&) override;
36 void resized() override;
37
38private:
39 std::unique_ptr<juce::DrawableButton> m_appIcon;
40 std::unique_ptr<juce::Label> m_appInfoLabel;
41 std::unique_ptr<juce::HyperlinkButton> m_appRepoLink;
42
43 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AboutComponent)
44};
45
void paint(juce::Graphics &) override
Renders the component.
void resized() override
Lays out child components.
~AboutComponent() override