Audacity 3.2.0
Namespaces | Typedefs | Functions | Variables
CommonTrackInfo.h File Reference
#include "TrackInfo.h"
Include dependency graph for CommonTrackInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CommonTrackInfo
 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".
 

Typedefs

using CommonTrackInfo::TCPLine = TrackInfo::TCPLine
 
using CommonTrackInfo::TCPLines = TrackInfo::TCPLines
 

Functions

AUDACITY_DLL_API unsigned CommonTrackInfo::MinimumTrackHeight ()
 
AUDACITY_DLL_API unsigned CommonTrackInfo::DefaultTrackHeight (const TCPLines &topLines)
 
AUDACITY_DLL_API void CommonTrackInfo::DrawItems (TrackPanelDrawingContext &context, const wxRect &rect, const Track &track)
 
AUDACITY_DLL_API void CommonTrackInfo::DrawItems (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack, const std::vector< TCPLine > &topLines, const std::vector< TCPLine > &bottomLines)
 
AUDACITY_DLL_API void CommonTrackInfo::DrawCloseButton (TrackPanelDrawingContext &context, const wxRect &bev, const Channel *pChannel, UIHandle *target)
 
AUDACITY_DLL_API void CommonTrackInfo::CloseTitleDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
 
AUDACITY_DLL_API void CommonTrackInfo::SyncLockDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack)
 
AUDACITY_DLL_API void CommonTrackInfo::GetCloseBoxHorizontalBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetCloseBoxRect (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetTrackTitleHorizontalBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetTrackTitleRect (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetSliderHorizontalBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetTrackMenuButtonBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetTrackMenuButtonRect (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetMinimizeHorizontalBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetMinimizeRect (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetSyncLockHorizontalBounds (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API void CommonTrackInfo::GetSyncLockIconRect (const wxRect &rect, wxRect &dest)
 
AUDACITY_DLL_API bool CommonTrackInfo::HideTopItem (const wxRect &rect, const wxRect &subRect, int allowance=0)
 
AUDACITY_DLL_API const TCPLinesCommonTrackInfo::StaticTCPLines ()
 

Variables

static constexpr auto CommonTrackInfo::Margin = 4
 
static constexpr auto CommonTrackInfo::ToolButtonSize = 16