Audacity 3.2.0
TrackPanelListener.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TrackPanelListener.h
6
7 Dominic Mazzoni
8
9**********************************************************************/
10
11#ifndef __AUDACITY_TRACK_PANEL_LISTENER__
12#define __AUDACITY_TRACK_PANEL_LISTENER__
13
14
15
16enum class UndoPush : unsigned char;
17
18/*
19\brief A now badly named abstract class which was a failed attempt to let
20TrackPanel code pretend it doesn't completely know what an AudacityProject is
21and use only a limited number of its services.
22*/
23class AUDACITY_DLL_API TrackPanelListener /* not final */ {
24
25 public:
28
29 virtual void TP_RedrawScrollbars() = 0;
30 virtual void TP_ScrollLeft() = 0;
31 virtual void TP_ScrollRight() = 0;
32 virtual void TP_ScrollWindow(double scrollto) = 0;
33 virtual bool TP_ScrollUpDown(int delta) = 0;
34 virtual void TP_HandleResize() = 0;
35};
36
37#endif
UndoPush
Definition: UndoManager.h:150
virtual void TP_HandleResize()=0
virtual void TP_ScrollLeft()=0
virtual void TP_ScrollWindow(double scrollto)=0
virtual bool TP_ScrollUpDown(int delta)=0
virtual void TP_RedrawScrollbars()=0
virtual void TP_ScrollRight()=0