X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=0d6b3a431988ec88032b979d452d9b564b396637;hb=8f900fa19cc077ffe1fa565dfb0ad0b9c8860d6e;hp=4cc8646dc01427280984724186cab11f103663a5;hpb=c2221f8b8d4d4850075ea5c770acb51a23154b68;p=xboard.git diff --git a/backend.h b/backend.h index 4cc8646..0d6b3a4 100644 --- a/backend.h +++ b/backend.h @@ -114,7 +114,7 @@ void SetWhiteToPlayEvent P((void)); void SetBlackToPlayEvent P((void)); void InitBackEnd1 P((void)); void InitBackEnd2 P((void)); -int IsPromotion P((int fromX, int fromY, int toX, int toY)); +int HasPromotionChoice P((int fromX, int fromY, int toX, int toY, char *choice)); int InPalace P((int row, int column)); int PieceForSquare P((int x, int y)); int OKToStartUserMove P((int x, int y)); @@ -258,7 +258,7 @@ char * GameListLineFull P(( int, GameInfo *)); extern char* StripHighlight P((char *)); /* returns static data */ extern char* StripHighlightAndTitle P((char *)); /* returns static data */ - +extern void ics_update_width P((int new_width)); typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, FileName, PathName, Slider, Message } Control;