Audacity  3.0.3
Classes | Namespaces | Typedefs | Functions | Variables
TrackInfo.h File Reference
#include <vector>
Include dependency graph for TrackInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  TrackInfo::TCPLine


 Functions for drawing the track control panel, which is shown to the side of a track It has the menus, pan and gain controls displayed in it. So "Info" is somewhat a misnomer. Should possibly be "TrackControls".


using TrackInfo::TCPLines = std::vector< TCPLine >


AUDACITY_DLL_API unsigned TrackInfo::MinimumTrackHeight ()
AUDACITY_DLL_API std::pair< int, int > TrackInfo::CalcItemY (const TCPLines &lines, unsigned iItem)
AUDACITY_DLL_API unsigned TrackInfo::DefaultTrackHeight (const TCPLines &topLines)
AUDACITY_DLL_API void TrackInfo::DrawItems (TrackPanelDrawingContext &context, const wxRect &rect, const Track &track)
AUDACITY_DLL_API void TrackInfo::DrawItems (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack, const std::vector< TCPLine > &topLines, const std::vector< TCPLine > &bottomLines)
AUDACITY_DLL_API void TrackInfo::DrawCloseButton (TrackPanelDrawingContext &context, const wxRect &bev, const Track *pTrack, ButtonHandle *target)
AUDACITY_DLL_API void TrackInfo::CloseTitleDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
AUDACITY_DLL_API void TrackInfo::MinimizeSyncLockDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
AUDACITY_DLL_API void TrackInfo::SetTrackInfoFont (wxDC *dc)
AUDACITY_DLL_API void TrackInfo::GetCloseBoxHorizontalBounds (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetCloseBoxRect (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetTitleBarHorizontalBounds (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetTitleBarRect (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetSliderHorizontalBounds (const wxPoint &topleft, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetMinimizeHorizontalBounds (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetMinimizeRect (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetSelectButtonHorizontalBounds (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetSelectButtonRect (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetSyncLockHorizontalBounds (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API void TrackInfo::GetSyncLockIconRect (const wxRect &rect, wxRect &dest)
AUDACITY_DLL_API bool TrackInfo::HideTopItem (const wxRect &rect, const wxRect &subRect, int allowance=0)
AUDACITY_DLL_API void TrackInfo::UpdatePrefs (wxWindow *pParent)
AUDACITY_DLL_API bool TrackInfo::HasSoloButton ()


static const int TitleSoloBorderOverlap = 1

Variable Documentation

◆ TitleSoloBorderOverlap

const int TitleSoloBorderOverlap = 1