Audacity 3.2.0
|
Functions | |
void | GetNarrowMuteHorizontalBounds (const wxRect &rect, wxRect &dest) |
void | GetNarrowSoloHorizontalBounds (const wxRect &rect, wxRect &dest) |
void | GetEffectsButtonBounds (const wxRect &rect, wxRect &dest) |
void | GetWideMuteSoloHorizontalBounds (const wxRect &rect, wxRect &dest) |
void | MuteOrSoloDrawFunction (wxDC *dc, const wxRect &bev, const Track *pTrack, bool down, bool WXUNUSED(captured), bool solo, bool hit) |
void | EffectsDrawFunction (wxDC *dc, const wxRect &bev, const Track *pTrack, bool down, bool sel, bool hit) |
void | WideMuteDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
void | WideSoloDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
void | MuteAndSoloDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
void | EffectsDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
Variables | |
constexpr auto | MuteSoloButtonHeight = 20 |
constexpr auto | MuteSoloButtonExtra = 2 |
constexpr auto | EffectsButtonHeight = 22 |
void anonymous_namespace{PlayableTrackControls.cpp}::EffectsDrawFunction | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const Track * | pTrack | ||
) |
Definition at line 180 of file PlayableTrackControls.cpp.
References TrackPanelDrawingContext::dc, EffectsDrawFunction(), GetEffectsButtonBounds(), ButtonHandle::GetTrack(), TrackPanelDrawingContext::lastState, and TrackPanelDrawingContext::target.
Referenced by EffectsDrawFunction().
void anonymous_namespace{PlayableTrackControls.cpp}::EffectsDrawFunction | ( | wxDC * | dc, |
const wxRect & | bev, | ||
const Track * | pTrack, | ||
bool | down, | ||
bool | sel, | ||
bool | hit | ||
) |
Definition at line 108 of file PlayableTrackControls.cpp.
References _, AColor::ButtonStretch(), Track::GetSelected(), TrackInfo::SetTrackInfoFont(), and str.
void anonymous_namespace{PlayableTrackControls.cpp}::GetEffectsButtonBounds | ( | const wxRect & | rect, |
wxRect & | dest | ||
) |
Definition at line 44 of file PlayableTrackControls.cpp.
Referenced by EffectsDrawFunction(), and PlayableTrackControls::GetEffectsButtonRect().
void anonymous_namespace{PlayableTrackControls.cpp}::GetNarrowMuteHorizontalBounds | ( | const wxRect & | rect, |
wxRect & | dest | ||
) |
Definition at line 32 of file PlayableTrackControls.cpp.
References CommonTrackInfo::Margin.
Referenced by PlayableTrackControls::GetMuteSoloRect(), and MuteAndSoloDrawFunction().
void anonymous_namespace{PlayableTrackControls.cpp}::GetNarrowSoloHorizontalBounds | ( | const wxRect & | rect, |
wxRect & | dest | ||
) |
Definition at line 38 of file PlayableTrackControls.cpp.
References CommonTrackInfo::Margin.
Referenced by PlayableTrackControls::GetMuteSoloRect(), and MuteAndSoloDrawFunction().
void anonymous_namespace{PlayableTrackControls.cpp}::GetWideMuteSoloHorizontalBounds | ( | const wxRect & | rect, |
wxRect & | dest | ||
) |
Definition at line 49 of file PlayableTrackControls.cpp.
References kTrackInfoBtnSize.
Referenced by PlayableTrackControls::GetMuteSoloRect(), WideMuteDrawFunction(), and WideSoloDrawFunction().
void anonymous_namespace{PlayableTrackControls.cpp}::MuteAndSoloDrawFunction | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const Track * | pTrack | ||
) |
Definition at line 153 of file PlayableTrackControls.cpp.
References TrackPanelDrawingContext::dc, GetNarrowMuteHorizontalBounds(), GetNarrowSoloHorizontalBounds(), ButtonHandle::GetTrack(), TrackPanelDrawingContext::lastState, MuteOrSoloDrawFunction(), and TrackPanelDrawingContext::target.
void anonymous_namespace{PlayableTrackControls.cpp}::MuteOrSoloDrawFunction | ( | wxDC * | dc, |
const wxRect & | bev, | ||
const Track * | pTrack, | ||
bool | down, | ||
bool | WXUNUSEDcaptured, | ||
bool | solo, | ||
bool | hit | ||
) |
Definition at line 57 of file PlayableTrackControls.cpp.
References _, AColor::Bevel2(), Track::GetSelected(), AColor::MediumTrackInfo(), AColor::Mute(), TrackInfo::SetTrackInfoFont(), AColor::Solo(), and str.
Referenced by MuteAndSoloDrawFunction(), WideMuteDrawFunction(), and WideSoloDrawFunction().
void anonymous_namespace{PlayableTrackControls.cpp}::WideMuteDrawFunction | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const Track * | pTrack | ||
) |
Definition at line 125 of file PlayableTrackControls.cpp.
References TrackPanelDrawingContext::dc, ButtonHandle::GetTrack(), GetWideMuteSoloHorizontalBounds(), TrackPanelDrawingContext::lastState, MuteOrSoloDrawFunction(), and TrackPanelDrawingContext::target.
void anonymous_namespace{PlayableTrackControls.cpp}::WideSoloDrawFunction | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const Track * | pTrack | ||
) |
Definition at line 139 of file PlayableTrackControls.cpp.
References TrackPanelDrawingContext::dc, ButtonHandle::GetTrack(), GetWideMuteSoloHorizontalBounds(), TrackPanelDrawingContext::lastState, MuteOrSoloDrawFunction(), and TrackPanelDrawingContext::target.
|
constexpr |
Definition at line 30 of file PlayableTrackControls.cpp.
|
constexpr |
Definition at line 29 of file PlayableTrackControls.cpp.
|
constexpr |
Definition at line 28 of file PlayableTrackControls.cpp.