src/video/cocoa/SDL_cocoawindow.m
changeset 1958 5fc6fb0fb605
parent 1957 c7803e4c21d3
child 1959 25d6537feea4
equal deleted inserted replaced
1957:c7803e4c21d3 1958:5fc6fb0fb605
   212     point.y = rect.size.height - (point.y - rect.origin.y);
   212     point.y = rect.size.height - (point.y - rect.origin.y);
   213     SDL_SendMouseMotion(index, 0, (int)point.x, (int)point.y);
   213     SDL_SendMouseMotion(index, 0, (int)point.x, (int)point.y);
   214 }
   214 }
   215 
   215 
   216 - (void)mouseDragged:(NSEvent *)theEvent
   216 - (void)mouseDragged:(NSEvent *)theEvent
       
   217 {
       
   218     [self mouseMoved:theEvent];
       
   219 }
       
   220 
       
   221 - (void)rightMouseDragged:(NSEvent *)theEvent
       
   222 {
       
   223     [self mouseMoved:theEvent];
       
   224 }
       
   225 
       
   226 - (void)otherMouseDragged:(NSEvent *)theEvent
   217 {
   227 {
   218     [self mouseMoved:theEvent];
   228     [self mouseMoved:theEvent];
   219 }
   229 }
   220 
   230 
   221 - (void)scrollWheel:(NSEvent *)theEvent
   231 - (void)scrollWheel:(NSEvent *)theEvent