X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=interface.h;h=38db60dde73676152adf7578094feddd0bd158d9;hb=9363a0417ee37bcbe98656aa3054c62b5fedc195;hp=78705ab68a378dc14fef81c7825be2b726e7eab1;hpb=405062eb813f7ef717309d9d340ea3da1beeaf10;p=xboard.git diff --git a/interface.h b/interface.h index 78705ab..38db60d 100644 --- a/interface.h +++ b/interface.h @@ -2,9 +2,20 @@ GtkBuilder *builder=NULL; GtkWidget *GUI_Window=NULL; +GtkWidget *GUI_Aspect=NULL; +GtkWidget *GUI_History=NULL; GtkWidget *GUI_Board=NULL; GtkWidget *GUI_Whiteclock=NULL; GtkWidget *GUI_Blackclock=NULL; +GtkWidget *GUI_Error=NULL; +GtkWidget *GUI_Menubar=NULL; +GtkWidget *GUI_Timer=NULL; +GtkWidget *GUI_Buttonbar=NULL; +GtkWidget *GUI_EditTags=NULL; +GtkWidget *GUI_EditTagsTextArea=NULL; + +GtkListStore *LIST_MoveHistory=NULL; + gint boardWidth; gint boardHeight; @@ -12,7 +23,8 @@ gint boardHeight; GdkPixbuf *WindowIcon=NULL; GdkPixbuf *WhiteIcon=NULL; GdkPixbuf *BlackIcon=NULL; -GdkPixbuf *SVGpieces[100]; +#define MAXPIECES 100 +GdkPixbuf *SVGpieces[MAXPIECES]; GdkPixbuf *SVGLightSquare=NULL; GdkPixbuf *SVGDarkSquare=NULL; GdkPixbuf *SVGNeutralSquare=NULL; @@ -20,4 +32,6 @@ GdkPixbuf *SVGNeutralSquare=NULL; GdkCursor *BoardCursor=NULL; -GdkPixbuf *load_pixbuf(char *filename); +GdkPixbuf *load_pixbuf P((char *filename,int size)); +void FileNamePopUp P((char *label, char *def, + FileProc proc, char *openMode));