X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engineoutput.h;h=a46c1591d74463d8565cee24a5cec886185d967b;hb=ce2d2972671ea7eff9dbbe7028718bef4d837dfb;hp=7007c1600c01142537e5d4616f85edd8388f1b1a;hpb=7c9ee0544821f7981792be03e90ba15e9a8aeada;p=xboard.git diff --git a/engineoutput.h b/engineoutput.h index 7007c16..a46c159 100644 --- a/engineoutput.h +++ b/engineoutput.h @@ -1,7 +1,7 @@ /* * wengineo.h -- Clipboard routines for WinBoard * - * Copyright 2000, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -51,17 +51,14 @@ #define ICON_SIZE 14 -#define STATE_UNKNOWN -1 -#define STATE_THINKING 0 -#define STATE_IDLE 1 -#define STATE_PONDERING 2 -#define STATE_ANALYZING 3 +enum ENGINE_STATE { STATE_UNKNOWN, STATE_THINKING, STATE_IDLE, STATE_PONDERING, STATE_ANALYZING }; extern int windowMode; extern char exclusionHeader[]; +extern int highTextStart[2], highTextEnd[2]; // back-end called by front-end -void SetEngineState( int which, int state, char * state_data ); +void SetEngineState( int which, enum ENGINE_STATE state, char * state_data ); // front-end called by back-end void SetEngineColorIcon( int which ); @@ -70,8 +67,8 @@ 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(); +int EngineOutputDialogExists(); void SetEngineOutputTitle( char *title ); +void Collapse P((int colNr)); void InitEngineOutput P((Option *opt, Option *memo2)); // XB only void DrawWidgetIcon P((Option *opt, int nIcon)); // XB only -