*
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef GUINodePort_h__
|
||||
#define GUINodePort_h__
|
||||
|
||||
#include <gui/GUIPlane.h>
|
||||
|
||||
class GUINodePort : public Video::GUIPlane
|
||||
{
|
||||
public:
|
||||
EVENT2(PortEvent, GUINodePort*, GUINodePort*);
|
||||
PortEvent Event_Link;
|
||||
GUINodePort();
|
||||
~GUINodePort();
|
||||
void FinishDrag();
|
||||
bool DragEnter(DragInfo* info);
|
||||
void AcceptDrop(DragInfo* info);
|
||||
void OnMouseMove(int abs_x, int abs_y, int rel_x, int rel_y);
|
||||
void OnMousePress(int x, int y, int key);
|
||||
void SetMode(bool isInput)
|
||||
{
|
||||
input_mode = isInput;
|
||||
}
|
||||
void* user_data;
|
||||
private:
|
||||
|
||||
bool input_mode;
|
||||
bool can_drag;
|
||||
DragInfo info;
|
||||
};
|
||||
#endif // GUINodePort_h__
|
||||
Reference in New Issue
Block a user