X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.h;h=ca3656b0c336203e12b33bd20a8ab87c7701ce33;hb=f7f09e5d0b183a416c4069f2c28f865c680045c7;hp=ca8968e588fdaa83d10929f483372c861038fee6;hpb=38aca841fff872e35d5aa5140b91e22df7e2825f;p=xboard.git diff --git a/gtk/xboard.h b/gtk/xboard.h index ca8968e..ca3656b 100644 --- a/gtk/xboard.h +++ b/gtk/xboard.h @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -53,24 +54,14 @@ #define ICS_LOGON ".icsrc" #define MANPAGE "xboard.6" -#if ENABLE_NLS -#define CLOCK_FONT_NAME \ - "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*," \ - "-misc-fixed-bold-r-normal--*-*-*-*-*-*-*-*," \ - "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" -#define COORD_FONT_NAME \ - "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*," \ - "-misc-fixed-bold-r-normal--*-*-*-*-*-*-*-*," \ - "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" -#define DEFAULT_FONT_NAME \ - "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*," \ - "-misc-fixed-medium-r-normal--*-*-*-*-*-*-*-*," \ - "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" -#else -#define CLOCK_FONT_NAME "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*" -#define COORD_FONT_NAME "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*" -#define DEFAULT_FONT_NAME "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*" -#endif +#define CLOCK_FONT_NAME "Sans Bold %d" +#define COORD_FONT_NAME "Sans Bold %d" +#define DEFAULT_FONT_NAME "Sans Normal %d" +#define CONSOLE_FONT_NAME "Monospace Normal %d" +#define HISTORY_FONT_NAME "Sans Normal %d" +#define COMMENT_FONT_NAME "Sans Normal %d" +#define TAGS_FONT_NAME "Sans Normal %d" +#define GAMELIST_FONT_NAME "Sans Normal %d" #define COLOR_SHOUT "green" #define COLOR_SSHOUT "green,black,1" #define COLOR_CHANNEL1 "cyan" @@ -107,11 +98,11 @@ typedef struct { { "Moderate", 58, 3, 34, 12, 14, 1, 0, 768 }, \ { "Average", 54, 2, 30, 11, 12, 1, 0, 600 }, \ { "Middling", 49, 2, 24, 10, 12, 1, 0, 600 }, \ - { "Mediocre", 45, 2, 20, 10, 12, 1, 0, 600 }, \ - { "Small", 40, 2, 20, 10, 12, 1, 0, 480 }, \ - { "Slim", 37, 2, 20, 10, 12, 1, 0, 480 }, \ - { "Petite", 33, 1, 15, 9, 11, 1, 0, 480 }, \ - { "Dinky", 29, 1, 15, 9, 11, 1, 0, 480 }, \ + { "Mediocre", 45, 2, 20, 10, 12, 1, 4, 600 }, \ + { "Small", 40, 2, 20, 10, 12, 1, 3, 480 }, \ + { "Slim", 37, 2, 20, 10, 12, 1, 3, 480 }, \ + { "Petite", 33, 1, 15, 9, 11, 1, 2, 480 }, \ + { "Dinky", 29, 1, 15, 9, 11, 1, 1, 480 }, \ { "Teeny", 25, 1, 12, 8, 11, 1, 1, 480 }, \ { "Tiny", 21, 1, 12, 8, 11, 1, 1, 0 }, \ { NULL, 0, 0, 0, 0, 0, 0, 0, 0 } } @@ -130,6 +121,7 @@ typedef struct { #define SETTINGS_FILE SYSCONFDIR"/xboard.conf" #define COLOR_BKGD "white" +GdkPixbuf *LoadIconFile P((char *name)); void NewTagsPopup P((char *text, char *msg)); int AppendText P((Option *opt, char *s)); void NewCommentPopup P((char *title, char *text, int index));