MCPcopy Create free account
hub / github.com/bumptop/BumpTop / getPadding

Method getPadding

trunk/win/Source/BT_OverlayComponent.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121float OverlayStyle::getPadding( OverlayEdge edge )
122{
123 float totalPadding = 0.0f;
124 for (int i = 0; i < 4; ++i)
125 {
126 if (edge & (1 << i))
127 {
128 totalPadding += _padding[i];
129 }
130 }
131 return totalPadding;
132}
133
134void OverlayStyle::setCornerRadius( int cornerMask, float value )
135{

Callers 5

reLayoutMethod · 0.80
onRenderMethod · 0.80
reLayoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected