Mercurial > dwindows
comparison dwtest.c @ 1213:22cedf18db25
Fixed a slight miscalculation and simplified the Windows container row code.
Also added alternating row colors to the test program and updated readme.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 09 Oct 2011 10:13:16 +0000 |
parents | 196cd8a8e6a8 |
children | 67ff39b9577c |
comparison
equal
deleted
inserted
replaced
1212:5271d5cb27ac | 1213:22cedf18db25 |
---|---|
1022 titles[1] = "Size"; | 1022 titles[1] = "Size"; |
1023 titles[2] = "Time"; | 1023 titles[2] = "Time"; |
1024 titles[3] = "Date"; | 1024 titles[3] = "Date"; |
1025 | 1025 |
1026 dw_filesystem_setup(container, flags, titles, 4); | 1026 dw_filesystem_setup(container, flags, titles, 4); |
1027 dw_container_set_row_bg(container, DW_CLR_DEFAULT, DW_CLR_DEFAULT); | |
1027 containerinfo = dw_container_alloc(container, 3); | 1028 containerinfo = dw_container_alloc(container, 3); |
1028 | 1029 |
1029 for(z=0;z<3;z++) | 1030 for(z=0;z<3;z++) |
1030 { | 1031 { |
1031 names[z] = (char *)malloc( 100 ); | 1032 names[z] = (char *)malloc( 100 ); |