aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/menubar.h
diff options
context:
space:
mode:
authorMax Horn2009-02-15 22:32:57 +0000
committerMax Horn2009-02-15 22:32:57 +0000
commit78e0d055eae23f701b1fc2467c1b2f90041c3679 (patch)
tree930e456e591a3d02428094164269f30d68d9de4a /engines/sci/include/menubar.h
parent5ecfecd3bc795446581186eb7f0e04b1c0caa0e3 (diff)
downloadscummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.gz
scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.bz2
scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.zip
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: include dir
svn-id: r38319
Diffstat (limited to 'engines/sci/include/menubar.h')
-rw-r--r--engines/sci/include/menubar.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/engines/sci/include/menubar.h b/engines/sci/include/menubar.h
index a2d3c71f7b..daa5dd79aa 100644
--- a/engines/sci/include/menubar.h
+++ b/engines/sci/include/menubar.h
@@ -84,30 +84,30 @@ struct _state;
#define MENU_ATTRIBUTE_FLAGS_SAID 0x02
typedef struct {
- int type; /* Normal or hbar */
- char *keytext; /* right-centered part of the text (the key) */
- int keytext_size; /* Width of the right-centered text */
-
- int flags;
- byte said[MENU_SAID_SPEC_SIZE]; /* Said spec for this item */
- reg_t said_pos;
- char *text;
- reg_t text_pos;
- int modifiers, key; /* Hotkey for this item */
- int enabled;
- int tag;
+ int type; /* Normal or hbar */
+ char *keytext; /* right-centered part of the text (the key) */
+ int keytext_size; /* Width of the right-centered text */
+
+ int flags;
+ byte said[MENU_SAID_SPEC_SIZE]; /* Said spec for this item */
+ reg_t said_pos;
+ char *text;
+ reg_t text_pos;
+ int modifiers, key; /* Hotkey for this item */
+ int enabled;
+ int tag;
} menu_item_t;
typedef struct {
- char *title;
+ char *title;
- int title_width; /* Width of the title in pixels */
- int width; /* Pixel width of the menu window */
+ int title_width; /* Width of the title in pixels */
+ int width; /* Pixel width of the menu window */
- int items_nr; /* Window height equals to intems_nr * 10 */
- menu_item_t *items; /* Actual entries into the menu */
+ int items_nr; /* Window height equals to intems_nr * 10 */
+ menu_item_t *items; /* Actual entries into the menu */
} menu_t;
@@ -115,8 +115,8 @@ typedef struct {
typedef struct {
- int menus_nr;
- menu_t *menus; /* The actual menus */
+ int menus_nr;
+ menu_t *menus; /* The actual menus */
} menubar_t;