Inheritance diagram for ToolSwitch:
Public Member Functions | |
ToolSwitch (Tool *pThisTool, KeyPress *pKeyPress, BOOL FromFile) | |
The constructor. Creates a ToolSwitch object that represents a key press combination that invokes the given tool. | |
~ToolSwitch () | |
Default destructor. Main job is to delete the key press object it constains. | |
Public Attributes | |
Tool * | pTool |
KeyPress * | pKeyPress |
BOOL | Temp: 1 |
BOOL | DefFromFile: 1 |
Static Public Attributes | |
static ToolSwitch * | pCurrentToolSwitch = NULL |
Definition at line 172 of file tool.cpp.
|
The constructor. Creates a ToolSwitch object that represents a key press combination that invokes the given tool.
Definition at line 214 of file tool.cpp. 00215 { 00216 pTool = pThisTool; 00217 pKeyPress = pThisKeyPress; 00218 Temp = FALSE; 00219 DefFromFile = FromFile; 00220 }
|
|
Default destructor. Main job is to delete the key press object it constains.
Definition at line 238 of file tool.cpp. 00239 { 00240 if (pKeyPress != NULL) 00241 { 00242 delete pKeyPress; 00243 pKeyPress = NULL; 00244 } 00245 }
|
|
|
|
|
|
|
|
|
|
|