summaryrefslogtreecommitdiff
path: root/new/container_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-11 10:32:01 -0400
committerPietro Gagliardi <[email protected]>2015-04-11 10:32:01 -0400
commit2b6e6c20a377cfde03c257610b08a03bfe9ec8e0 (patch)
treeba2d33180e02f7853cf992d8b95840770574b3e0 /new/container_windows.c
parent42b8e408164d3478326d8b73acbacd667efc6fa6 (diff)
Decided to keep the current Windows API padding rules. We can change it later if needed.
Diffstat (limited to 'new/container_windows.c')
-rw-r--r--new/container_windows.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/new/container_windows.c b/new/container_windows.c
index 1ddbbe3..b389e70 100644
--- a/new/container_windows.c
+++ b/new/container_windows.c
@@ -58,7 +58,6 @@ BOOL sharedWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *
// 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)