This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, generate has been updated via 80e05d567a9526b7bfb21cd458572c364502e4a0 (commit) from cfc6c022b5368c44e60c7f494865c651066fb117 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/80e05d567a9526b7bfb21cd458572c364502e...
commit 80e05d567a9526b7bfb21cd458572c364502e4a0 Author: Cyril Hrubis metan@ucw.cz Date: Sun Jul 17 14:21:10 2011 +0200
Fixed Text library compilation.
diff --git a/libs/text/GP_Text.c b/libs/text/GP_Text.c index af11a48..4ffae23 100644 --- a/libs/text/GP_Text.c +++ b/libs/text/GP_Text.c @@ -19,25 +19,21 @@ * Copyright (C) 2009-2010 Jiri "BlueBear" Dluhos * * jiri.bluebear.dluhos@gmail.com * * * - * Copyright (C) 2009-2010 Cyril Hrubis metan@ucw.cz * + * Copyright (C) 2009-2011 Cyril Hrubis metan@ucw.cz * * * *****************************************************************************/
#include "algo/Text.algo.h" #include "gfx/GP_Gfx.h" #include "core/GP_FnPerBpp.h" +#include "core/GP_DefFnPerBpp.h" #include "GP_Text.h"
static GP_TextStyle DefaultStyle = GP_DEFAULT_TEXT_STYLE;
/* Generate drawing functions for various bit depths. */ -DEF_TEXT_FN(GP_Text1bpp, GP_Context *, GP_Pixel, GP_HLine1bpp) -DEF_TEXT_FN(GP_Text2bpp, GP_Context *, GP_Pixel, GP_HLine2bpp) -DEF_TEXT_FN(GP_Text4bpp, GP_Context *, GP_Pixel, GP_HLine4bpp) -DEF_TEXT_FN(GP_Text8bpp, GP_Context *, GP_Pixel, GP_HLine8bpp) -DEF_TEXT_FN(GP_Text16bpp, GP_Context *, GP_Pixel, GP_HLine16bpp) -DEF_TEXT_FN(GP_Text24bpp, GP_Context *, GP_Pixel, GP_HLine24bpp) -DEF_TEXT_FN(GP_Text32bpp, GP_Context *, GP_Pixel, GP_HLine32bpp) +GP_DEF_FILL_FN_PER_BPP(GP_Text, DEF_TEXT_FN) + DEF_TEXT_FN(GP_TText_internal, GP_Context *, GP_Pixel, GP_THLine)
GP_RetCode GP_Text(GP_Context *context, const GP_TextStyle *style, @@ -87,7 +83,7 @@ GP_RetCode GP_Text(GP_Context *context, const GP_TextStyle *style, return GP_EINVAL; }
- GP_FN_PER_BPP(GP_Text, context->bpp, context, + GP_FN_PER_BPP_CONTEXT(GP_Text, context, context, style, topleft_x, topleft_y, str, pixel);
return GP_ESUCCESS;
-----------------------------------------------------------------------
Summary of changes: libs/text/GP_Text.c | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.