Cavestory Mod API
Public Attributes | List of all members
SystemMenuItem Struct Reference

System menu info struct. More...

#include <CSMAPI_types.h>

Public Attributes

unsigned int ItemId
 The ID for this item.
 
unsigned int TotalItemIndex
 This item's index in TotalItemList.
 
unsigned int ItemIndex
 This item's index in the parent item's SubItemList.
 
SystemMenuItem * Parent
 The parent for this item.
 
SystemMenuItem * BaseParent
 The base parent for this item.
 
SystemMenuItem * Previous
 The previous item.
 
SystemMenuItem * Next
 The next item.
 
SystemMenuItem ** SubItemList
 The items for this menu.
 
int SubItemCount
 The number of subitems this item contains.
 
char Text [270]
 The text for this menu.
 
GUI_RECT ItemRect
 This item's rect.
 
GUI_POINT TextPoint
 The position for this item's text.
 
GUI_POINT ShortcutPoint
 The position for this item's shortcut text.
 
GUI_RECT SubMenuRect
 This item's submenu rect.
 
int LongestSubWidth
 Longest subitem width.
 
bool Seperator
 Seperator.
 
bool Disabled
 Whether this item is disabled or not.
 
bool Checked
 Checked.
 
SystemMenuInfo_OnItemClickFunc OnClicked
 On Clicked Callback.
 
Input::KeyShortcut * Shortcut
 The shortcut for this item.
 
char ShortcutText [64]
 The shortcut text for this item.
 

Detailed Description

System menu info struct.


The documentation for this struct was generated from the following file: