1 /***** 2 * debug_menu.h : XmHTML debug menu for runtime selection of debug options. 3 * 4 * This file Version $Revision$ 5 * 6 * Creation date: Sun Aug 31 14:23:37 GMT+0100 1997 7 * Last modification: $Date$ 8 * By: $Author$ 9 * Current State: $State$ 10 * 11 * Author: newt 12 * 13 * Copyright (C) 1994-1997 by Ripley Software Development 14 * All Rights Reserved 15 * 16 * This file is part of the XmHTML Widget Library 17 * 18 * This library is free software; you can redistribute it and/or 19 * modify it under the terms of the GNU Library General Public 20 * License as published by the Free Software Foundation; either 21 * version 2 of the License, or (at your option) any later version. 22 * 23 * This library is distributed in the hope that it will be useful, 24 * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 * Library General Public License for more details. 27 * 28 * You should have received a copy of the GNU Library General Public 29 * License along with this library; if not, write to the Free 30 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31 * 32 *****/ 33 /***** 34 * $Source$ 35 *****/ 36 /***** 37 * ChangeLog 38 * $Log$ 39 * Revision 1.1 2011/06/30 16:08:41 rwcox 40 * Cadd 41 * 42 * Revision 1.2 1997/10/23 00:24:55 newt 43 * XmHTML Beta 1.1.0 release 44 * 45 * Revision 1.1 1997/08/31 17:45:27 newt 46 * Initial Revision 47 * 48 *****/ 49 50 #ifndef _debug_menu_h_ 51 #define _debug_menu_h_ 52 53 /***** 54 * Add a XmHTML "Debug" menu to your menubar. This menu allows you to select 55 * XmHTML debug output while an application is running. The menu itself consists 56 * of togglebuttons, one for each source file (or group of source files) that 57 * allow selectable debug output. 58 * 59 * html: 60 * XmHTMLWidget id. Used to get & set the values of the XmHTML debug 61 * resources (XmHTML resources starting with XmNdebug); 62 * menubar: 63 * Widget id of the menubar to which the debug menu should be added; 64 * label: 65 * title to use for this menu. When NULL "Debug" is used. 66 * The first character of this string is used as the menu accelerator. 67 *****/ 68 extern void _XmHTMLAddDebugMenu(Widget html, Widget menubar, String label); 69 70 /* Don't add anything after this endif! */ 71 #endif /* _debug_menu_h_ */ 72