comparison dw.h @ 167:0b3debaa9c6c

Added new container functions, and fixed resource leaks.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 26 Nov 2002 07:10:37 +0000
parents a4ae65d5b301
children 75bf3051235f
comparison
equal deleted inserted replaced
166:fb2987817924 167:0b3debaa9c6c
707 int dw_container_setup(HWND handle, unsigned long *flags, char **titles, int count, int separator); 707 int dw_container_setup(HWND handle, unsigned long *flags, char **titles, int count, int separator);
708 unsigned long dw_icon_load(unsigned long module, unsigned long id); 708 unsigned long dw_icon_load(unsigned long module, unsigned long id);
709 void dw_icon_free(unsigned long handle); 709 void dw_icon_free(unsigned long handle);
710 void *dw_container_alloc(HWND handle, int rowcount); 710 void *dw_container_alloc(HWND handle, int rowcount);
711 void dw_container_set_item(HWND handle, void *pointer, int column, int row, void *data); 711 void dw_container_set_item(HWND handle, void *pointer, int column, int row, void *data);
712 void dw_container_change_item(HWND handle, int column, int row, void *data);
712 void dw_container_set_column_width(HWND handle, int column, int width); 713 void dw_container_set_column_width(HWND handle, int column, int width);
713 void dw_container_set_row_title(void *pointer, int row, char *title); 714 void dw_container_set_row_title(void *pointer, int row, char *title);
714 void dw_container_insert(HWND handle, void *pointer, int rowcount); 715 void dw_container_insert(HWND handle, void *pointer, int rowcount);
715 void dw_container_clear(HWND handle, int redraw); 716 void dw_container_clear(HWND handle, int redraw);
716 void dw_container_delete(HWND handle, int rowcount); 717 void dw_container_delete(HWND handle, int rowcount);
717 void dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight); 718 void dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight);
718 char *dw_container_query_start(HWND handle, unsigned long flags); 719 char *dw_container_query_start(HWND handle, unsigned long flags);
719 char *dw_container_query_next(HWND handle, unsigned long flags); 720 char *dw_container_query_next(HWND handle, unsigned long flags);
720 void dw_container_scroll(HWND handle, int direction, long rows); 721 void dw_container_scroll(HWND handle, int direction, long rows);
721 void dw_container_cursor(HWND handle, char *text); 722 void dw_container_cursor(HWND handle, char *text);
723 void dw_container_delete_row(HWND handle, char *text);
722 void dw_container_optimize(HWND handle); 724 void dw_container_optimize(HWND handle);
723 int dw_filesystem_setup(HWND handle, unsigned long *flags, char **titles, int count); 725 int dw_filesystem_setup(HWND handle, unsigned long *flags, char **titles, int count);
724 void dw_filesystem_set_item(HWND handle, void *pointer, int column, int row, void *data); 726 void dw_filesystem_set_item(HWND handle, void *pointer, int column, int row, void *data);
725 void dw_filesystem_set_file(HWND handle, void *pointer, int row, char *filename, unsigned long icon); 727 void dw_filesystem_set_file(HWND handle, void *pointer, int row, char *filename, unsigned long icon);
726 int dw_screen_width(void); 728 int dw_screen_width(void);