20 #include <vstgui4/vstgui/lib/vstguibase.h> 21 #include <vstgui4/vstgui/lib/crect.h> 38 explicit Margin(CCoord iValue) noexcept :
39 fTop{iValue}, fRight{iValue}, fBottom{iValue}, fLeft{iValue} {}
42 Margin(CCoord iTop, CCoord iRight, CCoord iBottom, CCoord iLeft) noexcept :
43 fTop{iTop}, fRight{iRight}, fBottom{iBottom}, fLeft{iLeft} {}
48 CRect
apply(CRect
const &iRect)
const {
53 res.bottom -= fBottom;
CRect apply(CRect const &iRect) const
Definition: LookAndFeel.h:48
Margin(CCoord iValue) noexcept
Definition: LookAndFeel.h:38
Margin(CCoord iTop, CCoord iRight, CCoord iBottom, CCoord iLeft) noexcept
Definition: LookAndFeel.h:42
Definition: LookAndFeel.h:32