X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.h;h=0998c970865e1689f93edcb30bbad0cd920a2933;hb=2987ec348b8b2cbf38ba9a6a0793652a6b238ae8;hp=6759f79b7bb80187b4a6ed5d77294cd370f6242f;hpb=e70077aab0199817f37aef9ed0bdba1bbca93b45;p=xboard.git diff --git a/winboard/winboard.h b/winboard/winboard.h index 6759f79..0998c97 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -2,10 +2,10 @@ * WinBoard.h -- Definitions for Windows NT front end to XBoard * * Copyright 1991 by Digital Equipment Corporation, Maynard, - * Massachusetts. + * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -106,7 +106,7 @@ VOID InitAppData(LPSTR); VOID InitDrawingColors(VOID); VOID InitDrawingSizes(BoardSize boardSize, int flags); VOID InitMenuChecks(VOID); -VOID ICSInitScript(VOID); +int ICSInitScript(VOID); BOOL CenterWindow(HWND hwndChild, HWND hwndParent); VOID ResizeEditPlusButtons(HWND hDlg, HWND hText, int sizeX, int sizeY, int newSizeX, int newSizeY); VOID PromotionPopup(HWND hwnd); @@ -139,6 +139,7 @@ VOID TourneyPopup(); VOID LoadEnginePopUp(); VOID LoadOptionsPopup(HWND hDlg); VOID InitTextures(); +void ThemeOptionsPopup(HWND hwnd); /* Constants */ @@ -193,7 +194,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 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 ); @@ -215,3 +216,6 @@ extern HWND gameListDialog; VOID EditTagsProc(void); extern HWND editTagsDialog; +extern int screenWidth, screenHeight; +extern RECT screenGeometry; // Top-left coordiate of the screen can be different from (0,0) +