Menustuff added/modified!

This commit is contained in:
robijn committed 2002-05-26 19:21:23 +00:00
1 parent dc4c049721
commit 3168d4cafc
27 files changed
+2304 -584

No files matched your search

+22 -1
View File
@@ -13,6 +13,7 @@
#define DRIVERS_H
#include "drivers/lcd.h"
#include "shared/LL.h"
typedef struct DisplayProps {
int width, height;
@@ -21,7 +22,11 @@ typedef struct DisplayProps {
extern DisplayProps * display_props;
#define bool int
#ifndef bool
# define bool short
# define true 1
# define false 0
#endif
int
@@ -84,6 +89,9 @@ drivers_get_contrast();
void
drivers_set_contrast( int contrast );
void
drivers_cursor( int x, int y, int state );
void
drivers_backlight( int brightness );
@@ -96,4 +104,17 @@ drivers_get_key();
char
drivers_getkey();
extern LinkedList * loaded_drivers;
/* Please don't read this list except using the following functions */
static inline Driver * drivers_getfirst ()
{
return LL_GetFirst(loaded_drivers);
}
static inline Driver * drivers_getnext ()
{
return LL_GetNext(loaded_drivers);
}
#endif