X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.h;h=932ae6696590e4d429388e722dbda4ea5e35aedc;hb=582aeb45129ac85b911614bee1b9cdf8ff0636b5;hp=c3212d4e75a542a7dc643069696598e6e0417d71;hpb=2a9ed786fc7e279874d1fa22a6bcf87d89328d14;p=xboard.git diff --git a/winboard/winboard.h b/winboard/winboard.h index c3212d4..932ae66 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -147,10 +147,10 @@ void SaveSettings(char* name); /* Positions of some menu items. Origin is zero and separator lines count. */ /* It's gross that these are needed. */ -#define ACTION_POS 2 /* Posn of "Action" on menu bar */ -#define OPTIONS_POS 4 /* Posn of "Options" on menu bar */ -#define ICS_POS 10 /* Posn of "ICS " on Options menu */ -#define SOUNDS_POS 12 /* Posn of "Sounds" on Options menu */ +#define ACTION_POS 4 /* Posn of "Action" on menu bar */ +#define OPTIONS_POS 6 /* Posn of "Options" on menu bar */ +#define ICS_POS 12 /* Posn of "ICS " on Options menu */ +#define SOUNDS_POS 11 /* Posn of "Sounds" on Options menu */ /* end grossness */ extern MyFont *font[NUM_SIZES][NUM_FONTS]; @@ -188,6 +188,7 @@ typedef enum { extern WindowPlacement placementTab[NUM_WINDOWS]; extern HWND hwndTab[NUM_WINDOWS]; // this remains pure front-end. +void Translate( HWND hDlg, int id); VOID InitWindowPlacement( WindowPlacement * wp ); VOID RestoreWindowPlacement( HWND hWnd, WindowPlacement * wp ); VOID ReattachAfterMove( LPRECT lprcOldPos, int new_x, int new_y, HWND hWndChild, WindowPlacement * pwpChild );