Menustuff added/modified!

This commit is contained in:
robijn
2002-05-26 19:21:23 +00:00
parent dc4c049721
commit 3168d4cafc
27 changed files with 2304 additions and 584 deletions
+3 -4
View File
@@ -1190,12 +1190,11 @@ MtxOrb_set_char (Driver *drvthis, int n, char *dat)
MODULE_EXPORT int
MtxOrb_icon (Driver *drvthis, int x, int y, int icon)
{
return -1;
/* Does not use current icon definitions */
MtxOrb_chr (drvthis, x, y, MtxOrb_ask_bar (drvthis, icon));
return 0;
/* We return 0, however many icons are not supported
* TODO...
*/
}
/* TODO: Recover the code for I2C connectivity to MtxOrb
+4 -4
View File
@@ -600,16 +600,16 @@ curses_drv_get_key (Driver *drvthis)
return 0;
break;
case KEY_LEFT:
return "ArrowLeft";
return "Left";
break;
case KEY_UP:
return "ArrowUp";
return "Up";
break;
case KEY_DOWN:
return "ArrowDown";
return "Down";
break;
case KEY_RIGHT:
return "ArrowRight";
return "Right";
break;
case ERR:
return NULL;
-2
View File
@@ -43,8 +43,6 @@
/* Backlight data */
#define BACKLIGHT_OFF 0
#define BACKLIGHT_ON 1
#define BACKLIGHT_WARNING 2
#define BACKLIGHT_RED_ALERT 3
/* Icons. If a driver does not support an icon, it can return -1 from the
* icon function, and let the core place a replacement character.