Add debug-only menus to toggle logging to file and memopad

This commit is contained in:
ehouse 2006-09-14 01:34:22 +00:00
parent 7cf02f322e
commit 4b953e8891
2 changed files with 6 additions and 8 deletions

View file

@ -84,10 +84,9 @@ BEGIN
#ifdef DEBUG
PULLDOWN "DBG"
BEGIN
MENUITEM "Show debugstrs" XW_DEBUGSHOW_PULLDOWN_ID
MENUITEM "Hide debugstrs" XW_DEBUGHIDE_PULLDOWN_ID
MENUITEM "Strs to memo" XW_DEBUGMEMO_PULLDOWN_ID
MENUITEM "Strs to screen" XW_DEBUGSCREEN_PULLDOWN_ID
MENUITEM "Log to file" XW_LOGFILE_PULLDOWN_ID
MENUITEM "Log to memo" XW_LOGMEMO_PULLDOWN_ID
MENUITEM "Clear logs" XW_CLEARLOGS_PULLDOWN_ID
MENUITEM "Network stats..." XW_NETSTATS_PULLDOWN_ID
#ifdef MEM_DEBUG
MENUITEM "Mem stats..." XW_MEMSTATS_PULLDOWN_ID

View file

@ -126,12 +126,11 @@
/* debug menu */
#ifdef DEBUG
# define XW_DEBUGSHOW_PULLDOWN_ID 2001
# define XW_DEBUGHIDE_PULLDOWN_ID 2002
# define XW_LOGFILE_PULLDOWN_ID 2000
# define XW_LOGMEMO_PULLDOWN_ID 2001
# define XW_CLEARLOGS_PULLDOWN_ID 2002
# define XW_NETSTATS_PULLDOWN_ID 2003
# define XW_MEMSTATS_PULLDOWN_ID 2004
# define XW_DEBUGMEMO_PULLDOWN_ID 2005
# define XW_DEBUGSCREEN_PULLDOWN_ID 2006
#endif
#ifdef FOR_GREMLINS