§ AddReceiver()
void STRUCT_DRAG_AND_DROP::AddReceiver |
( |
const char * |
sName | ) |
|
add an receiver to the current receiver list.
- Parameters
-
sName | name. if this is "root", the dragging object can always to reattached. |
§ CleanUpReceivers()
void STRUCT_DRAG_AND_DROP::CleanUpReceivers |
( |
| ) |
|
we should clean up receivers, when a drag begins.
However, the drag begin NPL script handlers, one can add receiver names.
§ HasReceiver()
bool STRUCT_DRAG_AND_DROP::HasReceiver |
( |
const char * |
sName | ) |
|
whether the current receiver list contains a given name.
§ SetDraggingCandidate()
void ParaEngine::STRUCT_DRAG_AND_DROP::SetDraggingCandidate |
( |
IObjectDrag * |
pDragging | ) |
|
a dragging candidate will receive all mouse event if the mouse button keeps pressed.
The documentation for this struct was generated from the following files:
- Client/trunk/ParaEngineClient/util/IObjectDrag.h
- Client/trunk/ParaEngineClient/util/IObjectDrag.cpp