Merge branch 'master' into gtk
[xboard.git] / interface.h
index 78705ab..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;
 
@@ -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);