Umsci
Upmix Spatial Control Interface — OCA/OCP.1 spatial audio utility
Loading...
Searching...
No Matches
UmsciDiscoveringHintComponent.cpp
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
#include "
UmsciDiscoveringHintComponent.h
"
20
21
22
UmsciDiscoveringHintComponent::UmsciDiscoveringHintComponent
()
23
: juce::Component()
24
{
25
m_hintLabel = std::make_unique<juce::Label>(
"Discover hint label"
,
"Toggle on the connection with the parameters specified in settings to start controlling the signal engine."
);
26
m_hintLabel->setJustificationType(juce::Justification::centred);
27
addAndMakeVisible(m_hintLabel.get());
28
}
29
30
UmsciDiscoveringHintComponent::~UmsciDiscoveringHintComponent
()
31
{
32
}
33
34
void
UmsciDiscoveringHintComponent::paint
(juce::Graphics &g)
35
{
36
g.fillAll(getLookAndFeel().findColour(juce::ResizableWindow::ColourIds::backgroundColourId));
37
}
38
39
void
UmsciDiscoveringHintComponent::resized
()
40
{
41
m_hintLabel->setBounds(getLocalBounds());
42
}
43
UmsciDiscoveringHintComponent.h
UmsciDiscoveringHintComponent::resized
void resized() override
Definition
UmsciDiscoveringHintComponent.cpp:39
UmsciDiscoveringHintComponent::paint
void paint(Graphics &) override
Definition
UmsciDiscoveringHintComponent.cpp:34
UmsciDiscoveringHintComponent::UmsciDiscoveringHintComponent
UmsciDiscoveringHintComponent()
Definition
UmsciDiscoveringHintComponent.cpp:22
UmsciDiscoveringHintComponent::~UmsciDiscoveringHintComponent
~UmsciDiscoveringHintComponent() override
Definition
UmsciDiscoveringHintComponent.cpp:30
Source
UmsciDiscoveringHintComponent.cpp
Generated by
1.9.8