Mema
Memory Matrix — multi-channel audio matrix monitor and router
Loading...
Searching...
No Matches
MemaClientConnectingComponent.h
Go to the documentation of this file.
1/* Copyright (c) 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 MemaClientConnectingComponent : public juce::Component
26{
27public:
30
31 void setMasterServiceDescription(const juce::String& serviceDescription);
32
33 //==============================================================================
34 void paint(juce::Graphics& g) override;
35 void resized() override;
36 void lookAndFeelChanged() override;
37
38private:
39 double m_progress = -1.0;
40 std::unique_ptr<juce::ProgressBar> m_startupProgressIndicator;
41 juce::String m_serviceDescription;
42
43 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MemaClientConnectingComponent)
44};
45
void setMasterServiceDescription(const juce::String &serviceDescription)
void paint(juce::Graphics &g) override