2016 ソフトウェア設計及び演習用の班Wiki

g09::gtk_draw_lib.h::

#include<stdio.h>
#include<gtk/gtk.h>

#define BAN_IMG "./images/ban.png"
#define BLACK_IMG "./images/black.png"
#define WHITE_IMG "./images/white.png"
#define BACK_IMG "./images/yuhi_2.jpg"

#define LEN 8
#define CELL_WIDTH 80.0
#define BORDER 10.0

//cairoでデザインする
gboolean drawStones(cairo_t *cr, gdouble width, gdouble height);
gboolean drawBoard(cairo_t *cr,gdouble width,gdouble height);
gboolean drawScore(cairo_t *cr,gdouble width,gdouble height);


最終更新日:2016/07/29 14:29:13