# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1049102280 0 # Node ID 77105fe19c1fd76512dd04599e2a7e1564c1219e # Parent 49047a8787cbd399504cc14454ca91ee74e3d1c1 Removed obsolete dw_container_set_view() function. diff -r 49047a8787cb -r 77105fe19c1f dw.def --- a/dw.def Mon Mar 31 08:53:46 2003 +0000 +++ b/dw.def Mon Mar 31 09:18:00 2003 +0000 @@ -128,7 +128,6 @@ dw_container_set_row_title @224 dw_container_insert @225 dw_container_clear @226 - dw_container_set_view @227 dw_container_query_start @228 dw_container_query_next @229 dw_container_delete @230 diff -r 49047a8787cb -r 77105fe19c1f dw.h --- a/dw.h Mon Mar 31 08:53:46 2003 +0000 +++ b/dw.h Mon Mar 31 09:18:00 2003 +0000 @@ -129,10 +129,6 @@ #define DW_CFA_HORZSEPARATOR CFA_HORZSEPARATOR #define DW_CFA_SEPARATOR CFA_SEPARATOR -#define DW_CA_DETAILSVIEWTITLES CA_DETAILSVIEWTITLES -#define DW_CV_MINI CV_MINI -#define DW_CV_DETAIL CV_DETAIL - #define DW_CRA_SELECTED CRA_SELECTED #define DW_CRA_CURSORED CRA_CURSORED @@ -289,10 +285,6 @@ #define DW_CFA_HORZSEPARATOR 0 #define DW_CFA_SEPARATOR 0 -#define DW_CA_DETAILSVIEWTITLES 0 -#define DW_CV_MINI 0 -#define DW_CV_DETAIL 0 - #define DW_CRA_SELECTED LVNI_SELECTED #define DW_CRA_CURSORED LVNI_FOCUSED @@ -494,10 +486,6 @@ #define DW_CFA_HORZSEPARATOR (1 << 8) #define DW_CFA_SEPARATOR (1 << 9) -#define DW_CA_DETAILSVIEWTITLES 1 -#define DW_CV_MINI (1 << 1) -#define DW_CV_DETAIL (1 << 2) - #define DW_SLS_READONLY 1 #define DW_SLS_RIBBONSTRIP (1 << 1) @@ -863,7 +851,6 @@ void API dw_container_insert(HWND handle, void *pointer, int rowcount); void API dw_container_clear(HWND handle, int redraw); void API dw_container_delete(HWND handle, int rowcount); -void API dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight); char * API dw_container_query_start(HWND handle, unsigned long flags); char * API dw_container_query_next(HWND handle, unsigned long flags); void API dw_container_scroll(HWND handle, int direction, long rows); diff -r 49047a8787cb -r 77105fe19c1f dwtest.c --- a/dwtest.c Mon Mar 31 08:53:46 2003 +0000 +++ b/dwtest.c Mon Mar 31 09:18:00 2003 +0000 @@ -569,8 +569,6 @@ container = dw_container_new(100); dw_box_pack_start( notebookbox4, container, 500, 200, TRUE, FALSE, 1); - dw_container_set_view(container, DW_CV_DETAIL | DW_CV_MINI | DW_CA_DETAILSVIEWTITLES, 16, 16); - /* and a status area to see whats going on */ container_status = dw_status_text_new("", 0); dw_box_pack_start( notebookbox4, container_status, 100, 20, TRUE, FALSE, 1); diff -r 49047a8787cb -r 77105fe19c1f dww.def --- a/dww.def Mon Mar 31 08:53:46 2003 +0000 +++ b/dww.def Mon Mar 31 09:18:00 2003 +0000 @@ -125,7 +125,6 @@ dw_container_set_row_title @224 dw_container_insert @225 dw_container_clear @226 - dw_container_set_view @227 dw_container_query_start @228 dw_container_query_next @229 dw_container_delete @230 diff -r 49047a8787cb -r 77105fe19c1f gtk/dw.c --- a/gtk/dw.c Mon Mar 31 08:53:46 2003 +0000 +++ b/gtk/dw.c Mon Mar 31 09:18:00 2003 +0000 @@ -4717,15 +4717,6 @@ } /* - * Removes all rows from a container. - * Parameters: - * handle: Handle to the window (widget) to be cleared. - */ -void dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight) -{ -} - -/* * Scrolls container up or down. * Parameters: * handle: Handle to the window (widget) to be scrolled. diff -r 49047a8787cb -r 77105fe19c1f os2/dw.c --- a/os2/dw.c Mon Mar 31 08:53:46 2003 +0000 +++ b/os2/dw.c Mon Mar 31 09:18:00 2003 +0000 @@ -3908,6 +3908,7 @@ WinSetPointerPos(HWND_DESKTOP, x, dw_screen_height() - y); } + /* * Create a container object to be packed. * Parameters: @@ -5884,6 +5885,12 @@ WinSendMsg(handle, CM_SETCNRINFO, MPFROMP(&cnri), MPFROMLONG(CMA_PFIELDINFOLAST | CMA_XVERTSPLITBAR)); } + cnri.flWindowAttr = CV_DETAIL | CV_MINI | CA_DETAILSVIEWTITLES; + cnri.slBitmapOrIcon.cx = 16; + cnri.slBitmapOrIcon.cy = 16; + + WinSendMsg(handle, CM_SETCNRINFO, &cnri, MPFROMLONG(CMA_FLWINDOWATTR | CMA_SLBITMAPORICON)); + free(offStruct); return TRUE; } @@ -6339,22 +6346,6 @@ } /* - * Removes all rows from a container. - * Parameters: - * handle: Handle to the window (widget) to be cleared. - */ -void API dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight) -{ - CNRINFO cnrinfo; - - cnrinfo.flWindowAttr = flags; - cnrinfo.slBitmapOrIcon.cx = iconwidth; - cnrinfo.slBitmapOrIcon.cy = iconheight; - - WinSendMsg(handle, CM_SETCNRINFO, &cnrinfo, MPFROMLONG(CMA_FLWINDOWATTR | CMA_SLBITMAPORICON)); -} - -/* * Starts a new query of a container. * Parameters: * handle: Handle to the window (widget) to be queried. diff -r 49047a8787cb -r 77105fe19c1f win/dw.c --- a/win/dw.c Mon Mar 31 08:53:46 2003 +0000 +++ b/win/dw.c Mon Mar 31 09:18:00 2003 +0000 @@ -6371,15 +6371,6 @@ } /* - * Removes all rows from a container. - * Parameters: - * handle: Handle to the window (widget) to be cleared. - */ -void API dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight) -{ -} - -/* * Starts a new query of a container. * Parameters: * handle: Handle to the window (widget) to be queried.