X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.h;h=bc2a5f984b64004750a79d115153a3461bb3a3e7;hb=cde66749ec8a0b3c823bbc7aa3818b86821514ec;hp=0263df620eeaaf14c3406a2e9bcc1b833b10c20a;hpb=fb6556cba3193316b2b383c7fc0e0cdd1c75e9fd;p=xboard.git diff --git a/xboard.h b/xboard.h index 0263df6..bc2a5f9 100644 --- a/xboard.h +++ b/xboard.h @@ -54,9 +54,24 @@ #define ICS_LOGON ".icsrc" #define INFOFILE "xboard.info" #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 COLOR_SHOUT "green" #define COLOR_SSHOUT "green,black,1" #define COLOR_CHANNEL1 "cyan" @@ -119,7 +134,7 @@ typedef struct { typedef int (*FileProc) P((FILE *f, int n, char *title)); int PopDown P((int n)); -int InpuBoxPopUp P((void)); +void InputBoxPopup P((void)); void CatchDeleteWindow(Widget w, String procname); void PlaySound P((char *name)); void ParseIcsTextColors P((void)); @@ -142,7 +157,6 @@ extern Pixel timerForegroundPixel, timerBackgroundPixel; extern int searchTime; extern Atom wm_delete_window; extern int squareSize, lineGap, defaultLineGap, useImages, useImageSqs; -extern int shuffleOpenings; extern int startedFromPositionFile; extern char *icsTextMenuString; extern char ICSInputTranslations[];