Mercurial > dwindows
comparison os2/dw.c @ 1208:53547c9c99a2
Added dw_container_set_row_bg() stubs on the remaining platforms.
It is possible but complicated to implement on Windows... will implement when I find time.
Researching GTK1/2 support since they use GtkCList instead of GtkTreeView like GTK3.
OS/2 I believe this is impossible to implement.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 08 Oct 2011 19:20:09 +0000 |
parents | af4ca6ccbdff |
children | 70dca53cb071 |
comparison
equal
deleted
inserted
replaced
1207:423da07c8f05 | 1208:53547c9c99a2 |
---|---|
7693 { | 7693 { |
7694 return dw_container_get_column_type( handle, column + 2 ); | 7694 return dw_container_get_column_type( handle, column + 2 ); |
7695 } | 7695 } |
7696 | 7696 |
7697 /* | 7697 /* |
7698 * Sets the alternating row colors for container window (widget) handle. | |
7699 * Parameters: | |
7700 * handle: The window (widget) handle. | |
7701 * oddcolor: Odd row background color in DW_RGB format or a default color index. | |
7702 * DW_CLR_DEFAULT will disable coloring odd rows. | |
7703 * evencolor: Even row background color in DW_RGB format or a default color index. | |
7704 * DW_CLR_DEFAULT will disable coloring even rows. | |
7705 */ | |
7706 void API dw_container_set_row_bg(HWND handle, unsigned long oddcolor, unsigned long evencolor) | |
7707 { | |
7708 /* Don't think this is possible on OS/2 */ | |
7709 } | |
7710 | |
7711 /* | |
7698 * Sets the width of a column in the container. | 7712 * Sets the width of a column in the container. |
7699 * Parameters: | 7713 * Parameters: |
7700 * handle: Handle to window (widget) of container. | 7714 * handle: Handle to window (widget) of container. |
7701 * column: Zero based column of width being set. | 7715 * column: Zero based column of width being set. |
7702 * width: Width of column in pixels. | 7716 * width: Width of column in pixels. |