brewpanel/dlgBrew.c

changeset 638
186f0c2d3e76
parent 637
21e542c15832
equal deleted inserted replaced
637:21e542c15832 638:186f0c2d3e76
95 int retbut; 95 int retbut;
96 int bOldMouseVisibility; 96 int bOldMouseVisibility;
97 int nOldMouseX, nOldMouseY; 97 int nOldMouseX, nOldMouseY;
98 int x, y, w, h, cols, rows, fd; 98 int x, y, w, h, cols, rows, fd;
99 99
100 if (SDLGui_SetScreen(S_screen)) { 100 if (SDLGui_SetScreen()) {
101 syslog(LOG_NOTICE, "SDLGui_SetScreen(S_screen) failed: %s", SDL_GetError()); 101 syslog(LOG_NOTICE, "SDLGui_SetScreen() failed");
102 return FALSE; 102 return FALSE;
103 } 103 }
104 104
105 SDL_GetMouseState(&nOldMouseX, &nOldMouseY); 105 SDL_GetMouseState(&nOldMouseX, &nOldMouseY);
106 bOldMouseVisibility = SDL_ShowCursor(SDL_QUERY); 106 bOldMouseVisibility = SDL_ShowCursor(SDL_QUERY);

mercurial