mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 23:02:42 +02:00
34 lines
695 B
C++
34 lines
695 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
TrackPanelDrawingContext.h
|
|
|
|
Paul Licameli
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
|
|
#define __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
|
|
|
|
#include "MemoryX.h"
|
|
|
|
class UIHandle;
|
|
using UIHandlePtr = std::shared_ptr<UIHandle>;
|
|
class wxDC;
|
|
|
|
#include <wx/mousestate.h> // member variable
|
|
|
|
struct TrackPanelDrawingContext {
|
|
wxDC &dc;
|
|
UIHandlePtr target;
|
|
wxMouseState lastState;
|
|
|
|
void *pUserData;
|
|
|
|
// This redundancy fixes an MSVC compiler warning:
|
|
TrackPanelDrawingContext() = delete;
|
|
};
|
|
|
|
#endif
|