aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12/cCCallWindows_121.h
diff options
context:
space:
mode:
authorCamil Staps2015-07-01 17:36:37 +0200
committerCamil Staps2015-07-01 17:36:37 +0200
commit7553b7f9d4dddc2235c137d41de8ce22547bebe3 (patch)
tree34f8fb4b36640317d728a60586424f67f9befbe7 /Linux_C_12/cCCallWindows_121.h
parentgitignore (diff)
Initial commit
Diffstat (limited to 'Linux_C_12/cCCallWindows_121.h')
-rw-r--r--Linux_C_12/cCCallWindows_121.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/Linux_C_12/cCCallWindows_121.h b/Linux_C_12/cCCallWindows_121.h
new file mode 100644
index 0000000..45823ab
--- /dev/null
+++ b/Linux_C_12/cCCallWindows_121.h
@@ -0,0 +1,28 @@
+#include "util_121.h"
+
+extern OS WinInvalidateWindow (OSWindowPtr wnd, OS ios);
+extern OS WinInvalidateRect (OSWindowPtr wnd, int left, int top, int right,
+ int bottom, OS ios);
+extern OS WinValidateRect (OSWindowPtr wnd, int left, int top, int right,
+ int bottom, OS ios);
+extern OS WinValidateRgn (OSWindowPtr wnd, OSRgnHandle rgn, OS ios);
+
+/* Win(M/S)DIClientToOuterSizeDims returns the width and height needed to add/subtract
+ from the client/outer size to obtain the outer/client size.
+ These values must be the same as used by W95AdjustClean(M/S)DIWindowDimensions!
+*/
+extern void WinMDIClientToOuterSizeDims (int styleFlags, OS ios, int *dw, int *dh, OS *oos);
+extern void WinSDIClientToOuterSizeDims (int styleFlags, OS ios, int *dw, int *dh, OS *oos);
+
+/* UpdateWindowScrollbars updates any window scrollbars and non-client area if present.
+*/
+extern void UpdateWindowScrollbars (OSWindowPtr hwnd);
+
+/* Access procedures to dimensions:
+*/
+extern void WinScreenYSize (OS,int*,OS*);
+extern void WinScreenXSize (OS,int*,OS*);
+extern void WinMinimumWinSize (int *mx, int *my);
+extern void WinScrollbarSize (OS ios, int *width, int *height, OS *oos);
+extern void WinMaxFixedWindowSize (int *mx, int *my);
+extern void WinMaxScrollWindowSize (int *mx, int *my);