Audacity 3.2.0
TrackPanelDrawingContext.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TrackPanelDrawingContext.h
6
7 Paul Licameli
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
12#define __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
13
14#include <memory>
15
16class UIHandle;
17using UIHandlePtr = std::shared_ptr<UIHandle>;
18class wxDC;
19
20#include <wx/mousestate.h> // member variable
21
23 wxDC &dc;
25 wxMouseState lastState;
26
27 void *pUserData;
28
29 // This redundancy fixes an MSVC compiler warning:
31};
32
33#endif
std::shared_ptr< UIHandle > UIHandlePtr
Definition: CellularPanel.h:28
Short-lived drawing and event-handling object associated with a TrackPanelCell.
Definition: UIHandle.h:37