src/video/bwindow/SDL_bwindow.cc
changeset 5940 377e870b3f49
parent 5939 d9e9c343d264
child 6044 35448a5ea044
equal deleted inserted replaced
5939:d9e9c343d264 5940:377e870b3f49
    35 
    35 
    36 static inline SDL_BApp *_GetBeApp() {
    36 static inline SDL_BApp *_GetBeApp() {
    37 	return ((SDL_BApp*)be_app);
    37 	return ((SDL_BApp*)be_app);
    38 }
    38 }
    39 
    39 
    40 int _InitWindow(_THIS, SDL_Window *window) {
    40 static int _InitWindow(_THIS, SDL_Window *window) {
    41 	uint32 flags = 0;
    41 	uint32 flags = 0;
    42 	BRect bounds(
    42 	BRect bounds(
    43         window->x,
    43         window->x,
    44         window->y,
    44         window->y,
    45         window->x + window->w - 1,	//BeWindows have an off-by-one px w/h thing
    45         window->x + window->w - 1,	//BeWindows have an off-by-one px w/h thing