virtual void DoFreeDrag(int dx,int dy,int button) { if(button == GLUT_LEFT_BUTTON) DragRotate(dx,dy); else if(button == GLUT_RIGHT_BUTTON) { string res=ui->MouseInputEvent(dx,dy,true); } }
virtual void Handle_Motion(int x,int y) { string res=ui->MouseInputEvent(x,y,false); SendRefresh(); }
void EndDrag(int x,int y,int button,int modifiers) { if(button == GLUT_RIGHT_BUTTON) { string res=ui->MouseInputEvent(0,0,true); } }