Mercurial > dwindows
diff gtk/dw.c @ 514:08d770271709
More function name changes for Rexx/DW compatibility.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 12 Mar 2004 23:47:37 +0000 |
parents | 7755599311d4 |
children | c3c5d8e36aa3 |
line wrap: on
line diff
--- a/gtk/dw.c Tue Mar 09 05:58:52 2004 +0000 +++ b/gtk/dw.c Fri Mar 12 23:47:37 2004 +0000 @@ -1295,7 +1295,7 @@ text_height = 0; stext = dw_text_new(outbuf, 0); dw_window_set_style(stext, DW_DT_WORDBREAK, DW_DT_WORDBREAK); - dw_font_text_extents(stext, NULL, outbuf, &width, &height); + dw_font_text_extents_get(stext, NULL, outbuf, &width, &height); height = height+3; if(width < text_width) text_height = height*2; @@ -5871,7 +5871,7 @@ * width: Pointer to a variable to be filled in with the width. * height Pointer to a variable to be filled in with the height. */ -void dw_font_text_extents(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height) +void dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height) { int _locked_by_me = FALSE; #if GTK_MAJOR_VERSION > 1 @@ -6659,7 +6659,7 @@ } /* This should return the current color depth */ -unsigned long dw_color_depth(void) +unsigned long dw_color_depth_get(void) { int retval; int _locked_by_me = FALSE;