removed X-version of buttonbar
[xboard.git] / interface.h
index 9704012..b3a457a 100644 (file)
@@ -2,9 +2,17 @@
 GtkBuilder              *builder=NULL;
 
 GtkWidget               *GUI_Window=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;
+
+GtkListStore            *LIST_MoveHistory=NULL;
+
 gint                     boardWidth;
 gint                     boardHeight;
 
@@ -12,7 +20,8 @@ gint                     boardHeight;
 GdkPixbuf               *WindowIcon=NULL;
 GdkPixbuf               *WhiteIcon=NULL;
 GdkPixbuf               *BlackIcon=NULL;
-GdkPixbuf               *SVGpieces[12];
+#define MAXPIECES 100
+GdkPixbuf               *SVGpieces[MAXPIECES];
 GdkPixbuf               *SVGLightSquare=NULL;
 GdkPixbuf               *SVGDarkSquare=NULL;
 GdkPixbuf               *SVGNeutralSquare=NULL;
@@ -20,4 +29,5 @@ GdkPixbuf               *SVGNeutralSquare=NULL;
 GdkCursor               *BoardCursor=NULL;
 
 
-GdkPixbuf *load_pixbuf(char *filename);
+GdkPixbuf *load_pixbuf(char *filename,int size);
+void GUI_SetAspectRatio(int ratio);