From 7553b7f9d4dddc2235c137d41de8ce22547bebe3 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 1 Jul 2015 17:36:37 +0200 Subject: Initial commit --- Linux_C_12/cCCallWindows_121.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Linux_C_12/cCCallWindows_121.h (limited to 'Linux_C_12/cCCallWindows_121.h') 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); -- cgit v1.2.3