Commit 7aa6f95a217be9518025c445493355fde3dcb2df

Authored by perry.werneck@gmail.com
1 parent 6ac175d4
Exists in master and in 1 other branch develop

Separando informações de fonte

Showing 2 changed files with 1 additions and 23 deletions   Show diff stats
@@ -226,7 +226,7 @@ static void setup_insert_position(GdkRectangle *rect, v3270FontInfo *metrics, ca @@ -226,7 +226,7 @@ static void setup_insert_position(GdkRectangle *rect, v3270FontInfo *metrics, ca
226 226
227 227
228 228
229 -static void setup_double_char_position(GdkRectangle *rect, struct v3270_metrics *metrics, cairo_t *cr, H3270 *host, int cols, GdkRGBA *color) 229 +static void setup_double_char_position(GdkRectangle *rect, v3270FontInfo *metrics, cairo_t *cr, H3270 *host, int cols, GdkRGBA *color)
230 { 230 {
231 rect->width <<= 1; 231 rect->width <<= 1;
232 rect->x -= rect->width; 232 rect->x -= rect->width;
@@ -115,28 +115,6 @@ G_BEGIN_DECLS @@ -115,28 +115,6 @@ G_BEGIN_DECLS
115 const gchar * message; 115 const gchar * message;
116 }; 116 };
117 117
118 - /**  
119 - * @brief Informações para desenho de fontes com o cairo.  
120 - *  
121 - */  
122 - struct _v3270FontInfo {  
123 -  
124 - guint width;  
125 - guint height;  
126 - guint ascent;  
127 - guint descent;  
128 -  
129 - guint spacing;  
130 -  
131 - guint left;  
132 - guint top;  
133 -  
134 - gchar * family;  
135 - cairo_font_weight_t weight;  
136 - cairo_scaled_font_t * scaled;  
137 -  
138 - };  
139 -  
140 /*--[ Widget data ]----------------------------------------------------------------------------------*/ 118 /*--[ Widget data ]----------------------------------------------------------------------------------*/
141 119
142 struct _v3270 120 struct _v3270