/*
Copyright (c) 2007-2013, John Ryland
*/
#ifndef __MENU_H__
#define __MENU_H__
#define NO_ACTION 0
#define SUB_MENU_ACTION 1
#define DIALOG_ACTION 2
#define APPLICATION_ACTION 3
typedef struct {
const char *icon;
const char *text;
int actionType;
int actionValue;
int imagesLoaded;
Image imageSmall;
Image imageMedium;
} MenuItem;
typedef struct {
const char *icon;
const char *text;
MenuItem *items;
int itemCount;
int imageLoaded;
Image image;
} Menu;
#endif /* __MENU_H__ */