dlgtypes.h File Reference

(r1785/r1386)

Go to the source code of this file.

Classes

struct  ReDrawInfoType

Typedefs

typedef wxWindow * CWindowID
typedef wxTreeItemId CTreeItemID
typedef UINT32 CDlgResID
typedef UINT32 CGadgetID

Enumerations

enum  CDlgMessage {
  DIM_NONE = 0, DIM_LFT_BN_CLICKED, DIM_RGT_BN_CLICKED, DIM_SELECTION_CHANGED,
  DIM_SELECTION_CHANGED_COMMIT, DIM_SELECTION_CANCELED, DIM_OUT_OF_SPACE, DIM_LFT_BN_DOWN,
  DIM_LFT_BN_UP, DIM_RGT_BN_DOWN, DIM_RGT_BN_UP, DIM_MOUSE_MOVE,
  DIM_MOUSE_DRAG, DIM_TEXT_CHANGED, DIM_COMMIT, DIM_SOFT_COMMIT,
  DIM_CANCEL, DIM_CREATE, DIM_SLIDER_POS_CHANGING, DIM_SLIDER_POS_IDLE,
  DIM_SLIDER_POS_SET, DIM_SLIDER_POS_CANCELLED, DIM_GRID_BUTTON_DOWN, DIM_REDRAW,
  DIM_BAR_DEATH, DIM_FOCUS_LOST, DIM_SET_ACTIVE, DIM_FONTCHANGE,
  DIM_LISTDROPPED, DIM_TITLEFOCUSWARN, DIM_SET_FOCUS, DIM_KILL_FOCUS,
  DIM_TIMER, DIM_SPINCONTROLUP, DIM_SPINCONTROLDOWN, DIM_DLG_MOVED,
  DIM_DLG_RESIZED, DIM_COMMIT_BRUSH, DIM_MOUSEWHEEL_UP, DIM_MOUSEWHEEL_DOWN,
  DIM_MID_BN_DOWN, DIM_MID_BN_UP, DIM_MID_BN_CLICKED, DIM_CTRL_RESIZED,
  DIM_PROFILE_CHANGED, DIM_PROFILE_CHANGING, DIM_PROFILE_CHANGEIDLE
}
enum  CDlgMode { MODAL, MODELESS }
enum  EditGadgetType { UNIT_NUMERIC, INT_NUMERIC, REAL_NUMERIC }
enum  SelChangeMsgSubType { NO_COMMIT, TAB_COMMIT, ENTER_COMMIT }
enum  TabType {
  TABTYPE_TABS, TABTYPE_LIST, TABTYPE_CHOICE, TABTYPE_TREE,
  TABTYPE_TOOLBAR
}


Typedef Documentation

typedef UINT32 CDlgResID
 

Definition at line 122 of file dlgtypes.h.

typedef UINT32 CGadgetID
 

Definition at line 123 of file dlgtypes.h.

typedef wxTreeItemId CTreeItemID
 

Definition at line 118 of file dlgtypes.h.

typedef wxWindow* CWindowID
 

Definition at line 112 of file dlgtypes.h.


Enumeration Type Documentation

enum CDlgMessage
 

Enumerator:
DIM_NONE 
DIM_LFT_BN_CLICKED 
DIM_RGT_BN_CLICKED 
DIM_SELECTION_CHANGED 
DIM_SELECTION_CHANGED_COMMIT 
DIM_SELECTION_CANCELED 
DIM_OUT_OF_SPACE 
DIM_LFT_BN_DOWN 
DIM_LFT_BN_UP 
DIM_RGT_BN_DOWN 
DIM_RGT_BN_UP 
DIM_MOUSE_MOVE 
DIM_MOUSE_DRAG 
DIM_TEXT_CHANGED 
DIM_COMMIT 
DIM_SOFT_COMMIT 
DIM_CANCEL 
DIM_CREATE 
DIM_SLIDER_POS_CHANGING 
DIM_SLIDER_POS_IDLE 
DIM_SLIDER_POS_SET 
DIM_SLIDER_POS_CANCELLED 
DIM_GRID_BUTTON_DOWN 
DIM_REDRAW 
DIM_BAR_DEATH 
DIM_FOCUS_LOST 
DIM_SET_ACTIVE 
DIM_FONTCHANGE 
DIM_LISTDROPPED 
DIM_TITLEFOCUSWARN 
DIM_SET_FOCUS 
DIM_KILL_FOCUS 
DIM_TIMER 
DIM_SPINCONTROLUP 
DIM_SPINCONTROLDOWN 
DIM_DLG_MOVED 
DIM_DLG_RESIZED 
DIM_COMMIT_BRUSH 
DIM_MOUSEWHEEL_UP 
DIM_MOUSEWHEEL_DOWN 
DIM_MID_BN_DOWN 
DIM_MID_BN_UP 
DIM_MID_BN_CLICKED 
DIM_CTRL_RESIZED 
DIM_PROFILE_CHANGED 
DIM_PROFILE_CHANGING 
DIM_PROFILE_CHANGEIDLE 

Definition at line 127 of file dlgtypes.h.

00127                  { 
00128                     DIM_NONE = 0,
00129                     DIM_LFT_BN_CLICKED,            // Left button pressed
00130                     DIM_RGT_BN_CLICKED,            // Right button pressed
00131                     DIM_SELECTION_CHANGED,         // List selection changed
00132                     DIM_SELECTION_CHANGED_COMMIT,  // List selection changed commit
00133                                                    // (Double mouse click in windows)  
00134                     DIM_SELECTION_CANCELED,        // Previous list selection cancelled
00135                     DIM_OUT_OF_SPACE,              // List full
00136                     
00137                     DIM_LFT_BN_DOWN,               // Left button pressed down
00138                     DIM_LFT_BN_UP,                 // Left button released
00139                     DIM_RGT_BN_DOWN,               // Right button pressed down
00140                     
00141                     DIM_RGT_BN_UP,                 // Right button released
00142 // Removed by Simon 25/11, as they make debugging a pain, they are unlikely to be needed
00143 
00144                     
00145                     DIM_MOUSE_MOVE,                // Mouse move with button held down
00146                     DIM_MOUSE_DRAG,                // Normal mouse move
00147                     
00148                     DIM_TEXT_CHANGED,              // Text changed 
00149 
00150                     DIM_COMMIT,                    // Commit message, sent when left button pressed on
00151                                                    // IDOK button or enter pressed
00152                     DIM_SOFT_COMMIT,               // Soft commit messsage sent when right button pressed
00153                                                    // on IDOK button
00154                     DIM_CANCEL,                    // Escape pressed/left button click on CANCEL/
00155                                                    // Close dialog btn pressed
00156 
00157                     DIM_CREATE,                    // A DIM_CREATE mesage is sent after the dialogOp's
00158                                                    // window has been created. It is required by 
00159                                                    // DialogBarOps so that they can initialise their
00160                                                    // controls.
00161 
00162                     DIM_SLIDER_POS_CHANGING,        // Sent when a slider is being dragged
00163                                                     // so that things controlled by the
00164                                                     // slider can be updated interactively.
00165                                                     // DlgMsgParam = current slider pos.
00166                     DIM_SLIDER_POS_IDLE,            // REVISED CGS (9/8/2000)
00167                                                     // Sent when a slider has been dragged
00168                                                     // and the user has stopped moving the mouse,
00169                                                     // but has still got the mouse button down.
00170                                                     // this message can be used to redraw objects
00171                                                     // that are too complex to be updated interactively
00172                                                     // DlgMsgParam = current slider pos.
00173                     DIM_SLIDER_POS_SET,             // Sent when a slider has just been
00174                                                     // "dropped" so that things controlled
00175                                                     // by the slider can be upated after it
00176                                                     // has been dragged.
00177                                                     // DlgMsgParam = current slider pos.
00178 
00179                     DIM_SLIDER_POS_CANCELLED,       // Sent when a slide has just been
00180                                                     // cancelled so that things controlled
00181                                                     // by the slider can be updated
00182 
00183 
00184                     DIM_GRID_BUTTON_DOWN,           // sent when the user clicks on a "telephone keypad"
00185                                                     // custom control.  The numeric ID of the button
00186                                                     // clicked (numbered 1 - 9) is in DlgMsgParam
00187 
00188                     DIM_REDRAW,                     // Message sent to dialog that create render regions
00189                                                     // and draw into them. For a dialog to get one of these
00190                                                     // messages it must have a control in it of class
00191                                                     // cc_DialogDraw. Only this control will get the DIM_REDRAW
00192                                                     // messages. DlgMsgParam holds a pointer to a CCDC that
00193                                                     // can be used to create a render region.
00194                     DIM_BAR_DEATH,                  // similar to a cancel but this kills the op as well
00195 
00196                     DIM_FOCUS_LOST,                 // Sent when a gadget loses the input focus
00197                                                     // NOTE: This may not be implemented for all gadget types
00198                                                     // (search w/dlgmgr.cpp for DIM_FOCUS_LOST to check)
00199 
00200                     DIM_SET_ACTIVE,                 // Sent when a tabbed dialogue pane becomes active
00201 
00202                     DIM_FONTCHANGE,                 // Sent when Font is Installed or DeInstalled
00203 
00204                     DIM_LISTDROPPED,                // Sent when a list box is dropped ( e.g from a combo) 
00205 
00206                     DIM_TITLEFOCUSWARN,             // Sent when a dialogue has been moved and when a
00207                                                     // titlebar "mouseactivate" occurs. Used by the colour
00208                                                     // editor to bodge away the input focus when moved.
00209 
00210                     DIM_SET_FOCUS,                  // An ed field has just received focus
00211                     DIM_KILL_FOCUS,                 // An ed field has just lost focus
00212 
00213                     DIM_TIMER,                      // The requested timer has gone off.
00214 
00215                     DIM_SPINCONTROLUP,              // Special spin control message
00216                     DIM_SPINCONTROLDOWN,                // Special spin control message
00217 
00218                     DIM_DLG_MOVED,                  // the dialog has been moved
00219                     DIM_DLG_RESIZED,                // the dialog has been resized
00220 
00221                     DIM_COMMIT_BRUSH,                // special message sent by the brush dialog
00222 
00223                     DIM_MOUSEWHEEL_UP,              // mousewheel scroll upwards (away from user)
00224                     DIM_MOUSEWHEEL_DOWN,            // mousewheel scroll downwards (towards user)
00225                     DIM_MID_BN_DOWN,                // middle button down
00226                     DIM_MID_BN_UP,                  // middle button up
00227                     DIM_MID_BN_CLICKED,             // middle button pressed
00228 
00229                     DIM_CTRL_RESIZED,               // A control within the dialog has been resized
00230 
00231                             // Profile (bias-gain) - related messages.
00232                     DIM_PROFILE_CHANGED,            // A profile-changing message, sent by the profile dialog
00233                                                     // to a toolbar.
00234                     DIM_PROFILE_CHANGING,           // The same as DIM_PROFILE_CHANGED, but sent before profile finally
00235                                                     // was changed. E.g. slider sends DIM_PROFILE_CHANGING while the user moves
00236                                                     // the knob and DIM_PROFILE_CHANGED when he releases it (sets the filnal position).
00237                     DIM_PROFILE_CHANGEIDLE          // Changing the 
00238                 };  

enum CDlgMode
 

Enumerator:
MODAL 
MODELESS 

Definition at line 240 of file dlgtypes.h.

00240 { MODAL, MODELESS };    // Mode of dialog box     

enum EditGadgetType
 

Enumerator:
UNIT_NUMERIC 
INT_NUMERIC 
REAL_NUMERIC 

Definition at line 244 of file dlgtypes.h.

00244                     { UNIT_NUMERIC,     // only unit chars
00245                       INT_NUMERIC,      // only 0..9 chars
00246                       REAL_NUMERIC };   // only 0..9 and . chars

enum SelChangeMsgSubType
 

Enumerator:
NO_COMMIT 
TAB_COMMIT 
ENTER_COMMIT 

Definition at line 251 of file dlgtypes.h.

00252 {
00253     NO_COMMIT,
00254     TAB_COMMIT,             // "I have finished editing this field, but I might come back in a minute"
00255     ENTER_COMMIT            // "I really have finished editing this field, go ahead and do your stuff!"
00256 };

enum TabType
 

Enumerator:
TABTYPE_TABS 
TABTYPE_LIST 
TABTYPE_CHOICE 
TABTYPE_TREE 
TABTYPE_TOOLBAR 

Definition at line 280 of file dlgtypes.h.

00281 {
00282     TABTYPE_TABS,
00283     TABTYPE_LIST,
00284     TABTYPE_CHOICE,
00285     TABTYPE_TREE,
00286     TABTYPE_TOOLBAR
00287 };


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