Add one-click move control to WB general-options dialog
[xboard.git] / winboard / winboard.h
index 4c83725..932ae66 100644 (file)
@@ -147,10 +147,10 @@ void SaveSettings(char* name);
 \r
 /* Positions of some menu items.  Origin is zero and separator lines count. */\r
 /* It's gross that these are needed. */\r
-#define ACTION_POS 2    /* Posn of "Action" on menu bar */\r
-#define OPTIONS_POS 4   /* Posn of "Options" on menu bar */\r
-#define ICS_POS 4       /* Posn of "ICS " on Options menu */\r
-#define SOUNDS_POS 6     /* Posn of "Sounds" on Options menu */\r
+#define ACTION_POS 4    /* Posn of "Action" on menu bar */\r
+#define OPTIONS_POS 6   /* Posn of "Options" on menu bar */\r
+#define ICS_POS 12      /* Posn of "ICS " on Options menu */\r
+#define SOUNDS_POS 11    /* Posn of "Sounds" on Options menu */\r
 /* end grossness */\r
 \r
 extern MyFont *font[NUM_SIZES][NUM_FONTS];\r
@@ -188,6 +188,7 @@ typedef enum {
 extern WindowPlacement placementTab[NUM_WINDOWS];\r
 extern HWND hwndTab[NUM_WINDOWS]; // this remains pure front-end.\r
 \r
+void Translate( HWND hDlg, int id);
 VOID InitWindowPlacement( WindowPlacement * wp );\r
 VOID RestoreWindowPlacement( HWND hWnd, WindowPlacement * wp );\r
 VOID ReattachAfterMove( LPRECT lprcOldPos, int new_x, int new_y, HWND hWndChild, WindowPlacement * pwpChild );\r