Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_mouse.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | d364ee9b9c15 |
children | 8cc00819c8d6 |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_mouse.c Fri Jan 09 20:41:31 2009 +0000 +++ b/src/video/directfb/SDL_DirectFB_mouse.c Fri Jan 09 20:43:30 2009 +0000 @@ -132,14 +132,15 @@ dsc.height = surface->h; dsc.pixelformat = DSPF_ARGB; - SDL_DFB_CHECKERR(devdata->dfb-> - CreateSurface(devdata->dfb, &dsc, &curdata->surf)); + SDL_DFB_CHECKERR(devdata-> + dfb->CreateSurface(devdata->dfb, &dsc, &curdata->surf)); curdata->hotx = hot_x; curdata->hoty = hot_y; cursor->driverdata = curdata; - SDL_DFB_CHECKERR(curdata->surf-> - Lock(curdata->surf, DSLF_WRITE, (void *) &dest, &pitch)); + SDL_DFB_CHECKERR(curdata-> + surf->Lock(curdata->surf, DSLF_WRITE, (void *) &dest, + &pitch)); /* Relies on the fact that this is only called with ARGB surface. */ p = surface->pixels; @@ -174,21 +175,22 @@ DFB_WindowData *windata = (DFB_WindowData *) window->driverdata; if (cursor) - SDL_DFB_CHECKERR(windata->window-> - SetCursorShape(windata->window, - curdata->surf, curdata->hotx, - curdata->hoty)); + SDL_DFB_CHECKERR(windata-> + window->SetCursorShape(windata->window, + curdata->surf, + curdata->hotx, + curdata->hoty)); /* fprintf(stdout, "Cursor is %s\n", cursor ? "on" : "off"); */ - SDL_DFB_CHECKERR(dispdata->layer-> - SetCooperativeLevel(dispdata->layer, - DLSCL_ADMINISTRATIVE)); - SDL_DFB_CHECKERR(dispdata->layer-> - SetCursorOpacity(dispdata->layer, - cursor ? 0xC0 : 0x00)); - SDL_DFB_CHECKERR(dispdata->layer-> - SetCooperativeLevel(dispdata->layer, - DLSCL_SHARED)); + SDL_DFB_CHECKERR(dispdata-> + layer->SetCooperativeLevel(dispdata->layer, + DLSCL_ADMINISTRATIVE)); + SDL_DFB_CHECKERR(dispdata-> + layer->SetCursorOpacity(dispdata->layer, + cursor ? 0xC0 : 0x00)); + SDL_DFB_CHECKERR(dispdata-> + layer->SetCooperativeLevel(dispdata->layer, + DLSCL_SHARED)); } } @@ -227,8 +229,8 @@ int cx, cy; SDL_DFB_CHECKERR(windata->window->GetPosition(windata->window, &cx, &cy)); - SDL_DFB_CHECKERR(dispdata->layer-> - WarpCursor(dispdata->layer, cx + x, cy + y)); + SDL_DFB_CHECKERR(dispdata-> + layer->WarpCursor(dispdata->layer, cx + x, cy + y)); error: return;