X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.h;h=7007c1600c01142537e5d4616f85edd8388f1b1a;hb=7c9ee0544821f7981792be03e90ba15e9a8aeada;hp=918d97ea4e9282b4c868379cdc4ac04a9041b169;hpb=e70077aab0199817f37aef9ed0bdba1bbca93b45;p=xboard.git diff --git a/engineoutput.h b/engineoutput.h index 918d97e..7007c16 100644 --- a/engineoutput.h +++ b/engineoutput.h @@ -34,11 +34,14 @@ // [HGM] same for output fields (note that there are two of each type, one per color) #define nColorIcon 1 -#define nStateIcon 2 -#define nLabel 3 +#define nLabel 2 +#define nStateIcon 3 #define nStateData 4 #define nLabelNPS 5 -#define nMemo 6 +#define nMemo 6 /* must match the ranking of the TextBox in following option list! */ + +#define STRIDE 7 /* must match the number of option in one pane! */ +#define MEMO (nMemo-1) /* Module variables */ #define H_MARGIN 2 @@ -55,11 +58,13 @@ #define STATE_ANALYZING 3 extern int windowMode; +extern char exclusionHeader[]; // back-end called by front-end void SetEngineState( int which, int state, char * state_data ); // front-end called by back-end +void SetEngineColorIcon( int which ); void SetIcon( int which, int field, int nIcon ); void DoSetWindowText(int which, int field, char *s_label); void InsertIntoMemo( int which, char * text, int where ); @@ -67,4 +72,6 @@ void DoClearMemo(int which); void ResizeWindowControls( int mode ); int EngineOutputDialogExists(); void SetEngineOutputTitle( char *title ); +void InitEngineOutput P((Option *opt, Option *memo2)); // XB only +void DrawWidgetIcon P((Option *opt, int nIcon)); // XB only