X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=6ca8d52da5dab370b225e6919b0564c472fb969c;hb=afc3422299e8e3b788b09c807abeb2474b092129;hp=94031d24dfc77fe0b4c3d5834f7d06df3480332c;hpb=dec2fe4d04b68c21f86dc391ab4a464cac2aed64;p=xboard.git diff --git a/backend.h b/backend.h index 94031d2..6ca8d52 100644 --- a/backend.h +++ b/backend.h @@ -232,7 +232,7 @@ void OutputChatMessage P((int partner, char *mess)); void EditPositionDone P((Boolean fakeRights)); Boolean GetArgValue P((char *name)); Boolean LoadPV P((int x, int y)); -Boolean LoadMultiPV P((int x, int y, char *buf, int index, int *start, int *end)); +Boolean LoadMultiPV P((int x, int y, char *buf, int index, int *start, int *end, int pane)); void UnLoadPV P(()); void MovePV P((int x, int y, int h)); int PromoScroll P((int x, int y)); @@ -244,6 +244,7 @@ Boolean ParseFEN P((Board board, int *blackPlaysFirst, char *fen)); void ApplyMove P((int fromX, int fromY, int toX, int toY, int promoChar, Board board)); void PackMove P((int fromX, int fromY, int toX, int toY, ChessSquare promoPiece)); void ics_printf P((char *format, ...)); +int GetEngineLine P((char *nick, int engine)); char *StrStr P((char *string, char *match)); char *StrCaseStr P((char *string, char *match)); @@ -288,6 +289,7 @@ typedef struct XB_ListGame { GameInfo gameInfo; /* Note that some entries may be NULL. */ } ListGame; +extern int doubleClick; extern int storedGames; extern int opponentKibitzes; extern ChessSquare gatingPiece; @@ -316,7 +318,8 @@ extern int wrap P((char *dest, char *src, int count, int width, int *lp)); int Explode P((Board board, int fromX, int fromY, int toX, int toY)); typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, ListBox, Graph, PopUp, - FileName, PathName, Slider, Message, Fractional, Label, BoxBegin, BoxEnd, DropDown, Break, EndMark } Control; + FileName, PathName, Slider, Message, Fractional, Label, Icon, + BoxBegin, BoxEnd, BarBegin, BarEnd, DropDown, Break, EndMark } Control; typedef struct XB_OPT { // [HGM] options: descriptor of UCI-style option int value; // current setting, starts as default