More commentary and TODOs.
This commit is contained in:
parent
91907526a2
commit
a143f41f19
|
@ -55,8 +55,10 @@ BOOL sharedWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// from https://msdn.microsoft.com/en-us/library/windows/desktop/dn742486.aspx#sizingandspacing
|
// from https://msdn.microsoft.com/en-us/library/windows/desktop/dn742486.aspx#sizingandspacing and https://msdn.microsoft.com/en-us/library/windows/desktop/bb226818%28v=vs.85%29.aspx
|
||||||
|
// this X value is really only for buttons but I don't see a better one :/
|
||||||
#define winXPadding 4
|
#define winXPadding 4
|
||||||
|
// 3 might look better but IDK... TODO
|
||||||
#define winYPadding 4
|
#define winYPadding 4
|
||||||
|
|
||||||
void resize(uiControl *control, HWND parent, RECT r, RECT margin)
|
void resize(uiControl *control, HWND parent, RECT r, RECT margin)
|
||||||
|
|
Loading…
Reference in New Issue