X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=d0144ef58760d9e9ad9c4d614e234acce0c373bc;hb=35b4d26ced6ea333c02f172c4325b4f58d8c35dc;hp=e9bd07b2c8ee470bf40f1ae1917722194d545979;hpb=d2f43d6c61f76a5b3999db2f5a0c8b23b2387a42;p=xboard.git diff --git a/backend.h b/backend.h index e9bd07b..d0144ef 100644 --- a/backend.h +++ b/backend.h @@ -292,14 +292,15 @@ extern Boolean set_cont_sequence P((char *new_seq)); 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, FileName, PathName, Slider, Message } Control; +typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, + FileName, PathName, Slider, Message, Fractional, Label, Break, EndMark } Control; typedef struct _OPT { // [HGM] options: descriptor of UCI-style option int value; // current setting, starts as default int min; int max; void *handle; // for use by front end + void *target; // for use by front end char *textValue; // points to beginning of text value in name field char **choice; // points to array of combo choices in cps->combo Control type;