X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.h;h=bab71f8e61d16561b222a3dbd47a0ea5bc75e71e;hb=45bea0f2fdd5d1e938b0b8c0c2044e4d7bd2e0d2;hp=03c944243b0eb65688c24ee7e5477b6e513aa376;hpb=b382d988c6f886f3a49483df9e3e36de0b6b0824;p=xboard.git diff --git a/engineoutput.h b/engineoutput.h index 03c9442..bab71f8 100644 --- a/engineoutput.h +++ b/engineoutput.h @@ -1,7 +1,7 @@ /* * wengineo.h -- Clipboard routines for WinBoard * - * Copyright 2000, 2009, 2010, 2011 Free Software Foundation, Inc. + * Copyright 2000, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -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,15 +58,24 @@ #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 ); 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));