Mercurial > dwindows
diff win/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 | caa7ed17c132 |
line wrap: on
line diff
--- a/win/dw.c Tue Mar 09 05:58:52 2004 +0000 +++ b/win/dw.c Fri Mar 12 23:47:37 2004 +0000 @@ -880,7 +880,7 @@ if(text) { - dw_font_text_extents(thisbox->grouphwnd, 0, text, NULL, &thisbox->grouppady); + dw_font_text_extents_get(thisbox->grouphwnd, 0, text, NULL, &thisbox->grouppady); dw_free(text); } @@ -1247,7 +1247,7 @@ GetWindowText(handle, tmpbuf, 1023); /* Figure out how big the text is */ - dw_font_text_extents(handle, 0, tmpbuf, 0, &textheight); + dw_font_text_extents_get(handle, 0, tmpbuf, 0, &textheight); diff = (total - textheight) / 2; @@ -5033,7 +5033,7 @@ } /* This should return the current color depth */ -unsigned long API dw_color_depth(void) +unsigned long API dw_color_depth_get(void) { int bpp; HDC hdc = GetDC(HWND_DESKTOP); @@ -7357,7 +7357,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 API dw_font_text_extents(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height) +void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height) { HDC hdc; int mustdelete = 0;