X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.h;h=2807e654a4958fdd81bfefab9b86ae97f05eb2c2;hb=d628e1610653266459dfec9aad86aa6615ea886a;hp=0ee378ac5a6e18b1ae025d04a7cfef09d26dc501;hpb=30583dd0f88cef9b1281f2ce5fa06651bf6d4bb6;p=xboard.git diff --git a/xboard.h b/xboard.h index 0ee378a..2807e65 100644 --- a/xboard.h +++ b/xboard.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -134,6 +134,13 @@ typedef struct { typedef int (*FileProc) P((FILE *f, int n, char *title)); int PopDown P((int n)); +void NewTagsPopup P((char *text, char *msg)); +int AppendText P((Option *opt, char *s)); +int GenericPopUp P((Option *option, char *title, int dlgNr)); +void NewCommentPopup P((char *title, char *text, int index)); +void MarkMenu P((char *item, int dlgNr)); +void GetWidgetText P((Option *opt, char **buf)); +void ClearTextWidget P((Option *opt)); void InputBoxPopup P((void)); void CatchDeleteWindow(Widget w, String procname); void PlaySound P((char *name)); @@ -146,6 +153,7 @@ FILE * XsraSelFile P((Widget w, char *prompt, char *ok, char *cancel, char *fail extern Widget shells[]; extern Boolean shellUp[]; +extern int dialogError; extern Widget formWidget, shellWidget, boardWidget, menuBarWidget, gameListShell, historyShell; extern Display *xDisplay; extern Window xBoardWindow; @@ -157,12 +165,12 @@ extern Pixel timerForegroundPixel, timerBackgroundPixel; extern int searchTime; extern Atom wm_delete_window; extern int squareSize, lineGap, defaultLineGap, useImages, useImageSqs; -extern int shuffleOpenings; extern int startedFromPositionFile; extern char *icsTextMenuString; extern char ICSInputTranslations[]; extern char *selected_fen_position; extern GC coordGC; +extern Dimension textHeight; // of message widget in board window #define TOPLEVEL 1 /* preference item; 1 = make popup windows toplevel */