10#ifndef __AUDACITY_COMMON_TRACK_INFO__
11#define __AUDACITY_COMMON_TRACK_INFO__
35 const wxRect &rect,
const Track &track );
40 const wxRect &rect,
const Track *pTrack,
41 const std::vector<TCPLine> &topLines,
42 const std::vector<TCPLine> &bottomLines );
51 const wxRect &rect,
const Track *pTrack );
56 const wxRect &rect,
const Track *pTrack );
88 bool HideTopItem(
const wxRect &rect,
const wxRect &subRect,
Abstract base class for an object holding data associated with points on a time axis.
Short-lived drawing and event-handling object associated with a TrackPanelCell.
Functions for drawing the track control panel, which is shown to the side of a track It has the menus...
AUDACITY_DLL_API void GetSliderHorizontalBounds(const wxRect &rect, wxRect &dest)
static constexpr auto ToolButtonSize
AUDACITY_DLL_API void GetSyncLockIconRect(const wxRect &rect, wxRect &dest)
static constexpr auto Margin
AUDACITY_DLL_API void GetCloseBoxHorizontalBounds(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void CloseTitleDrawFunction(TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
AUDACITY_DLL_API void GetTrackTitleRect(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void GetSyncLockHorizontalBounds(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void SyncLockDrawFunction(TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
AUDACITY_DLL_API void DrawItems(TrackPanelDrawingContext &context, const wxRect &rect, const Track &track)
AUDACITY_DLL_API void GetTrackMenuButtonBounds(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void GetCloseBoxRect(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void GetTrackTitleHorizontalBounds(const wxRect &rect, wxRect &dest)
TrackInfo::TCPLines TCPLines
AUDACITY_DLL_API unsigned DefaultTrackHeight(const TCPLines &topLines)
AUDACITY_DLL_API void DrawCloseButton(TrackPanelDrawingContext &context, const wxRect &bev, const Channel *pChannel, UIHandle *target)
AUDACITY_DLL_API void GetTrackMenuButtonRect(const wxRect &rect, wxRect &dest)
TrackInfo::TCPLine TCPLine
AUDACITY_DLL_API void GetMinimizeRect(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void GetMinimizeHorizontalBounds(const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API const TCPLines & StaticTCPLines()
AUDACITY_DLL_API unsigned MinimumTrackHeight()
AUDACITY_DLL_API bool HideTopItem(const wxRect &rect, const wxRect &subRect, int allowance=0)
std::vector< TCPLine > TCPLines