X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=e0b6633a15b007141888c7404d45f26202464d21;hb=acca181c7d39eea4904084170f8b5fae08361846;hp=03f7bb00bda14ff44f9b9fe0997dabcdaa3565cb;hpb=74113c74ca3c2294082fcf9dc87e2af8f991c3cc;p=xboard.git diff --git a/common.h b/common.h index 03f7bb0..e0b6633 100644 --- a/common.h +++ b/common.h @@ -173,6 +173,15 @@ int pclose(FILE *); #define NULLCHAR '\000' #define FEATURE_TIMEOUT 10000 /*ms*/ +#define CLOCK_FONT 0 +#define MESSAGE_FONT 1 +#define COORD_FONT 2 +#define CONSOLE_FONT 3 +#define COMMENT_FONT 4 +#define EDITTAGS_FONT 5 +#define MOVEHISTORY_FONT 6 +#define NUM_FONTS 7 + /* Default to no flashing (the "usual" XBoard behavior) */ #define FLASH_COUNT 0 /* Number of times to flash */ #define FLASH_RATE 5 /* Flashes per second */ @@ -180,6 +189,11 @@ int pclose(FILE *); /* Default delay per character (in msec) while sending login script */ #define MS_LOGIN_DELAY 0 +/* [AS] Support for background textures */ +#define BACK_TEXTURE_MODE_DISABLED 0 +#define BACK_TEXTURE_MODE_PLAIN 1 +#define BACK_TEXTURE_MODE_FULL_RANDOM 2 + /* Zippy defaults */ #define ZIPPY_TALK FALSE #define ZIPPY_PLAY FALSE @@ -678,6 +692,21 @@ typedef struct { int time; /* Milliseconds */ } ChessProgramStats_Move; +/* [AS] Layout management */ +typedef struct { + Boolean visible; + int x; + int y; + int width; + int height; +} WindowPlacement; + +extern WindowPlacement wpEngineOutput; +extern WindowPlacement wpEvalGraph; +extern WindowPlacement wpMoveHistory; +extern WindowPlacement wpGameList; +extern WindowPlacement wpTags; + // [HGM] chat #define MAX_CHAT 3 extern int chatCount;