From 4b953e889106c7c3dba07e39132f6794df9c6543 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 14 Sep 2006 01:34:22 +0000 Subject: [PATCH] Add debug-only menus to toggle logging to file and memopad --- xwords4/palm/l10n/xwords4_en_US.rcp.pre | 7 +++---- xwords4/palm/xwords4defines.h | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/xwords4/palm/l10n/xwords4_en_US.rcp.pre b/xwords4/palm/l10n/xwords4_en_US.rcp.pre index 764e34ffe..fcbb16377 100644 --- a/xwords4/palm/l10n/xwords4_en_US.rcp.pre +++ b/xwords4/palm/l10n/xwords4_en_US.rcp.pre @@ -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 diff --git a/xwords4/palm/xwords4defines.h b/xwords4/palm/xwords4defines.h index d4ca9a211..136e532ef 100644 --- a/xwords4/palm/xwords4defines.h +++ b/xwords4/palm/xwords4defines.h @@ -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