X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.h;h=6759f79b7bb80187b4a6ed5d77294cd370f6242f;hb=5e0403d88fc0c96cfcc246ddb7f08462b584ae62;hp=3ac652c515588a201c0a0a494a70bf1788f64251;hpb=9e82e6c5e9f309f3ca1c3b0f38cdce2cfdcfa31d;p=xboard.git diff --git a/winboard/winboard.h b/winboard/winboard.h index 3ac652c..6759f79 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -132,11 +132,13 @@ VOID ParseFontName(char *name, MyFontParams *mfp); void InitComboStrings(HANDLE hwndCombo, char **cd); BOOLEAN MyLoadSound(MySound *ms); BOOLEAN MyPlaySound(MySound *ms); -VOID ExitArgError(char *msg, char *badArg); +VOID ExitArgError(char *msg, char *badArg, Boolean quit); void SaveSettings(char* name); BOOL BrowseForFolder( const char * title, char * path ); VOID TourneyPopup(); VOID LoadEnginePopUp(); +VOID LoadOptionsPopup(HWND hDlg); +VOID InitTextures(); /* Constants */ @@ -147,7 +149,8 @@ VOID LoadEnginePopUp(); #define COMMENT_FONT 4 #define EDITTAGS_FONT 5 #define MOVEHISTORY_FONT 6 -#define NUM_FONTS 7 +#define GAMELIST_FONT 7 +#define NUM_FONTS 8 /* Positions of some menu items. Origin is zero and separator lines count. */ /* It's gross that these are needed. */ @@ -199,10 +202,8 @@ BOOL GetActualPlacement( HWND hWnd, WindowPlacement * wp ); VOID MoveHistoryPopUp(); VOID MoveHistoryPopDown(); -VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo ); extern HWND moveHistoryDialog; -VOID EvalGraphSet( int first, int last, int current, ChessProgramStats_Move * pvInfo ); VOID EvalGraphPopUp(); VOID EvalGraphPopDown(); extern HWND evalGraphDialog;