comparison src/video/bwindow/SDL_BView.h @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children dabc453ce7f7
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
47 } 47 }
48 /* Set drawing offsets for fullscreen mode */ 48 /* Set drawing offsets for fullscreen mode */
49 virtual void SetXYOffset(int x, int y) { 49 virtual void SetXYOffset(int x, int y) {
50 xoff = x; 50 xoff = x;
51 yoff = y; 51 yoff = y;
52 }
53 virtual void GetXYOffset(int &x, int &y) {
54 x = xoff;
55 y = yoff;
52 } 56 }
53 /* The view changed size. If it means we're in fullscreen, we 57 /* The view changed size. If it means we're in fullscreen, we
54 * draw a nice black box in the entire view to get black borders. 58 * draw a nice black box in the entire view to get black borders.
55 */ 59 */
56 virtual void FrameResized(float width, float height) { 60 virtual void FrameResized(float width, float height) {