X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.h;h=3527343d14625ddaa9de0a9230d022c4e9a14ebb;hb=06b933aec31c7eafe287731d4ec8e3ba9de6ec81;hp=ca2a70536d6d7fb1aefdcf520a6804b315a75b28;hpb=21a44c336aa8cd16a38f3c682386528c8f112650;p=xboard.git diff --git a/xboard.h b/xboard.h index ca2a705..3527343 100644 --- a/xboard.h +++ b/xboard.h @@ -133,6 +133,7 @@ typedef struct { void NewTagsPopup P((char *text, char *msg)); int AppendText P((Option *opt, char *s)); void NewCommentPopup P((char *title, char *text, int index)); +#ifdef TODO_GTK void CatchDeleteWindow(Widget w, String procname); void GenericPopDown P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void SetFocus(Widget w, XtPointer data, XEvent *event, Boolean *b); // from xoptions.c @@ -145,25 +146,29 @@ void GenericMenu P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); // from xengineoutput.c void SelectPV P((Widget w, XEvent * event, String * params, Cardinal * nParams)); void StopPV P((Widget w, XEvent * event, String * params, Cardinal * nParams)); +#endif extern char memoTranslations[]; - +#if TODO_GTK extern Widget shells[]; -extern int dialogError; extern Widget formWidget, shellWidget, boardWidget, menuBarWidget; extern Display *xDisplay; extern Window xBoardWindow; -extern int squareSize; extern Pixmap xMarkPixmap, wIconPixmap, bIconPixmap; -extern char *layoutName; extern Pixel timerForegroundPixel, timerBackgroundPixel, dialogColor, buttonColor; extern Atom wm_delete_window; +extern GC coordGC; +extern Dimension textHeight; // of message widget in board window +#else +extern GtkWidget *shells[]; +#endif +extern int dialogError; +extern int squareSize; +extern char *layoutName; extern int useImages, useImageSqs; 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 */