23 #ifndef PAWS_DND_BUTTON_HEADER 24 #define PAWS_DND_BUTTON_HEADER 37 #define DNDBUTTON_DRAGGING 9999 51 virtual bool Setup(iDocumentNode* node);
54 virtual bool OnMouseDown(
int button,
int modifiers,
int x,
int y);
55 virtual bool OnMouseUp(
int button,
int modifiers,
int x,
int y);
59 void Start(csTicks startTicks, csTicks currentTicks, csTicks duration);
140 action=
new csString( act );
161 if(!action->IsEmpty())
163 return action->GetData();
181 void SetIcon(
const char* icon );
CREATE_PAWS_FACTORY(pawsDnDButton)
Manages dragging items from one inventory slot to another and dropping them into the world...