summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-10 21:37:08 -0400
committerPietro Gagliardi <[email protected]>2015-04-10 21:37:08 -0400
commitda3009bfbb5e47d675cb8e58ea93ec7e3eb4021a (patch)
tree954c284e18b7c08861313293f76a07f35ae63297
parenta25ffeb3343907e679773d74e4e76f6ed420b9a8 (diff)
More commentary and TODOs.
-rw-r--r--new/container_windows.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/new/container_windows.c b/new/container_windows.c
index 8c4f459..1ddbbe3 100644
--- a/new/container_windows.c
+++ b/new/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)