Changeset 133 for cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
- Timestamp:
- 08/26/10 18:56:28 (21 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
r132 r133 461 461 FrameBuffer.PushBackEmpty(Width*Height); 462 462 463 // Read the pixels from tthe OpenGL back buffer into FrameBuffer.463 // Read the pixels from the OpenGL back buffer into FrameBuffer. 464 464 // Note that the first two parameters (0, 0) specify the left BOTTOM corner of the desired rectangle! 465 465 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, &FrameBuffer[0]); … … 582 582 583 583 ME.Type =CaMouseEventT::CM_MOVE_X; 584 ME.Amount=MouseDelta.x; // TODO: Factor out screen resolution...584 ME.Amount=MouseDelta.x; 585 585 if (ME.Amount!=0) ActiveGui->ProcessDeviceEvent(ME); 586 586 587 587 ME.Type =CaMouseEventT::CM_MOVE_Y; 588 ME.Amount=MouseDelta.y; // TODO: Factor out screen resolution...588 ME.Amount=MouseDelta.y; 589 589 if (ME.Amount!=0) ActiveGui->ProcessDeviceEvent(ME); 590 590 }
