Piotr Caban : include: Add STATE_SYSTEM_* definition to oleacc.idl.

Alexandre Julliard julliard at winehq.org
Wed May 14 15:39:06 CDT 2014


Module: wine
Branch: master
Commit: b6284cfc63872a34cb5cfe4f4494f1a8187fb367
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b6284cfc63872a34cb5cfe4f4494f1a8187fb367

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed May 14 16:06:40 2014 +0200

include: Add STATE_SYSTEM_* definition to oleacc.idl.

---

 include/oleacc.idl |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/include/oleacc.idl b/include/oleacc.idl
index e9cf138..daf7dec 100644
--- a/include/oleacc.idl
+++ b/include/oleacc.idl
@@ -18,6 +18,7 @@
 
 import "oaidl.idl";
 
+cpp_quote("#define NAVDIR_MIN        0")
 cpp_quote("#define NAVDIR_UP         1")
 cpp_quote("#define NAVDIR_DOWN       2")
 cpp_quote("#define NAVDIR_LEFT       3")
@@ -26,6 +27,7 @@ cpp_quote("#define NAVDIR_NEXT       5")
 cpp_quote("#define NAVDIR_PREVIOUS   6")
 cpp_quote("#define NAVDIR_FIRSTCHILD 7")
 cpp_quote("#define NAVDIR_LASTCHILD  8")
+cpp_quote("#define NAVDIR_MAX        9")
 
 cpp_quote("#define ROLE_SYSTEM_TITLEBAR     1")
 cpp_quote("#define ROLE_SYSTEM_MENUBAR      2")
@@ -100,6 +102,45 @@ cpp_quote("#define SELFLAG_ADDSELECTION    0x08")
 cpp_quote("#define SELFLAG_REMOVESELECTION 0x10")
 cpp_quote("#define SELFLAG_VALID           0x1f")
 
+cpp_quote("#ifndef STATE_SYSTEM_UNAVAILABLE")
+cpp_quote("#define STATE_SYSTEM_NORMAL          0x00000000")
+cpp_quote("#define STATE_SYSTEM_UNAVAILABLE     0x00000001")
+cpp_quote("#define STATE_SYSTEM_SELECTED        0x00000002")
+cpp_quote("#define STATE_SYSTEM_FOCUSED         0x00000004")
+cpp_quote("#define STATE_SYSTEM_PRESSED         0x00000008")
+cpp_quote("#define STATE_SYSTEM_CHECKED         0x00000010")
+cpp_quote("#define STATE_SYSTEM_MIXED           0x00000020")
+cpp_quote("#define STATE_SYSTEM_INDETERMINATE   STATE_SYSTEM_MIXED")
+cpp_quote("#define STATE_SYSTEM_READONLY        0x00000040")
+cpp_quote("#define STATE_SYSTEM_HOTTRACKED      0x00000080")
+cpp_quote("#define STATE_SYSTEM_DEFAULT         0x00000100")
+cpp_quote("#define STATE_SYSTEM_EXPANDED        0x00000200")
+cpp_quote("#define STATE_SYSTEM_COLLAPSED       0x00000400")
+cpp_quote("#define STATE_SYSTEM_BUSY            0x00000800")
+cpp_quote("#define STATE_SYSTEM_FLOATING        0x00001000")
+cpp_quote("#define STATE_SYSTEM_MARQUEED        0x00002000")
+cpp_quote("#define STATE_SYSTEM_ANIMATED        0x00004000")
+cpp_quote("#define STATE_SYSTEM_INVISIBLE       0x00008000")
+cpp_quote("#define STATE_SYSTEM_OFFSCREEN       0x00010000")
+cpp_quote("#define STATE_SYSTEM_SIZEABLE        0x00020000")
+cpp_quote("#define STATE_SYSTEM_MOVEABLE        0x00040000")
+cpp_quote("#define STATE_SYSTEM_SELFVOICING     0x00080000")
+cpp_quote("#define STATE_SYSTEM_FOCUSABLE       0x00100000")
+cpp_quote("#define STATE_SYSTEM_SELECTABLE      0x00200000")
+cpp_quote("#define STATE_SYSTEM_LINKED          0x00400000")
+cpp_quote("#define STATE_SYSTEM_TRAVERSED       0x00800000")
+cpp_quote("#define STATE_SYSTEM_MULTISELECTABLE 0x01000000")
+cpp_quote("#define STATE_SYSTEM_EXTSELECTABLE   0x02000000")
+cpp_quote("#define STATE_SYSTEM_ALERT_LOW       0x04000000")
+cpp_quote("#define STATE_SYSTEM_ALERT_MEDIUM    0x08000000")
+cpp_quote("#define STATE_SYSTEM_ALERT_HIGH      0x10000000")
+cpp_quote("#define STATE_SYSTEM_PROTECTED       0x20000000")
+cpp_quote("#define STATE_SYSTEM_VALID           0x7FFFFFFF")
+cpp_quote("#endif")
+cpp_quote("#ifndef STATE_SYSTEM_HASPOPUP")
+cpp_quote("#define STATE_SYSTEM_HASPOPUP        0x40000000")
+cpp_quote("#endif")
+
 typedef GUID MSAAPROPID;
 
 typedef enum AnnoScope




More information about the wine-cvs mailing list