hotkeys.cpp File Reference

(r1785/r1769)

#include "camtypes.h"
#include "hotkeys.h"
#include "keypress.h"
#include "oilfiles.h"
#include "vkextra.h"
#include "toollist.h"
#include "dragmgr.h"
#include "basebar.h"
#include "wxkeymap.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define TEXT_DESC_SIZE   32
#define ENUM_STR_DESC_SIZE   20

Enumerations

enum  HK_TokenIndex {
  HK_TOKEN_NONE = -1, HK_TOKEN_HOTKEY, HK_TOKEN_HOTKEYEND, HK_TOKEN_ADJUST,
  HK_TOKEN_CONSTRAIN, HK_TOKEN_ALTERNATIVE, HK_TOKEN_EXTENDED, HK_TOKEN_TOOLSWITCH,
  HK_TOKEN_WORKSINDRAG, HK_TOKEN_CHECKUNICODE, HK_NUM_TOKENS
}

Functions

 DECLARE_SOURCE ("$Revision: 1769 $")
static HK_TokenIndex FindToken (const TCHAR *Token)

Variables

static List HotKeyList
struct {
   TCHAR *   Token
   TCHAR *   Token
   TCHAR *   tag
   INT32   Id
   TCHAR *   Token
   UINT32   Magic
   UINT32   Serial
   wchar_t   Name [BRANDED_NAME_MAX]
   wchar_t   Company [BRANDED_NAME_MAX]
   TCHAR *   Token
   GridType   Type
   UINT32   IDS
   TCHAR *   Token
TokenTable []


Define Documentation

#define ENUM_STR_DESC_SIZE   20
 

Definition at line 172 of file hotkeys.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 124 of file hotkeys.cpp.

#define TEXT_DESC_SIZE   32
 

Definition at line 169 of file hotkeys.cpp.


Enumeration Type Documentation

enum HK_TokenIndex
 

Enumerator:
HK_TOKEN_NONE 
HK_TOKEN_HOTKEY 
HK_TOKEN_HOTKEYEND 
HK_TOKEN_ADJUST 
HK_TOKEN_CONSTRAIN 
HK_TOKEN_ALTERNATIVE 
HK_TOKEN_EXTENDED 
HK_TOKEN_TOOLSWITCH 
HK_TOKEN_WORKSINDRAG 
HK_TOKEN_CHECKUNICODE 
HK_NUM_TOKENS 

Definition at line 128 of file hotkeys.cpp.

00129 {
00130     HK_TOKEN_NONE = -1,
00131     HK_TOKEN_HOTKEY,
00132     HK_TOKEN_HOTKEYEND,
00133     HK_TOKEN_ADJUST,
00134     HK_TOKEN_CONSTRAIN,
00135     HK_TOKEN_ALTERNATIVE,
00136     HK_TOKEN_EXTENDED,
00137     HK_TOKEN_TOOLSWITCH,
00138     HK_TOKEN_WORKSINDRAG,
00139     HK_TOKEN_CHECKUNICODE,
00140     // Add new token indexs BEFORE HK_NUM_TOKENS
00141     HK_NUM_TOKENS
00142 };


Function Documentation

DECLARE_SOURCE "$Revision: 1769 $"   ) 
 

static HK_TokenIndex FindToken const TCHAR Token  )  [static]
 

Definition at line 160 of file hotkeys.cpp.

00161 {
00162     for (INT32 i=0;i<HK_NUM_TOKENS;i++)
00163         if (camStrcmp(TokenTable[i].Token,Token) == 0) return ((HK_TokenIndex)i);
00164 
00165     return (HK_TOKEN_NONE);
00166 }


Variable Documentation

List HotKeyList [static]
 

Definition at line 126 of file hotkeys.cpp.

TCHAR* Token
 

Definition at line 146 of file hotkeys.cpp.

struct { ... } TokenTable[] [static]
 


Generated on Sat Nov 10 03:49:11 2007 for Camelot by  doxygen 1.4.4