Mercurial > dwindows
view gtk/maximize.xpm @ 1527:9bab702bd6c1
A bunch of Mac drawing updates to correct issues and improve performance.
Switched to using a different (faster) method for drawing rectangles.
Fixed subpixel drawing issues related to the fact that drawing occurs centered on the coordinate so adding 0.5 draws at a pixel itself instead of spanning two pixels.
And related to that removing the incorrect workaround I had previously used of setting the line width to 0.5.
Also added DW_DRAW_NOAA support when drawing to windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 03 Jan 2012 15:59:00 +0000 |
parents | b3404a94a15d |
children |
line wrap: on
line source
/* XPM */ static char * maximize_xpm[] = { /* width height num_colors chars_per_pixel */ "15 15 5 1", /* colors */ " c white", ". c #5f5f5f", "X c gray75", "o c gray70", "O c black", /* pixels */ " .", " XXXXXXXXXXXX..", " XooooooooooX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XoOOOOOOOOoX..", " XooooooooooX..", " XXXXXXXXXXXX..", " ..............", "..............."};