X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=frontend.h;h=a195f2e879a9b7afa504c2076a8891fe5332151c;hb=v4.9.x;hp=b6ed6865d1b8a078089f7e2fa4c341dca34acb72;hpb=0278ebc80411a20fd23303156285e55ce8d2b0a5;p=xboard.git diff --git a/frontend.h b/frontend.h index b6ed686..a195f2e 100644 --- a/frontend.h +++ b/frontend.h @@ -80,6 +80,7 @@ void DisplayIcsInteractionTitle P((String title)); void ParseArgsFromString P((char *p)); void ParseArgsFromFile P((FILE *f)); void DrawPosition P((int fullRedraw, Board board)); +void DrawPositionX P((int fullRedraw, Board board)); void ResetFrontEnd P((void)); void NotifyFrontendLogin P((void)); void CommentPopUp P((String title, String comment)); @@ -125,6 +126,7 @@ int LoadGameTimerRunning P((void)); int StopLoadGameTimer P((void)); void StartLoadGameTimer P((long millisec)); void AutoSaveGame P((void)); +Boolean ParseSettingsFile P((char *name, char **addr)); void ScheduleDelayedEvent P((DelayedEventCallback cb, long millisec)); DelayedEventCallback GetDelayedEvent P((void)); @@ -137,10 +139,12 @@ void DragPieceEnd P((int x, int y)); void DragPieceMove P((int x, int y)); void LeftClick P((ClickType c, int x, int y)); int RightClick P((ClickType c, int x, int y, int *col, int *row)); +void Wheel P((int dir, int x, int y)); int StartChildProcess P((char *cmdLine, char *dir, ProcRef *pr)); void DestroyChildProcess P((ProcRef pr, int/*boolean*/ signal)); void InterruptChildProcess P((ProcRef pr)); +char *BufferCommandOutput P((char *command, int size)); void RunCommand P((char *buf)); int OpenTelnet P((char *host, char *port, ProcRef *pr)); @@ -166,6 +170,7 @@ void CmailSigHandlerCallBack P((InputSourceRef isr, VOIDSTAR closure, extern ProcRef cmailPR; extern int shiftKey, controlKey; +extern char dataDir[], manDir[]; /* in xgamelist.c or winboard.c */ void GLT_ClearList(); @@ -211,7 +216,10 @@ void ChangeDragPiece P((ChessSquare piece)); void CopyFENToClipboard P((void)); extern char *programName; extern int commentUp; +extern char *engineListFile; extern char *firstChessProgramNames; +extern char *icsTextMenuString; +extern int mute; void GreyRevert P((Boolean grey)); void EnableNamedMenuItem P((char *menuRef, int state)); @@ -240,6 +248,7 @@ int EvalGraphDialogExists P((void)); void SlavePopUp P((void)); void ActivateTheme P((int new)); char *Col2Text P((int n)); +char *Shorten P((char *s)); /* these are in xhistory.c */ Boolean MoveHistoryIsUp P((void));