X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.h;fp=engineoutput.h;h=bab71f8e61d16561b222a3dbd47a0ea5bc75e71e;hb=dcb381e902c84b25e2a7301c5ba1d9f437503b5b;hp=8c396d273f974b3e6697edf080b8f6a2af30ffcb;hpb=73419c47f539f4f6d0700fe8ec89bb0f6259c94e;p=xboard.git diff --git a/engineoutput.h b/engineoutput.h index 8c396d2..bab71f8 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 @@ -61,6 +64,7 @@ extern char exclusionHeader[]; 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 ); @@ -68,4 +72,10 @@ void DoClearMemo(int which); void ResizeWindowControls( int mode ); int EngineOutputDialogExists(); void SetEngineOutputTitle( char *title ); +void InitializeEngineOutput P((Option *opt, Option *memo2)); +void DrawIcon P((Option *opt, int nIcon)); + +// front-end shared with xboard.c +void SelectPV P((Widget w, XEvent * event, String * params, Cardinal * nParams)); +void StopPV P((Widget w, XEvent * event, String * params, Cardinal * nParams));