From 1d309e2f7c4f7af605e62856c38e242642c6eb1a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 7 May 2015 18:13:47 -0400 Subject: [PATCH] Exported ui_windows.h functions. --- ui_windows.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui_windows.h b/ui_windows.h index 4d010d7f..d3b77bdc 100644 --- a/ui_windows.h +++ b/ui_windows.h @@ -32,7 +32,7 @@ struct uiWindowsMakeControlParams { void (*onDestroy)(void *data); void *onDestroyData; }; -void uiWindowsMakeControl(uiControl *c, uiWindowsMakeControlParams *p); +_UI_EXTERN void uiWindowsMakeControl(uiControl *c, uiWindowsMakeControlParams *p); // This contains the Windows-specific parts of the uiSizing structure. // BaseX and BaseY are the dialog base units. @@ -52,12 +52,12 @@ struct uiSizingSys { #define uiWindowsDlgUnitsToY(dlg, baseY) MulDiv((dlg), baseY, 8) // and use this if you need the text of the window width -extern intmax_t uiWindowsWindowTextWidth(HWND hwnd); +_UI_EXTERN intmax_t uiWindowsWindowTextWidth(HWND hwnd); // these functions get and set the window text for such a uiControl // the value returned should be freed with uiFreeText() -extern char *uiWindowsControlText(uiControl *); -extern void uiWindowsControlSetText(uiControl *, const char *); +_UI_EXTERN char *uiWindowsControlText(uiControl *); +_UI_EXTERN void uiWindowsControlSetText(uiControl *, const char *); struct uiControlSysFuncParams { int Func;