Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATGUI/CATGUIAccessDefs.h Source File

CATGUIAccessDefs.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------
00002 /// \class CATGUIAccessDefs.h
00003 /// \brief Accessibility definitions (states, roles, etc)
00004 /// \ingroup CATGUI
00005 /// 
00006 /// Copyright (c) 2003-2008 by Michael Ellison.
00007 /// See COPYING.txt for the \ref gaslicense License (MIT License).
00008 ///
00009 // $Author: mikeellison $
00010 // $Date: 2008-01-25 05:11:25 -0600 (Fri, 25 Jan 2008) $
00011 // $Revision:   $
00012 // $NoKeywords: $
00013 //
00014 //---------------------------------------------------------------------------
00015 #ifndef CATGUIAccessDefs_H_
00016 #define CATGUIAccessDefs_H_
00017 
00018 #include "CATInternal.h"
00019 
00020 enum CATACCESS_NAVDIR
00021 {
00022     CAT_NAVDIR_MIN          = 0,
00023     CAT_NAVDIR_UP,  
00024     CAT_NAVDIR_DOWN,    
00025     CAT_NAVDIR_LEFT,    
00026     CAT_NAVDIR_RIGHT,
00027     CAT_NAVDIR_NEXT,    
00028     CAT_NAVDIR_PREVIOUS,
00029     CAT_NAVDIR_FIRSTCHILD,
00030     CAT_NAVDIR_LASTCHILD,
00031     CAT_NAVDIR_MAX
00032 };
00033 
00034 /// Object state
00035 enum CATACCESS_STATE
00036 {
00037     CAT_STATE_SYSTEM_UNAVAILABLE        = 0x00000001,  // Disabled
00038     CAT_STATE_SYSTEM_SELECTED           = 0x00000002,
00039     CAT_STATE_SYSTEM_FOCUSED            = 0x00000004,
00040     CAT_STATE_SYSTEM_PRESSED            = 0x00000008,
00041     CAT_STATE_SYSTEM_CHECKED            = 0x00000010,
00042     CAT_STATE_SYSTEM_MIXED              = 0x00000020,  // 3-state checkbox or toolbar button
00043     CAT_STATE_SYSTEM_INDETERMINATE      = CAT_STATE_SYSTEM_MIXED,
00044     CAT_STATE_SYSTEM_READONLY           = 0x00000040,
00045     CAT_STATE_SYSTEM_HOTTRACKED         = 0x00000080,
00046     CAT_STATE_SYSTEM_DEFAULT            = 0x00000100,
00047     CAT_STATE_SYSTEM_EXPANDED           = 0x00000200,
00048     CAT_STATE_SYSTEM_COLLAPSED          = 0x00000400,
00049     CAT_STATE_SYSTEM_BUSY               = 0x00000800,
00050     CAT_STATE_SYSTEM_FLOATING           = 0x00001000, // Children "owned" not "contained" by parent
00051     CAT_STATE_SYSTEM_MARQUEED           = 0x00002000,
00052     CAT_STATE_SYSTEM_ANIMATED           = 0x00004000,
00053     CAT_STATE_SYSTEM_INVISIBLE          = 0x00008000,
00054     CAT_STATE_SYSTEM_OFFSCREEN          = 0x00010000,
00055     CAT_STATE_SYSTEM_SIZEABLE           = 0x00020000,
00056     CAT_STATE_SYSTEM_MOVEABLE           = 0x00040000,
00057     CAT_STATE_SYSTEM_SELFVOICING        = 0x00080000,
00058     CAT_STATE_SYSTEM_FOCUSABLE          = 0x00100000,
00059     CAT_STATE_SYSTEM_SELECTABLE         = 0x00200000,
00060     CAT_STATE_SYSTEM_LINKED             = 0x00400000,
00061     CAT_STATE_SYSTEM_TRAVERSED          = 0x00800000,
00062     CAT_STATE_SYSTEM_MULTISELECTABLE    = 0x01000000,  // Supports multiple selection
00063     CAT_STATE_SYSTEM_EXTSELECTABLE      = 0x02000000,  // Supports extended selection
00064     CAT_STATE_SYSTEM_ALERT_LOW          = 0x04000000,  // This information is of low priority
00065     CAT_STATE_SYSTEM_ALERT_MEDIUM       = 0x08000000,  // This information is of medium priority
00066     CAT_STATE_SYSTEM_ALERT_HIGH         = 0x10000000,  // This information is of high priority
00067     CAT_STATE_SYSTEM_PROTECTED          = 0x20000000,  // access to this is restricted
00068     CAT_STATE_SYSTEM_VALID              = 0x3FFFFFFF
00069 };
00070 
00071 /// Object role
00072 enum CAT_ACCESS_ROLE
00073 {
00074     CAT_ROLE_SYSTEM_TITLEBAR            = 0x1 ,
00075     CAT_ROLE_SYSTEM_MENUBAR             = 0x2 ,
00076     CAT_ROLE_SYSTEM_SCROLLBAR           = 0x3 ,
00077     CAT_ROLE_SYSTEM_GRIP                = 0x4 ,
00078     CAT_ROLE_SYSTEM_SOUND               = 0x5 ,
00079     CAT_ROLE_SYSTEM_CURSOR              = 0x6 ,
00080     CAT_ROLE_SYSTEM_CARET               = 0x7 ,
00081     CAT_ROLE_SYSTEM_ALERT               = 0x8 ,
00082     CAT_ROLE_SYSTEM_WINDOW              = 0x9 ,
00083     CAT_ROLE_SYSTEM_CLIENT              = 0xa ,
00084     CAT_ROLE_SYSTEM_MENUPOPUP           = 0xb ,
00085     CAT_ROLE_SYSTEM_MENUITEM            = 0xc ,
00086     CAT_ROLE_SYSTEM_TOOLTIP             = 0xd ,
00087     CAT_ROLE_SYSTEM_APPLICATION         = 0xe ,
00088     CAT_ROLE_SYSTEM_DOCUMENT            = 0xf ,
00089     CAT_ROLE_SYSTEM_PANE                = 0x10 ,
00090     CAT_ROLE_SYSTEM_CHART               = 0x11 ,
00091     CAT_ROLE_SYSTEM_DIALOG              = 0x12 ,
00092     CAT_ROLE_SYSTEM_BORDER              = 0x13 ,
00093     CAT_ROLE_SYSTEM_GROUPING            = 0x14 ,
00094     CAT_ROLE_SYSTEM_SEPARATOR           = 0x15 ,
00095     CAT_ROLE_SYSTEM_TOOLBAR             = 0x16 ,
00096     CAT_ROLE_SYSTEM_STATUSBAR           = 0x17 ,
00097     CAT_ROLE_SYSTEM_TABLE               = 0x18 ,
00098     CAT_ROLE_SYSTEM_COLUMNHEADER        = 0x19 ,
00099     CAT_ROLE_SYSTEM_ROWHEADER           = 0x1a ,
00100     CAT_ROLE_SYSTEM_COLUMN              = 0x1b ,
00101     CAT_ROLE_SYSTEM_ROW                 = 0x1c ,
00102     CAT_ROLE_SYSTEM_CELL                = 0x1d ,
00103     CAT_ROLE_SYSTEM_LINK                = 0x1e ,
00104     CAT_ROLE_SYSTEM_HELPBALLOON         = 0x1f ,
00105     CAT_ROLE_SYSTEM_CHARACTER           = 0x20 ,
00106     CAT_ROLE_SYSTEM_LIST                = 0x21 ,
00107     CAT_ROLE_SYSTEM_LISTITEM            = 0x22 ,
00108     CAT_ROLE_SYSTEM_OUTLINE             = 0x23 ,
00109     CAT_ROLE_SYSTEM_OUTLINEITEM         = 0x24 ,
00110     CAT_ROLE_SYSTEM_PAGETAB             = 0x25 ,
00111     CAT_ROLE_SYSTEM_PROPERTYPAGE        = 0x26 ,
00112     CAT_ROLE_SYSTEM_INDICATOR           = 0x27 ,
00113     CAT_ROLE_SYSTEM_GRAPHIC             = 0x28 ,
00114     CAT_ROLE_SYSTEM_STATICTEXT          = 0x29 ,
00115     CAT_ROLE_SYSTEM_TEXT                = 0x2a ,
00116     CAT_ROLE_SYSTEM_PUSHBUTTON          = 0x2b ,
00117     CAT_ROLE_SYSTEM_CHECKBUTTON         = 0x2c ,
00118     CAT_ROLE_SYSTEM_RADIOBUTTON         = 0x2d ,
00119     CAT_ROLE_SYSTEM_COMBOBOX            = 0x2e ,
00120     CAT_ROLE_SYSTEM_DROPLIST            = 0x2f ,
00121     CAT_ROLE_SYSTEM_PROGRESSBAR         = 0x30 ,
00122     CAT_ROLE_SYSTEM_DIAL                = 0x31 ,
00123     CAT_ROLE_SYSTEM_HOTKEYFIELD         = 0x32 ,
00124     CAT_ROLE_SYSTEM_SLIDER              = 0x33 ,
00125     CAT_ROLE_SYSTEM_SPINBUTTON          = 0x34 ,
00126     CAT_ROLE_SYSTEM_DIAGRAM             = 0x35 ,
00127     CAT_ROLE_SYSTEM_ANIMATION           = 0x36 ,
00128     CAT_ROLE_SYSTEM_EQUATION            = 0x37 ,
00129     CAT_ROLE_SYSTEM_BUTTONDROPDOWN      = 0x38 ,
00130     CAT_ROLE_SYSTEM_BUTTONMENU          = 0x39 ,
00131     CAT_ROLE_SYSTEM_BUTTONDROPDOWNGRID  = 0x3a ,
00132     CAT_ROLE_SYSTEM_WHITESPACE          = 0x3b ,
00133     CAT_ROLE_SYSTEM_PAGETABLIST         = 0x3c ,
00134     CAT_ROLE_SYSTEM_CLOCK               = 0x3d ,
00135     CAT_ROLE_SYSTEM_SPLITBUTTON         = 0x3e ,
00136     CAT_ROLE_SYSTEM_IPADDRESS           = 0x3f ,
00137     CAT_ROLE_SYSTEM_OUTLINEBUTTON       = 0x40 
00138 };
00139 #endif //CATGUIAccessDefs_H_

Generated on Mon Feb 11 04:09:53 2008 for Game Accessibility Suite by doxygen 1.5.4