Merge branch 'master' into gtk
[xboard.git] / interface.h
index 9704012..cd0415a 100644 (file)
@@ -5,6 +5,8 @@ GtkWidget               *GUI_Window=NULL;
 GtkWidget               *GUI_Board=NULL;
 GtkWidget               *GUI_Whiteclock=NULL;
 GtkWidget               *GUI_Blackclock=NULL;
+GtkWidget               *GUI_Error=NULL;
+
 gint                     boardWidth;
 gint                     boardHeight;
 
@@ -12,7 +14,7 @@ gint                     boardHeight;
 GdkPixbuf               *WindowIcon=NULL;
 GdkPixbuf               *WhiteIcon=NULL;
 GdkPixbuf               *BlackIcon=NULL;
-GdkPixbuf               *SVGpieces[12];
+GdkPixbuf               *SVGpieces[100];
 GdkPixbuf               *SVGLightSquare=NULL;
 GdkPixbuf               *SVGDarkSquare=NULL;
 GdkPixbuf               *SVGNeutralSquare=NULL;
@@ -20,4 +22,5 @@ GdkPixbuf               *SVGNeutralSquare=NULL;
 GdkCursor               *BoardCursor=NULL;
 
 
-GdkPixbuf *load_pixbuf(char *filename);
+GdkPixbuf *load_pixbuf(char *filename,int size);
+void GUI_SetAspectRatio(int ratio);