diff 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
line wrap: on
line diff
--- a/src/video/bwindow/SDL_BView.h	Thu Apr 26 16:45:43 2001 +0000
+++ b/src/video/bwindow/SDL_BView.h	Thu Apr 26 16:50:19 2001 +0000
@@ -50,6 +50,10 @@
 		xoff = x;
 		yoff = y;
 	}
+	virtual void GetXYOffset(int &x, int &y) {
+		x = xoff;
+		y = yoff;
+	}
 	/* The view changed size. If it means we're in fullscreen, we
 	 * draw a nice black box in the entire view to get black borders.
 	 */