Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

6 bytes added, 10:33, 7 November 2009
General Definition Header file
#define IO_SHOW_ERROR (0x8u)
#define IO_SHOW_HELP (0x10u)
 
// frame chars
#define _FRAME_CHARS "|+-+|+-+"
#define _FRAME_LISTS "|/-\\|\\-/"
#define _FRAME_MENUS "|+-+|+-+"
 
#define _CHECKLIST_CHARS "[X]"
#define _RADIOLIST_CHARS "(o)"
#define _MENU_CHARS "[]"
 
#ifdef NO_FUNC
# undef NO_FUNC
#endif
#define NO_FUNC ((void(*)(MessageStatus, IO_Form&))(0))
 
#ifdef NO_VFUNC
# undef NO_VFUNC
#endif
#define NO_VFUNC ((bool(*)(const char*, IO_Form&))(0))
 
enum MessageStatus{ClearMessage,SetMessage};
enum CheckListMode{CheckBox, Radio};
enum MenuDir{Vertical, Horizontal};
 
#endif
</pre></big>