comparison mac/dw.m @ 1769:d81bebc5c8cc

Mark and I decided to change dw_box_remove*() to dw_box_unpack*() for consistency. This commit should change all exports and references appropriately.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 06 Jul 2012 10:51:28 +0000
parents 5ffeea4a2a4b
children 2396655d43f1
comparison
equal deleted inserted replaced
1768:227e13044ce3 1769:d81bebc5c8cc
3911 * Parameters: 3911 * Parameters:
3912 * handle: Window handle of the packed item to be removed. 3912 * handle: Window handle of the packed item to be removed.
3913 * Returns: 3913 * Returns:
3914 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. 3914 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure.
3915 */ 3915 */
3916 int API dw_box_remove(HWND handle) 3916 int API dw_box_unpack(HWND handle)
3917 { 3917 {
3918 int _locked_by_me = FALSE; 3918 int _locked_by_me = FALSE;
3919 DW_LOCAL_POOL_IN; 3919 DW_LOCAL_POOL_IN;
3920 DW_MUTEX_LOCK; 3920 DW_MUTEX_LOCK;
3921 id object = handle; 3921 id object = handle;
3997 * box: Window handle of the box to be removed from. 3997 * box: Window handle of the box to be removed from.
3998 * index: 0 based index of packed items. 3998 * index: 0 based index of packed items.
3999 * Returns: 3999 * Returns:
4000 * Handle to the removed item on success, 0 on failure or padding. 4000 * Handle to the removed item on success, 0 on failure or padding.
4001 */ 4001 */
4002 HWND API dw_box_remove_at_index(HWND box, int index) 4002 HWND API dw_box_unpack_at_index(HWND box, int index)
4003 { 4003 {
4004 int _locked_by_me = FALSE; 4004 int _locked_by_me = FALSE;
4005 DW_LOCAL_POOL_IN; 4005 DW_LOCAL_POOL_IN;
4006 DW_MUTEX_LOCK; 4006 DW_MUTEX_LOCK;
4007 DWBox *parent = (DWBox *)box; 4007 DWBox *parent = (DWBox *)box;