summaryrefslogtreecommitdiff
path: root/gtkboard.h
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
committerRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
commit89adbd59353dd3a0944de2c86288976329f2b1dc (patch)
tree050c4b8b379636dda63d2e9290df797cb3ec2d7a /gtkboard.h
parenta92a560637b87da633f44af0049f55e419a0dd05 (diff)
New upstream version 1.06.001
Diffstat (limited to 'gtkboard.h')
-rw-r--r--gtkboard.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtkboard.h b/gtkboard.h
index b270f45..767eaf5 100644
--- a/gtkboard.h
+++ b/gtkboard.h
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: gtkboard.h,v 1.103 2015/12/04 23:07:52 plm Exp $
+ * $Id: gtkboard.h,v 1.106 2016/08/19 22:57:24 plm Exp $
*/
#ifndef GTKBOARD_H
@@ -28,6 +28,7 @@
#include "gtkpanels.h"
#include "common.h"
#include "render.h"
+#include "gtklocdefs.h"
#if defined(USE_BOARD3D)
#include "types3d.h"
@@ -72,8 +73,7 @@ struct _BoardData {
GtkWidget *pipcountlabel0, *pipcountlabel1;
GtkWidget *pwvboxcnt;
- GdkGC *gc_and, *gc_or, *gc_copy, *gc_cube;
- GdkPixmap *appmKey[2];
+ gtk_locdef_surface *appmKey[2];
gboolean playing, computer_turn;
gint drag_point, drag_colour, x_drag, y_drag, x_dice[2], y_dice[2], drag_button, click_time, cube_use; /* roll showing on the off-board dice */
@@ -141,7 +141,7 @@ extern unsigned int nGUIAnimSpeed;
extern GType board_get_type(void);
extern GtkWidget *board_new(renderdata * prd);
extern GtkWidget *board_cube_widget(Board * board);
-extern void DestroySetCube(GtkObject * po, GtkWidget * pw);
+extern void DestroySetCube(GObject * po, GtkWidget * pw);
extern void Copy3dDiceColour(renderdata * prd);
typedef enum { MT_STANDARD, MT_FIRSTMOVE, MT_EDIT } manualDiceType;
extern GtkWidget *board_dice_widget(Board * board, manualDiceType mdt);
@@ -173,9 +173,9 @@ extern gboolean board_button_release(GtkWidget * board, GdkEventButton * event,
extern void RollDice2d(BoardData * bd);
extern void DestroyPanel(gnubgwindow window);
extern void
-DrawDie(GdkDrawable * pd,
+DrawDie(cairo_t * pd,
unsigned char *achDice[2], unsigned char *achPip[2],
- const int s, GdkGC * gc, int x, int y, int fColour, int n, int alpha);
+ const int s, int x, int y, int fColour, int n, int alpha);
extern int UpdateMove(BoardData * bd, TanBoard anBoard);
extern void stop_board_expose(BoardData * bd);