GME  13
InspectorDefs.h
Go to the documentation of this file.
00001 #ifndef INSPECTOR_DEFS_H
00002 #define INSPECTOR_DEFS_H
00003 
00004 
00005 // Comment this out if you do not want to see the messages in the debug window
00006 #define DEBUG_EVENTS
00007 
00008 
00009 #ifdef DEBUG_EVENTS
00010  #define EVENT_TRACE(x) TRACE(x)
00011 #else
00012  #define EVENT_TRACE(x)
00013 #endif 
00014 
00015 
00016 
00017 #define INSP_INITIAL_SIZEX      200     
00018 #define INSP_INITIAL_SIZEY      320
00019 #define INSP_MIN_SIZEX          80      
00020 #define INSP_MIN_SIZEY          100
00021 
00022 #define INSP_LEFT_MARGIN                16      
00023 #define INSP_DIVIDER_POSITION   100
00024 #define INSP_MOUSE_RADIUS               1
00025 #define INSP_PLUS_MINUS_BUTTON_SIZE             9
00026 
00027 
00028 #define INSP_ENTRY_FONT_FACE    _T("MS Sans Serif")
00029 #define INSP_ENTRY_FONT_PTSIZE  80
00030 
00031 typedef enum { INSP_ATTR_PANEL=0, INSP_PREF_PANEL, INSP_PROP_PANEL, INSP_PANEL_NUM } InspPanelID;
00032 
00033 
00034 #define INSP_COLORBOX_SIZE                              13
00035 #define INSP_COLORBOX_MARGIN                     2
00036 
00037 #define AUTOROUTER_SOURCE               0x01
00038 #define AUTOROUTER_DESTINATION  0x02
00039 #define AUTOROUTER_STATE_CONN   0x03
00040 #define AUTOROUTER_STATE_MODEL  0x04
00041 
00042 
00043 // Resource IDs
00044 #define IDC_ARROW_BUTTON                                301
00045 #define IDC_COMBO_LISTBOX                               302
00046 #define IDC_EDITBOX_MULTILINE                   303
00047 #define IDC_EDITBOX_SINGLELINE                  304
00048 #define IDC_EDITOR_BUTTON                               305
00049 
00050 // Hoover List box message
00051 #define HLB_SELENDOK     WM_APP + 1020 
00052 
00053 // InPlace Edit message
00054 #define MSG_EDIT_END_OK  WM_APP + 1021
00055 
00056 
00057 // Inspector List Messages
00058 #define LBN_ON_ITEM_CHANGED      WM_APP + 1022
00059 
00060 
00061 // NameEdit Messages
00062 #define MSG_NAME_EDIT_END_OK             WM_APP + 1023
00063 #define MSG_NAME_EDIT_END_CANCEL         WM_APP + 1024
00064 
00065 // Contains a number 
00066 #define ATTRIBUTE_MULTILINE_PREFERENCE_REGISTRY_PATH "multiLine"
00067 #define ATTRIBUTE_HELP_REGISTRY_PATH "help"
00068 #define ATTRIBUTE_CONTENTTYPE_REGISTRY_PATH "content-type"
00069 
00070 
00071 #endif  //INSPECTOR_DEFS_H