ADTF_DISPLAY_TOOLBOX
3.8.0 (ADTF 3.14.3)
|
Interface for a handler that is responsible for a node and all its children. More...
Public Types | |
enum | tModifiers { CM_ALT = 1 , CM_CTRL = 2 , CM_SHIFT = 4 , CM_LEFT_MB = 8 , CM_RIGHT_MB = 16 , CM_MIDDLE_MB = 32 } |
Enum values representing key / mouse modifiers. | |
Public Member Functions | |
ADTF_IID (INodeHandler, "node_handler.endor.mixinlib.disptb.adtf.iid") | |
Define an interface id for this class | |
virtual tResult | GetName (base::ant::IString &&strName) const =0 |
Returns the name of the handler. More... | |
virtual tResult | OnPick (tInt32 nPosX, tInt32 nPosY, tUInt32 nFlags, const tNodePath &sNodePath, IMenu &oMenu)=0 |
Called when an object has been picked by the user. More... | |
Interface for a handler that is responsible for a node and all its children.
Definition at line 41 of file coordinate_systems_intf.h.
|
pure virtual |
Returns the name of the handler.
[out] | strName | The name of the handler. |
|
pure virtual |
Called when an object has been picked by the user.
[in] | nPosX | The horizontal position of the click in the view window. |
[in] | nPosY | The vertical position of the click in the view window. |
[in] | nFlags | tModifiers |
[in] | sNodePath | The path to the node that was clicked. If empty menu entries are added to the global menu. |
[in,out] | oMenu | The menu where you can add entries. |