summaryrefslogtreecommitdiff
path: root/redo/winapi_windows.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-01 19:15:03 -0400
committerPietro Gagliardi <[email protected]>2014-08-01 19:15:03 -0400
commit785d6ac4fd6d60113c0ad37b9b5cfbbe5b7f4abc (patch)
tree901fbeaee1ba4b9434519f04738f3d66e95a3980 /redo/winapi_windows.h
parentb31ce95b3315c2b6567ed96c3e424e5c2a5e67f4 (diff)
Added a function to the Windows backend to keep track of text length. This will be important for sizing purposes.
Diffstat (limited to 'redo/winapi_windows.h')
-rw-r--r--redo/winapi_windows.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h
index 4bd035c..12e5ddf 100644
--- a/redo/winapi_windows.h
+++ b/redo/winapi_windows.h
@@ -18,6 +18,8 @@
#include <commctrl.h>
#include <stdint.h>
#include <uxtheme.h>
+#include <string.h>
+#include <wchar.h>
/* global messages unique to everything */
enum {
@@ -68,6 +70,7 @@ extern int baseX;
extern int baseY;
extern void calculateBaseUnits(HWND);
extern void moveWindow(HWND, int, int, int, int);
+extern LONG controlTextLength(HWND, LPWSTR);
/* window_windows.c */
extern DWORD makeWindowWindowClass(char **);