24 return { rect.x + toRemove, rect.y, rect.width - toRemove, rect.height };
62 if (rect.width < buttonWidth + offset)
64 const auto x = rect.x + rect.width - offset - buttonWidth;
65 return std::make_optional<wxRect>(x, rect.y, buttonWidth, rect.height);
72 if (!outerRect.has_value())
static wxRect GetClipRect(const ClipTimes &clip, const ZoomInfo &zoomInfo, const wxRect &viewRect, bool *outShowSamples=nullptr)