X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.h;h=9944ccc4a7c8da6c52b237eb350302b6fd77ece4;hb=0efdc4c5ef60cf4c15e9dddf3658d2115e4d5d93;hp=890e071353464b1112be59a76ee4fa3ce242d32d;hpb=93077be9f3009b8eb6ad64067f31d000aaf284c3;p=xboard.git diff --git a/winboard/winboard.h b/winboard/winboard.h index 890e071..9944ccc 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -135,7 +135,8 @@ VOID ExitArgError(char *msg, char *badArg); #define CONSOLE_FONT 3 #define COMMENT_FONT 4 #define EDITTAGS_FONT 5 -#define NUM_FONTS 6 +#define MOVEHISTORY_FONT 6 +#define NUM_FONTS 7 /* Positions of some menu items. Origin is zero and separator lines count. */ /* It's gross that these are needed. */ @@ -163,18 +164,18 @@ extern MyFont *font[NUM_SIZES][NUM_FONTS]; #define COPY_TMP "wbcopy.tmp" #define PASTE_TMP "wbpaste.tmp" - -/* [AS] Layout management */ -typedef struct { - Boolean visible; - int x; - int y; - int width; - int height; -} WindowPlacement; - -VOID InitWindowPlacement( WindowPlacement * wp ); - -VOID RestoreWindowPlacement( HWND hWnd, WindowPlacement * wp ); - -VOID ReattachAfterMove( LPRECT lprcOldPos, int new_x, int new_y, HWND hWndChild, WindowPlacement * pwpChild ); + +/* [AS] Layout management */ +typedef struct { + Boolean visible; + int x; + int y; + int width; + int height; +} WindowPlacement; + +VOID InitWindowPlacement( WindowPlacement * wp ); + +VOID RestoreWindowPlacement( HWND hWnd, WindowPlacement * wp ); + +VOID ReattachAfterMove( LPRECT lprcOldPos, int new_x, int new_y, HWND hWndChild, WindowPlacement * pwpChild );