X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fdefaults.h;h=ce6ed8e02e60b93e0b4c9a6d6fef88a3f53ad0cd;hb=HEAD;hp=cbe1fe96a6ffcafb2bcfdac84767cca5cf1d1e56;hpb=ea750683ac62717dd7346de17b5ae072622ff92a;p=xboard.git diff --git a/winboard/defaults.h b/winboard/defaults.h index cbe1fe9..ce6ed8e 100644 --- a/winboard/defaults.h +++ b/winboard/defaults.h @@ -1,8 +1,14 @@ /* * defaults.h -- Default settings for Windows NT front end to XBoard * - * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. - * Enhancements Copyright 1992-97 Free Software Foundation, Inc. + * Copyright 1991 by Digital Equipment Corporation, Maynard, + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. + * + * Enhancements Copyright 2005 Alessandro Scotti * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -26,32 +32,33 @@ * SOFTWARE. * ------------------------------------------------------------------------ * - * The following terms apply to the enhanced version of XBoard distributed - * by the Free Software Foundation: + * The following terms apply to the enhanced version of XBoard + * distributed by the Free Software Foundation: * ------------------------------------------------------------------------ - * This program is free software; you can redistribute it and/or modify + * + * GNU XBoard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * ------------------------------------------------------------------------ - */ + * along with this program. If not, see http://www.gnu.org/licenses/. * + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ /* Static */ #define POSITION_FILT "Position files (*.fen,*.epd,*.pos)\0*.fen;*.epd;*.pos\0All files (*.*)\0*.*\0" #define GAME_FILT "Game files (*.pgn,*.gam)\0*.pgn;*.gam\0All files (*.*)\0*.*\0" #define DIAGRAM_FILT "bitmap files (*.bmp)\0*.bmp\0All files (*.*)\0*.*\0" #define SOUND_FILT "Wave files (*.wav)\0*.wav\0All files (*.*)\0*.*\0" -#define OUTER_MARGIN (tinyLayout ? 0 : 4) -#define INNER_MARGIN (tinyLayout ? 0 : 2) +#define OUTER_MARGIN (tinyLayout == 2 ? 0 : 4) +#define INNER_MARGIN (tinyLayout == 2 ? 0 : 2) #define MESSAGE_LINE_LEFTMARGIN 2 #define MESSAGE_TEXT_MAX 256 /*#define COLOR_ECHOOFF RGB(192,192,192)*/ @@ -60,9 +67,9 @@ /* Settable */ #define FIRST_CHESS_PROGRAM "" -#define FIRST_DIRECTORY "" +#define FIRST_DIRECTORY "." #define SECOND_CHESS_PROGRAM "" -#define SECOND_DIRECTORY "" +#define SECOND_DIRECTORY "." #define CLOCK_FONT_TINY "Arial:9.0 b" #define CLOCK_FONT_TEENY "Arial:9.0 b" @@ -179,6 +186,7 @@ #define EDITTAGS_FONT_TITANIC "Courier New:8.0" #define MOVEHISTORY_FONT_ALL "MS Sans Serif:8.0" +#define GAMELIST_FONT_ALL "MS Sans Serif:8.0" #define COLOR_SHOUT "#209000" #define COLOR_SSHOUT "b #289808" @@ -198,13 +206,14 @@ #define BUILT_IN_SOUND_NAMES {\ "Beepbeep", "Ching", "Click", "Cymbal", "Ding", "Drip", \ "Gong", "Laser", "Move", "Penalty", "Phone", "Pop", "Pop2", \ - "Slap", "Squeak", "Swish", "Thud", "Whipcrack", \ + "Roar", "Slap", "Squeak", "Swish", "Thud", "Whipcrack", \ "Alarm", "Challenge", "Channel", "Channel1", "Draw", "Kibitz", \ "Lose", "Request", "Seek", "Shout", "SShout", "Tell", "Unfinished", \ "Win", NULL \ } #define SETTINGS_FILE "winboard.ini" +#define DEBUG_FILE "winboard.debug" #define ICS_LOGON "ics.ini" @@ -231,7 +240,9 @@ chess.mds.mdh.se /icsport=5000\n\ Playe&rs,players,0,1\n\ &Games,games,0,1\n\ &Sought,sought,0,1\n\ -|&Tell (name),tell,1,0\n\ +| ,none,0,0\n\ +Open Chat &Box (name),chat,1,0\n\ +&Tell (name),tell,1,0\n\ M&essage (name),message,1,0\n\ -\n\ &Finger (name),finger,1,1\n\