Audacity 3.2.0
|
Functions | |
std::optional< wxRect > | GetButtonRectangle (ClipButtonId buttonId, const RectangleArgs &args) |
std::optional< wxRect > | GetButtonInnerRectangle (ClipButtonId buttonId, const RectangleArgs &args) |
std::optional< wxRect > LowlitClipButton::Detail::GetButtonInnerRectangle | ( | ClipButtonId | buttonId, |
const RectangleArgs & | args | ||
) |
Definition at line 68 of file LowlitClipButton.cpp.
References anonymous_namespace{LowlitClipButton.cpp}::bottomMargin, GetButtonRectangle(), anonymous_namespace{LowlitClipButton.cpp}::leftMargin, Overflow, and anonymous_namespace{LowlitClipButton.cpp}::topMargin.
Referenced by HighlitClipButtonHandle::Draw(), and LowlitClipButton::DrawOnClip().
std::optional< wxRect > LowlitClipButton::Detail::GetButtonRectangle | ( | ClipButtonId | buttonId, |
const RectangleArgs & | args | ||
) |
Definition at line 37 of file LowlitClipButton.cpp.
References LowlitClipButton::RectangleArgs::clip, anonymous_namespace{LowlitClipButton.cpp}::GetButtonWidth(), ClipParameters::GetClipRect(), ClipButtonSpecializations< id >::GetWidth(), Overflow, Pitch, anonymous_namespace{LowlitClipButton.cpp}::RemoveSpaceReservedForTitle(), LowlitClipButton::RectangleArgs::trackAffordanceRect, and LowlitClipButton::RectangleArgs::zoomInfo.
Referenced by HighlitClipButtonHandle::Drag(), GetButtonInnerRectangle(), and LowlitClipButton::HitTest().