summaryrefslogtreecommitdiff
path: root/iup/src/win/iupwin_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src/win/iupwin_drv.h')
-rwxr-xr-xiup/src/win/iupwin_drv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/iup/src/win/iupwin_drv.h b/iup/src/win/iupwin_drv.h
index 3372c1a..7407a7a 100755
--- a/iup/src/win/iupwin_drv.h
+++ b/iup/src/win/iupwin_drv.h
@@ -77,6 +77,7 @@ int iupwinBaseContainerProc(Ihandle* ih, UINT msg, WPARAM wp, LPARAM lp, LRESULT
/* Creates the Window with native parent and child ID, associate HWND with Ihandle*,
and replace the WinProc by iupwinBaseWinProc */
int iupwinCreateWindowEx(Ihandle* ih, LPCSTR lpClassName, DWORD dwExStyle, DWORD dwStyle);
+void iupwinGetNativeParentStyle(Ihandle* ih, DWORD *dwExStyle, DWORD *dwStyle);
int iupwinClassExist(const char* name);
int iupwinGetColorRef(Ihandle *ih, char *name, COLORREF *color);
@@ -97,8 +98,8 @@ char* iupwinGetClipboardText(Ihandle* ih);
int iupwinGetScreenRes(void);
/* 1 point = 1/72 inch */
/* pixel = (point/72)*(pixel/inch) */
-#define IUPWIN_PT2PIXEL(_pt, _res) MulDiv(_pt, _res, 72) /* (((_pt)*(_res))/72) */
-#define IUPWIN_PIXEL2PT(_pixel, _res) MulDiv(_pixel, 72, _res) /* (((_pixel)*72)/(_res)) */
+#define iupWIN_PT2PIXEL(_pt, _res) MulDiv(_pt, _res, 72) /* (((_pt)*(_res))/72) */
+#define iupWIN_PIXEL2PT(_pixel, _res) MulDiv(_pixel, 72, _res) /* (((_pixel)*72)/(_res)) */
/* child window identifier of the first MDI child window created,