comparison src/video/bwindow/SDL_BWin.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 e8157fcb3114
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
153 if ( the_view == SDL_GLView ) { 153 if ( the_view == SDL_GLView ) {
154 return; 154 return;
155 } 155 }
156 #endif 156 #endif
157 SDL_View->SetXYOffset(x, y); 157 SDL_View->SetXYOffset(x, y);
158 }
159 virtual void GetXYOffset(int &x, int &y) {
160 #ifdef HAVE_OPENGL
161 if ( the_view == SDL_GLView ) {
162 x = 0;
163 y = 0;
164 return;
165 }
166 #endif
167 SDL_View->GetXYOffset(x, y);
158 } 168 }
159 virtual bool BeginDraw(void) { 169 virtual bool BeginDraw(void) {
160 return(Lock()); 170 return(Lock());
161 } 171 }
162 virtual void DrawAsync(BRect updateRect) { 172 virtual void DrawAsync(BRect updateRect) {