aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/menubar.h
diff options
context:
space:
mode:
authorMax Horn2009-02-21 22:06:42 +0000
committerMax Horn2009-02-21 22:06:42 +0000
commit8430b662a99d96100fbeb3428a61595444fc3526 (patch)
tree2c0421af6635c6496905d6fb95c8e9de2a0487c4 /engines/sci/include/menubar.h
parentda190b30fcf79edb14b58e560b243f797fb17820 (diff)
downloadscummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.tar.gz
scummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.tar.bz2
scummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.zip
SCI: Changed typedef struct -> struct
svn-id: r38752
Diffstat (limited to 'engines/sci/include/menubar.h')
-rw-r--r--engines/sci/include/menubar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/include/menubar.h b/engines/sci/include/menubar.h
index e437bddcf5..aed7b2de73 100644
--- a/engines/sci/include/menubar.h
+++ b/engines/sci/include/menubar.h
@@ -82,7 +82,7 @@ namespace Sci {
#define MENU_ATTRIBUTE_FLAGS_KEY 0x01
#define MENU_ATTRIBUTE_FLAGS_SAID 0x02
-typedef struct {
+struct menu_item_t {
int type; /* Normal or hbar */
char *keytext; /* right-centered part of the text (the key) */
int keytext_size; /* Width of the right-centered text */
@@ -96,10 +96,10 @@ typedef struct {
int enabled;
int tag;
-} menu_item_t;
+};
-typedef struct {
+struct menu_t {
char *title;
int title_width; /* Width of the title in pixels */
@@ -108,16 +108,16 @@ typedef struct {
int items_nr; /* Window height equals to intems_nr * 10 */
menu_item_t *items; /* Actual entries into the menu */
-} menu_t;
+};
-typedef struct {
+struct menubar_t {
int menus_nr;
menu_t *menus; /* The actual menus */
-} menubar_t;
+};
struct gfx_port;
struct gfx_picture; /* forward declarations for graphics.h */