From 7aa6f95a217be9518025c445493355fde3dcb2df Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 13 Aug 2015 19:41:42 +0000 Subject: [PATCH] Separando informações de fonte --- oia.c | 2 +- private.h | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/oia.c b/oia.c index c21de07..e6a4dbb 100644 --- a/oia.c +++ b/oia.c @@ -226,7 +226,7 @@ static void setup_insert_position(GdkRectangle *rect, v3270FontInfo *metrics, ca -static void setup_double_char_position(GdkRectangle *rect, struct v3270_metrics *metrics, cairo_t *cr, H3270 *host, int cols, GdkRGBA *color) +static void setup_double_char_position(GdkRectangle *rect, v3270FontInfo *metrics, cairo_t *cr, H3270 *host, int cols, GdkRGBA *color) { rect->width <<= 1; rect->x -= rect->width; diff --git a/private.h b/private.h index 9dcbdf1..37ea6e7 100644 --- a/private.h +++ b/private.h @@ -115,28 +115,6 @@ G_BEGIN_DECLS const gchar * message; }; - /** - * @brief Informações para desenho de fontes com o cairo. - * - */ - struct _v3270FontInfo { - - guint width; - guint height; - guint ascent; - guint descent; - - guint spacing; - - guint left; - guint top; - - gchar * family; - cairo_font_weight_t weight; - cairo_scaled_font_t * scaled; - - }; - /*--[ Widget data ]----------------------------------------------------------------------------------*/ struct _v3270 -- libgit2 0.21.2