Alter assignment method for castling rights in EditPosition
[xboard.git] / interface.h
1 /* GTK widgets */
2 GtkBuilder              *builder=NULL;
3
4 GtkWidget               *GUI_Window=NULL;
5 GtkWidget               *GUI_Aspect=NULL;
6 GtkWidget               *GUI_History=NULL;
7 GtkWidget               *GUI_GameList=NULL;
8 GtkWidget               *GUI_Board=NULL;
9 GtkWidget               *GUI_Whiteclock=NULL;
10 GtkWidget               *GUI_Blackclock=NULL;
11 GtkWidget               *GUI_Error=NULL;
12 GtkWidget               *GUI_Menubar=NULL;
13 GtkWidget               *GUI_Timer=NULL;
14 GtkWidget               *GUI_Buttonbar=NULL;
15 GtkWidget               *GUI_EditTags=NULL;
16 GtkWidget               *GUI_EditTagsTextArea=NULL;
17
18 GtkListStore            *LIST_MoveHistory=NULL;
19 GtkListStore            *LIST_GameList=NULL;
20
21 GtkTreeView             *TREE_History=NULL;
22 GtkTreeView             *TREE_Game=NULL;
23
24 gint                     boardWidth;
25 gint                     boardHeight;
26
27
28 GdkPixbuf               *WindowIcon=NULL;
29 GdkPixbuf               *WhiteIcon=NULL;
30 GdkPixbuf               *BlackIcon=NULL;
31 #define MAXPIECES 100
32 GdkPixbuf               *SVGpieces[MAXPIECES];
33 GdkPixbuf               *SVGLightSquare=NULL;
34 GdkPixbuf               *SVGDarkSquare=NULL;
35 GdkPixbuf               *SVGNeutralSquare=NULL;
36
37 GdkCursor               *BoardCursor=NULL;
38
39
40 GdkPixbuf *load_pixbuf P((char *filename,int size));
41 void FileNamePopUp P((char *label, char *def,
42                       FileProc proc, char *openMode));