summaryrefslogtreecommitdiff
path: root/redo/winapi_windows.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-17 13:34:06 -0400
committerPietro Gagliardi <[email protected]>2014-08-17 13:34:06 -0400
commit38e7565c378a9da93d04f41ab166f5bdac09de32 (patch)
tree1538aff1625a7e196a21ffa94ab891360d10f9aa /redo/winapi_windows.h
parent4a5218df5b05fe0e872e22b0ecde6ce43548145f (diff)
Added code to prepare a state image list of checkboxes for adding checkbox columns to Table on Windows.
Diffstat (limited to 'redo/winapi_windows.h')
-rw-r--r--redo/winapi_windows.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h
index 589fbec..c937f64 100644
--- a/redo/winapi_windows.h
+++ b/redo/winapi_windows.h
@@ -21,6 +21,8 @@
#include <string.h>
#include <wchar.h>
#include <windowsx.h>
+#include <vsstyle.h>
+#include <vssym32.h>
// global messages unique to everything
enum {
@@ -119,5 +121,13 @@ extern HBITMAP unscaledBitmap(void *, intptr_t, intptr_t);
extern HIMAGELIST newImageList(int, int);
extern void addImage(HIMAGELIST, HWND, HBITMAP, int, int, int, int);
extern void applyImageList(HWND, UINT, WPARAM, HIMAGELIST);
+enum {
+ checkboxStateChecked = 1 << 0,
+ checkboxStateHot = 1 << 1,
+ checkboxStatePushed = 1 << 2,
+ checkboxnStates = 1 << 3,
+};
+extern HIMAGELIST checkboxImageList;
+extern void makeCheckboxImageList(HWND);
#endif