X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=interface.h;h=3ae8aa2f49374888637c93ec3c77ad0cff409ff3;hb=91d449673b904139f4bbce9e9206c161a6a9b488;hp=4ce00b5a6624ee163cc74614cf79e9cda5c6511f;hpb=4f14a66c2fb16a1985418ba9af56f0cee0495f28;p=xboard.git diff --git a/interface.h b/interface.h index 4ce00b5..3ae8aa2 100644 --- a/interface.h +++ b/interface.h @@ -2,7 +2,9 @@ GtkBuilder *builder=NULL; GtkWidget *GUI_Window=NULL; +GtkWidget *GUI_Aspect=NULL; GtkWidget *GUI_History=NULL; +GtkWidget *GUI_GameList=NULL; GtkWidget *GUI_Board=NULL; GtkWidget *GUI_Whiteclock=NULL; GtkWidget *GUI_Blackclock=NULL; @@ -10,8 +12,14 @@ 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; +GtkListStore *LIST_GameList=NULL; + +GtkTreeView *TREE_History=NULL; +GtkTreeView *TREE_Game=NULL; gint boardWidth; gint boardHeight; @@ -20,7 +28,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; @@ -28,5 +37,6 @@ GdkPixbuf *SVGNeutralSquare=NULL; GdkCursor *BoardCursor=NULL; -GdkPixbuf *load_pixbuf(char *filename,int size); -void GUI_SetAspectRatio(int ratio); +GdkPixbuf *load_pixbuf P((char *filename,int size)); +void FileNamePopUp P((char *label, char *def, + FileProc proc, char *openMode));