void CUIRect::VMargin(float Cut, CUIRect *pOtherRect) const
{
CUIRect r = *this;
Cut *= Scale();
pOtherRect->x = r.x + Cut;
pOtherRect->y = r.y;
pOtherRect->w = r.w - 2*Cut;
pOtherRect->h = r.h;
}
void CUIRect::HMargin(float Cut, CUIRect *pOtherRect) const
{
CUIRect r = *this;
Cut *= Scale();
pOtherRect->x = r.x;
pOtherRect->y = r.y + Cut;
pOtherRect->w = r.w;
pOtherRect->h = r.h - 2*Cut;
}
they call it hmargin and vmargin and just swap both xD
i dunno if the creator of this thought margin to the horizontal/vert. line, but that would be black magicCould NOT find SDL2_net (missing: SDL2_NET_LIBRARIES) (found version
"2.0.1")
good job cmakemd5(date())
as authenticationA modern server can calculate the MD5 hash of about 330MB every second. If your users have passwords which are lowercase, alphanumeric, and 6 characters long, you can try every single possible password of that size in around 40 seconds.
foreach($array as $key => $value) { $array[$key]['id'] = $value['id']; }
(edited)