From 7482c07ba5ac5e73fe48459870d55df49a8a4421 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 22 Jan 2005 19:49:19 +0000 Subject: [PATCH] add callback for most recent score --- xwords4/common/draw.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xwords4/common/draw.h b/xwords4/common/draw.h index 2d765c852..33454553a 100644 --- a/xwords4/common/draw.h +++ b/xwords4/common/draw.h @@ -26,8 +26,13 @@ /* typedef struct DrawCtx DrawCtx; */ + +typedef XP_Bool (*LastScoreCallback)( void* closure, XP_S16 player, + XP_UCHAR* expl, XP_U16* explLen ); + typedef struct DrawScoreInfo { - void* closure; + LastScoreCallback lsc; + void* lscClosure; XP_UCHAR* name; XP_S16 score; XP_S16 nTilesLeft; /* < 0 means don't use */