KeyMsg Class Reference

This is sent when a key press occurs that hasn't yet been processed by other parts of the key press handing system, such as the current too, temporary tool switching, and the hot-key system. More...

#include <keymsg.h>

Inheritance diagram for KeyMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  KeyReason { KEYPRESS, MODIFIERCHANGED }

Public Member Functions

 KeyMsg (KeyReason ThisReason, KeyPress *pThisKeyPress)

Public Attributes

KeyReason Reason
KeyPresspKeyPress

Detailed Description

This is sent when a key press occurs that hasn't yet been processed by other parts of the key press handing system, such as the current too, temporary tool switching, and the hot-key system.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
31/8/94

Definition at line 119 of file keymsg.h.


Member Enumeration Documentation

enum KeyMsg::KeyReason
 

Enumerator:
KEYPRESS 
MODIFIERCHANGED 

Definition at line 126 of file keymsg.h.

00127     {
00128         KEYPRESS,           // A key has been pressed and the resulting KeyPress object is 
00129                             // pointed to by KeyMsg::pKeyPress
00130         MODIFIERCHANGED
00131     };


Constructor & Destructor Documentation

KeyMsg::KeyMsg KeyReason  ThisReason,
KeyPress pThisKeyPress
[inline]
 

Definition at line 136 of file keymsg.h.

00136 : Reason(ThisReason), pKeyPress(pThisKeyPress) { /* empty */ }


Member Data Documentation

KeyPress* KeyMsg::pKeyPress
 

Definition at line 134 of file keymsg.h.

KeyReason KeyMsg::Reason
 

Definition at line 133 of file keymsg.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:55:41 2007 for Camelot by  doxygen 1.4.4