From a143f41f1940404a9555a172b7a2679f90a24675 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 10 Apr 2015 21:37:08 -0400 Subject: [PATCH] More commentary and TODOs. --- container_windows.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container_windows.c b/container_windows.c index 8c4f4595..1ddbbe34 100644 --- a/container_windows.c +++ b/container_windows.c @@ -55,8 +55,10 @@ BOOL sharedWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT * 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 +// 3 might look better but IDK... TODO #define winYPadding 4 void resize(uiControl *control, HWND parent, RECT r, RECT margin)