Public Member Functions | |
Constructor / Destructor | |
DragSourceView (CPLAT::CP_View *inSuperview, const CPLAT::CP_Point &inUpperLeft, const CPLAT::CP_Size &inContentSize) | |
Constructor. | |
virtual | ~DragSourceView () throw () |
Destructor. | |
Protected Member Functions | |
Drawing | |
virtual void | OnDraw (CPLAT::CP_Canvas &inCanvas, CPLAT::CP_Region &inUpdateArea) |
Drag and Drop | |
virtual void | AddDragImage (CPLAT::CP_DragDrop &inDragDrop, const CPLAT::CP_Point &inStartPoint) |
Events | |
virtual void | InitEventHandler (CPLAT::CP_EventHandler &inEventHandler) |
void | HandleControlHitEvent (CPLAT::CP_Event_Base &inEvent) |
|
Constructor.
|
|
Destructor.
|
|
Draw the contents of this view.
|
|
Adds a drag image to the drag.
|
|
Install our event handlers. For this demo, we only install a control hit handler to be notified when the user clicks in this view.
|
|
Handle clicks in this view to being the drag and drop process.
|