mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
Add debug-only menus to toggle logging to file and memopad
This commit is contained in:
parent
7cf02f322e
commit
4b953e8891
2 changed files with 6 additions and 8 deletions
|
@ -84,10 +84,9 @@ BEGIN
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
PULLDOWN "DBG"
|
PULLDOWN "DBG"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "Show debugstrs" XW_DEBUGSHOW_PULLDOWN_ID
|
MENUITEM "Log to file" XW_LOGFILE_PULLDOWN_ID
|
||||||
MENUITEM "Hide debugstrs" XW_DEBUGHIDE_PULLDOWN_ID
|
MENUITEM "Log to memo" XW_LOGMEMO_PULLDOWN_ID
|
||||||
MENUITEM "Strs to memo" XW_DEBUGMEMO_PULLDOWN_ID
|
MENUITEM "Clear logs" XW_CLEARLOGS_PULLDOWN_ID
|
||||||
MENUITEM "Strs to screen" XW_DEBUGSCREEN_PULLDOWN_ID
|
|
||||||
MENUITEM "Network stats..." XW_NETSTATS_PULLDOWN_ID
|
MENUITEM "Network stats..." XW_NETSTATS_PULLDOWN_ID
|
||||||
#ifdef MEM_DEBUG
|
#ifdef MEM_DEBUG
|
||||||
MENUITEM "Mem stats..." XW_MEMSTATS_PULLDOWN_ID
|
MENUITEM "Mem stats..." XW_MEMSTATS_PULLDOWN_ID
|
||||||
|
|
|
@ -126,12 +126,11 @@
|
||||||
|
|
||||||
/* debug menu */
|
/* debug menu */
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
# define XW_DEBUGSHOW_PULLDOWN_ID 2001
|
# define XW_LOGFILE_PULLDOWN_ID 2000
|
||||||
# define XW_DEBUGHIDE_PULLDOWN_ID 2002
|
# define XW_LOGMEMO_PULLDOWN_ID 2001
|
||||||
|
# define XW_CLEARLOGS_PULLDOWN_ID 2002
|
||||||
# define XW_NETSTATS_PULLDOWN_ID 2003
|
# define XW_NETSTATS_PULLDOWN_ID 2003
|
||||||
# define XW_MEMSTATS_PULLDOWN_ID 2004
|
# define XW_MEMSTATS_PULLDOWN_ID 2004
|
||||||
# define XW_DEBUGMEMO_PULLDOWN_ID 2005
|
|
||||||
# define XW_DEBUGSCREEN_PULLDOWN_ID 2006
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FOR_GREMLINS
|
#ifdef FOR_GREMLINS
|
||||||
|
|
Loading…
Reference in a new issue