Audacity
3.2.0
src
effects
ClipIndicatorPanel.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
/*!********************************************************************
3
4
Audacity: A Digital Audio Editor
5
6
ClipIndicatorPanel.h
7
8
Matthieu Hodgkinson
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
Observer.h
"
14
#include "
wxPanelWrapper.h
"
15
16
class
CompressorInstance
;
17
class
wxPaintDC;
18
19
class
ClipIndicatorPanel
final :
public
wxPanelWrapper
20
{
21
public
:
22
ClipIndicatorPanel
(wxWindow* parent,
int
id
);
23
void
SetClipped
();
24
void
Reset
();
25
26
protected
:
27
DECLARE_EVENT_TABLE
();
28
29
private
:
30
void
OnPaint
(wxPaintEvent& evt);
31
32
const
Observer::Subscription
mPlaybackStartStopSubscription
;
33
bool
mClipping
=
false
;
34
};
Observer.h
ClipIndicatorPanel
Definition:
ClipIndicatorPanel.h:20
ClipIndicatorPanel::SetClipped
void SetClipped()
Definition:
ClipIndicatorPanel.cpp:30
ClipIndicatorPanel::DECLARE_EVENT_TABLE
DECLARE_EVENT_TABLE()
ClipIndicatorPanel::mPlaybackStartStopSubscription
const Observer::Subscription mPlaybackStartStopSubscription
Definition:
ClipIndicatorPanel.h:32
ClipIndicatorPanel::OnPaint
void OnPaint(wxPaintEvent &evt)
Definition:
ClipIndicatorPanel.cpp:42
ClipIndicatorPanel::Reset
void Reset()
Definition:
ClipIndicatorPanel.cpp:36
ClipIndicatorPanel::mClipping
bool mClipping
Definition:
ClipIndicatorPanel.h:33
ClipIndicatorPanel::ClipIndicatorPanel
ClipIndicatorPanel(wxWindow *parent, int id)
Definition:
ClipIndicatorPanel.cpp:20
CompressorInstance
Definition:
CompressorInstance.h:31
Observer::Subscription
A move-only handle representing a connection to a Publisher.
Definition:
Observer.h:70
wxPanelWrapper
Definition:
wxPanelWrapper.h:40
wxPanelWrapper.h
Generated by
1.9.3