summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winuser.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-08-22 10:50:54 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-08-22 10:50:54 +0000
commit9e80cb966cd615cb5f0c61ce2fd0cc3574548fe6 (patch)
tree8f4dca154d3d826e0c2b71cab679ece881619b0f /winsup/w32api/include/winuser.h
parent095abc79ba02a379b1cda9818edf70e1b1bf811b (diff)
downloadcygnal-9e80cb966cd615cb5f0c61ce2fd0cc3574548fe6.tar.gz
cygnal-9e80cb966cd615cb5f0c61ce2fd0cc3574548fe6.tar.bz2
cygnal-9e80cb966cd615cb5f0c61ce2fd0cc3574548fe6.zip
2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_SUBSYSTEM_XBOX): Add define. 2003-08-22 Mihai Preda <mihai_preda@users.sourceforge.net> * include/shlobj.h (IPersistFolder::GetClassID): Correct declaration. (CMF_*) Add missing defines. 2003-08-22 Danny Smith <dannysmith@users.sourceforge.net> * include/winuser.h (DC_BUTTONS): Add define. 2003-08-22 Andrew Greenwood <lists@silverblade.co.uk> * include/winuser.h (DC_GRADIENT): Add define. 2003-08-22 Martin Fuchs <Martin-Fuchs@gmx.net> * include/commctrl.h (BTNS_*): Define BTNS_* as successors to the older TBSTYLE_* constants.
Diffstat (limited to 'winsup/w32api/include/winuser.h')
-rw-r--r--winsup/w32api/include/winuser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index e6ba9b98e..e292e0a4a 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -1,6 +1,6 @@
#ifndef _WINUSER_H
#define _WINUSER_H
-#if __GNUC__ >=3
+#if __GNUC__ >= 3
#pragma GCC system_header
#endif
@@ -381,8 +381,16 @@ extern "C" {
#define DC_ICON 4
#define DC_TEXT 8
#define DC_INBUTTON 16
+#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
+#define DC_GRADIENT 32
+#endif
+#if ( _WIN32_WINNT >= 0x0501)
+#define DC_BUTTONS 0x1000
+#endif
+/* Where are these documented? */
#define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS)
#define DC_NC (DC_CAPTION|DC_FRAME)
+
#define BDR_RAISEDOUTER 1
#define BDR_SUNKENOUTER 2
#define BDR_RAISEDINNER 4