diff template/dw.c @ 1679:e19b93a8229b

More comment cleanups.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 27 Apr 2012 16:02:32 +0000
parents 36a090da4cb1
children 535e8c19a13d
line wrap: on
line diff
--- a/template/dw.c	Fri Apr 27 15:49:16 2012 +0000
+++ b/template/dw.c	Fri Apr 27 16:02:32 2012 +0000
@@ -598,7 +598,7 @@
 /*
  * Remove windows (widgets) from the box they are packed into.
  * Parameters:
- *       handle: Window handle of the item to be back.
+ *       handle: Window handle of the packed item to be removed.
  * Returns:
  *       DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure.
  */
@@ -613,7 +613,7 @@
  *       box: Window handle of the box to be removed from.
  *       index: 0 based index of packed items.
  * Returns:
- *       Handle to the removed item on success, 0 on failure.
+ *       Handle to the removed item on success, 0 on failure or padding.
  */
 HWND API dw_box_remove_at_index(HWND box, int index)
 {
@@ -624,7 +624,7 @@
  * Pack windows (widgets) into a box at an arbitrary location.
  * Parameters:
  *       box: Window handle of the box to be packed into.
- *       item: Window handle of the item to be back.
+ *       item: Window handle of the item to pack.
  *       index: 0 based index of packed items. 
  *       width: Width in pixels of the item or -1 to be self determined.
  *       height: Height in pixels of the item or -1 to be self determined.
@@ -641,7 +641,7 @@
  * Pack windows (widgets) into a box from the start (or top).
  * Parameters:
  *       box: Window handle of the box to be packed into.
- *       item: Window handle of the item to be back.
+ *       item: Window handle of the item to pack.
  *       width: Width in pixels of the item or -1 to be self determined.
  *       height: Height in pixels of the item or -1 to be self determined.
  *       hsize: TRUE if the window (widget) should expand horizontally to fill space given.
@@ -660,7 +660,7 @@
  * Pack windows (widgets) into a box from the end (or bottom).
  * Parameters:
  *       box: Window handle of the box to be packed into.
- *       item: Window handle of the item to be back.
+ *       item: Window handle of the item to pack.
  *       width: Width in pixels of the item or -1 to be self determined.
  *       height: Height in pixels of the item or -1 to be self determined.
  *       hsize: TRUE if the window (widget) should expand horizontally to fill space given.