4 * The geeky little puzzle game with a big noodly crunch!
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)
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 extern void path_button_help(cairo_t
*c
, double x
, double y
);
28 extern void path_button_back(cairo_t
*c
, double x
, double y
);
29 extern void path_button_reset(cairo_t
*c
, double x
, double y
);
30 extern void path_button_pause(cairo_t
*c
, double x
, double y
);
31 extern void path_button_exit(cairo_t
*c
, double x
, double y
);
32 extern void path_button_expand(cairo_t
*c
, double x
, double y
);
33 extern void path_button_shrink(cairo_t
*c
, double x
, double y
);
34 extern void path_button_lines(cairo_t
*c
, double x
, double y
);
35 extern void path_button_int(cairo_t
*c
, double x
, double y
);
36 extern void path_button_check(cairo_t
*c
, double x
, double y
);
37 extern void path_button_play(cairo_t
*c
, double x
, double y
);
40 #define BUTTON_QUIT_IDLE_FILL .7,.1,.1,.3
41 #define BUTTON_QUIT_IDLE_PATH .7,.1,.1,.6
43 #define BUTTON_QUIT_LIT_FILL .7,.1,.1,.5
44 #define BUTTON_QUIT_LIT_PATH .7,.1,.1,.6
46 #define BUTTON_IDLE_FILL .1,.1,.7,.3
47 #define BUTTON_IDLE_PATH .1,.1,.7,.6
49 #define BUTTON_LIT_FILL .1,.1,.7,.6
50 #define BUTTON_LIT_PATH .1,.1,.7,.6
52 #define BUTTON_CHECK_IDLE_FILL .1,.5,.1,.3
53 #define BUTTON_CHECK_IDLE_PATH .1,.5,.1,.6
55 #define BUTTON_CHECK_LIT_FILL .1,.5,.1,.6
56 #define BUTTON_CHECK_LIT_PATH .1,.5,.1,.6
58 #define BUTTON_RADIUS 14
59 #define BUTTON_Y_FROM_BOTTOM 25
60 #define BUTTON_LINE_WIDTH 1
61 #define BUTTON_TEXT_BORDER 15
62 #define BUTTON_TEXT_COLOR .1,.1,.7,.8
63 #define BUTTON_TEXT_SIZE 15.,18.
65 #define BUTTON_ANIM_INTERVAL 15
67 #define BUTTON_RIGHT 5
68 #define BUTTON_BORDER 35
69 #define BUTTON_SPACING 35
70 #define BUTTON_EXPOSE 50
71 #define DEPLOY_DELTA 6