Don't leave the silly debugging malloc enabled
[xiph/unicode.git] / planarity / gameboard_draw_buttonbar.c
bloba4b100b94b5fac4036cb90dd9d03803489487f49
1 /*
3 * gPlanarity:
4 * The geeky little puzzle game with a big noodly crunch!
5 *
6 * gPlanarity copyright (C) 2005 Monty <monty@xiph.org>
7 * Original Flash game by John Tantalo <john.tantalo@case.edu>
8 * Original game concept by Mary Radcliffe
10 * gPlanarity is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2, or (at your option)
13 * any later version.
15 * gPlanarity is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with Postfish; see the file COPYING. If not, write to the
22 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 #include <math.h>
28 #include <string.h>
29 #include <gtk/gtk.h>
30 #include <gdk/gdk.h>
32 #include "graph.h"
33 #include "gameboard.h"
35 void draw_buttonbar_box (Gameboard *g){
36 cairo_t *c = cairo_create(g->forebutton);
38 cairo_save(c);
39 cairo_set_operator(c,CAIRO_OPERATOR_CLEAR);
40 cairo_set_source_rgba (c, 1,1,1,1);
41 cairo_paint(c);
42 cairo_restore(c);
44 bottombox(g,c,g->g.width,SCOREHEIGHT);
45 cairo_destroy(c);