Mercurial > dwindows
comparison dw.h @ 1075:3d117071a50b
Renamed Mac _dw_default_font() to dw_font_set_default() and added it on OS/2 and Windows.
Function added to the public export list... GTK2/3 support will be added shortly.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 26 Jun 2011 02:07:49 +0000 |
parents | 48f43c975533 |
children | 34f1d6f5f1c3 |
comparison
equal
deleted
inserted
replaced
1074:53fc692279fc | 1075:3d117071a50b |
---|---|
309 void *image; | 309 void *image; |
310 HWND handle; | 310 HWND handle; |
311 } *HPIXMAP; | 311 } *HPIXMAP; |
312 | 312 |
313 void _dw_pool_drain(void); | 313 void _dw_pool_drain(void); |
314 void _dw_default_font(char *fontname); | |
315 | |
316 | 314 |
317 #define DW_DT_LEFT 0 /* NSLeftTextAlignment */ | 315 #define DW_DT_LEFT 0 /* NSLeftTextAlignment */ |
318 #define DW_DT_QUERYEXTENT 0 | 316 #define DW_DT_QUERYEXTENT 0 |
319 #define DW_DT_UNDERSCORE 0 | 317 #define DW_DT_UNDERSCORE 0 |
320 #define DW_DT_STRIKEOUT 0 | 318 #define DW_DT_STRIKEOUT 0 |
1622 void API dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2); | 1620 void API dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2); |
1623 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height); | 1621 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height); |
1624 void API dw_draw_polygon(HWND handle, HPIXMAP pixmap, int fill, int npoints, int *x, int *y); | 1622 void API dw_draw_polygon(HWND handle, HPIXMAP pixmap, int fill, int npoints, int *x, int *y); |
1625 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); | 1623 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); |
1626 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height); | 1624 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height); |
1625 void API dw_font_set_default(char *fontname); | |
1627 void API dw_flush(void); | 1626 void API dw_flush(void); |
1628 void API dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc); | 1627 void API dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc); |
1629 HPIXMAP API dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth); | 1628 HPIXMAP API dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth); |
1630 HPIXMAP API dw_pixmap_new_from_file(HWND handle, char *filename); | 1629 HPIXMAP API dw_pixmap_new_from_file(HWND handle, char *filename); |
1631 HPIXMAP API dw_pixmap_new_from_data(HWND handle, char *data, int len); | 1630 HPIXMAP API dw_pixmap_new_from_data(HWND handle, char *data, int len); |