diff options
Diffstat (limited to 'apps/gui/icon.h')
-rw-r--r-- | apps/gui/icon.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/icon.h b/apps/gui/icon.h index 1208820558..a9ae058ce9 100644 --- a/apps/gui/icon.h +++ b/apps/gui/icon.h | |||
@@ -31,16 +31,20 @@ | |||
31 | #define CURSOR_CHAR 0x92 | 31 | #define CURSOR_CHAR 0x92 |
32 | #define CURSOR_WIDTH 6 | 32 | #define CURSOR_WIDTH 6 |
33 | #define CURSOR_HEIGHT 8 | 33 | #define CURSOR_HEIGHT 8 |
34 | |||
34 | /* | 35 | /* |
35 | * Draws a cursor at a given position | 36 | * Draws a cursor at a given position, if th |
36 | * - screen : the screen where we put the cursor | 37 | * - screen : the screen where we put the cursor |
37 | * - x, y : the position, in character, not in pixel !! | 38 | * - x, y : the position, in character, not in pixel !! |
39 | * - on : true if the cursor must be shown, false if it must be erased | ||
38 | */ | 40 | */ |
39 | extern void screen_put_cursorxy(struct screen * screen, int x, int y); | 41 | extern void screen_put_cursorxy(struct screen * screen, int x, int y, bool on); |
40 | 42 | ||
41 | /* | 43 | /* |
42 | * Put an icon on a screen at a given position | 44 | * Put an icon on a screen at a given position |
43 | * (the position is given in characters) | 45 | * (the position is given in characters) |
46 | * If the given icon is null (HAVE_LCD_BITMAP) or -1 otherwise, the icon | ||
47 | * at the given position will be erased | ||
44 | * - screen : the screen where we put our icon | 48 | * - screen : the screen where we put our icon |
45 | * - x, y : the position, in character, not in pixel !! | 49 | * - x, y : the position, in character, not in pixel !! |
46 | * - icon : the icon to put | 50 | * - icon : the icon to put |