Mercurial > dwindows
comparison dw.h @ 1212:5271d5cb27ac
Implemented dw_container_set_row_bg() on Windows.
Current immplementation is a bit slow, it does more redrawing than necessary...
but it works for now... will look to improve it in the future.
Also removed a lot of dead code from a previous attempt at implementation.
Also flipped the default colors on Mac since the first index is even (0) not odd (1).
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 09 Oct 2011 09:50:07 +0000 |
parents | c7bb48cda53a |
children | c191a562c14a |
comparison
equal
deleted
inserted
replaced
1211:70dca53cb071 | 1212:5271d5cb27ac |
---|---|
622 typedef HANDLE HICN; | 622 typedef HANDLE HICN; |
623 | 623 |
624 typedef struct _container { | 624 typedef struct _container { |
625 ColorInfo cinfo; | 625 ColorInfo cinfo; |
626 ULONG *flags; | 626 ULONG *flags; |
627 WNDPROC pOldProc; | |
628 ULONG columns; | 627 ULONG columns; |
628 COLORREF odd, even; | |
629 } ContainerInfo; | 629 } ContainerInfo; |
630 | 630 |
631 typedef struct _hpixmap { | 631 typedef struct _hpixmap { |
632 unsigned long width, height; | 632 unsigned long width, height; |
633 HBITMAP hbm; | 633 HBITMAP hbm; |