#include <LookAndFeel.h>
|
CRect | apply (CRect const &iRect) const |
|
| Margin ()=default |
|
| Margin (CCoord iValue) noexcept |
|
| Margin (CCoord iTop, CCoord iRight, CCoord iBottom, CCoord iLeft) noexcept |
|
Margin is a similar concept to css: used to create space around elements, outside of any defined borders.
◆ Margin() [1/3]
pongasoft::VST::GUI::Margin::Margin |
( |
| ) |
|
|
default |
◆ Margin() [2/3]
pongasoft::VST::GUI::Margin::Margin |
( |
CCoord |
iValue | ) |
|
|
inlineexplicitnoexcept |
◆ Margin() [3/3]
pongasoft::VST::GUI::Margin::Margin |
( |
CCoord |
iTop, |
|
|
CCoord |
iRight, |
|
|
CCoord |
iBottom, |
|
|
CCoord |
iLeft |
|
) |
| |
|
inlinenoexcept |
◆ apply()
CRect pongasoft::VST::GUI::Margin::apply |
( |
CRect const & |
iRect | ) |
const |
|
inline |
Apply this margin to the provided rect. Return a new rectangle with adjusted left/top/right/bottom locations.
◆ fBottom
CCoord pongasoft::VST::GUI::Margin::fBottom {} |
◆ fLeft
CCoord pongasoft::VST::GUI::Margin::fLeft {} |
◆ fRight
CCoord pongasoft::VST::GUI::Margin::fRight {} |
◆ fTop
CCoord pongasoft::VST::GUI::Margin::fTop {} |
The documentation for this struct was generated from the following file: