diff -r 0fa885045e20 -r d9b7e0705f56 brewpanel/sdlgui.c --- a/brewpanel/sdlgui.c Sun Nov 08 17:55:50 2015 +0100 +++ b/brewpanel/sdlgui.c Sun Nov 08 20:30:04 2015 +0100 @@ -223,18 +223,20 @@ /* * Draw the cursor */ -void SDLGui_Cursor(int x, int y) +void SDLGui_Cursor(int x, int y, int on, int blink) { SDL_Rect dr; Uint32 color = SDL_MapRGB(pSdlGuiScrn->format, 53, 59, 61); - dr.x=x; - dr.y=y; - dr.w=fontwidth; - dr.h=fontheight; + if (on) { + dr.x = x; + dr.y = y + fontheight - 2; + dr.w = fontwidth; + dr.h = 2; - SDL_FillRect(pSdlGuiScrn, &dr, color); - SDL_UpdateRect(pSdlGuiScrn, x, y, fontwidth, fontheight); + SDL_FillRect(pSdlGuiScrn, &dr, color); + SDL_UpdateRect(pSdlGuiScrn, x, y, fontwidth, fontheight); + } }