rework things a bit.

also remove some useless variables.
This commit is contained in:
StapleButter
2017-10-05 00:13:22 +02:00
parent 5b71ffceee
commit 9d3f13b689
10 changed files with 43 additions and 6 deletions

View File

@ -66,8 +66,7 @@ void uiControlSetMinSize(uiControl *c, int w, int h)
{
c->MinWidth = w;
c->MinHeight = h;
// TODO: resize if needed
(*(c->SetMinSize))(c, w, h);
}
#define uiControlSignature 0x7569436F