Audacity 3.2.0
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
17class wxPaintDC;
18
20{
21public:
22 ClipIndicatorPanel(wxWindow* parent, int id);
23 void SetClipped();
24 void Reset();
25
26protected:
28
29private:
30 void OnPaint(wxPaintEvent& evt);
31
33 bool mClipping = false;
34};
const Observer::Subscription mPlaybackStartStopSubscription
void OnPaint(wxPaintEvent &evt)
ClipIndicatorPanel(wxWindow *parent, int id)
A move-only handle representing a connection to a Publisher.
Definition: Observer.h:70