Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1678:896f377a47c7 | 1679:e19b93a8229b |
---|---|
596 } | 596 } |
597 | 597 |
598 /* | 598 /* |
599 * Remove windows (widgets) from the box they are packed into. | 599 * Remove windows (widgets) from the box they are packed into. |
600 * Parameters: | 600 * Parameters: |
601 * handle: Window handle of the item to be back. | 601 * handle: Window handle of the packed item to be removed. |
602 * Returns: | 602 * Returns: |
603 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. | 603 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. |
604 */ | 604 */ |
605 int API dw_box_remove(HWND handle) | 605 int API dw_box_remove(HWND handle) |
606 { | 606 { |
611 * Remove windows (widgets) from a box at an arbitrary location. | 611 * Remove windows (widgets) from a box at an arbitrary location. |
612 * Parameters: | 612 * Parameters: |
613 * box: Window handle of the box to be removed from. | 613 * box: Window handle of the box to be removed from. |
614 * index: 0 based index of packed items. | 614 * index: 0 based index of packed items. |
615 * Returns: | 615 * Returns: |
616 * Handle to the removed item on success, 0 on failure. | 616 * Handle to the removed item on success, 0 on failure or padding. |
617 */ | 617 */ |
618 HWND API dw_box_remove_at_index(HWND box, int index) | 618 HWND API dw_box_remove_at_index(HWND box, int index) |
619 { | 619 { |
620 return 0; | 620 return 0; |
621 } | 621 } |
622 | 622 |
623 /* | 623 /* |
624 * Pack windows (widgets) into a box at an arbitrary location. | 624 * Pack windows (widgets) into a box at an arbitrary location. |
625 * Parameters: | 625 * Parameters: |
626 * box: Window handle of the box to be packed into. | 626 * box: Window handle of the box to be packed into. |
627 * item: Window handle of the item to be back. | 627 * item: Window handle of the item to pack. |
628 * index: 0 based index of packed items. | 628 * index: 0 based index of packed items. |
629 * width: Width in pixels of the item or -1 to be self determined. | 629 * width: Width in pixels of the item or -1 to be self determined. |
630 * height: Height in pixels of the item or -1 to be self determined. | 630 * height: Height in pixels of the item or -1 to be self determined. |
631 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. | 631 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. |
632 * vsize: TRUE if the window (widget) should expand vertically to fill space given. | 632 * vsize: TRUE if the window (widget) should expand vertically to fill space given. |
639 | 639 |
640 /* | 640 /* |
641 * Pack windows (widgets) into a box from the start (or top). | 641 * Pack windows (widgets) into a box from the start (or top). |
642 * Parameters: | 642 * Parameters: |
643 * box: Window handle of the box to be packed into. | 643 * box: Window handle of the box to be packed into. |
644 * item: Window handle of the item to be back. | 644 * item: Window handle of the item to pack. |
645 * width: Width in pixels of the item or -1 to be self determined. | 645 * width: Width in pixels of the item or -1 to be self determined. |
646 * height: Height in pixels of the item or -1 to be self determined. | 646 * height: Height in pixels of the item or -1 to be self determined. |
647 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. | 647 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. |
648 * vsize: TRUE if the window (widget) should expand vertically to fill space given. | 648 * vsize: TRUE if the window (widget) should expand vertically to fill space given. |
649 * pad: Number of pixels of padding around the item. | 649 * pad: Number of pixels of padding around the item. |
658 | 658 |
659 /* | 659 /* |
660 * Pack windows (widgets) into a box from the end (or bottom). | 660 * Pack windows (widgets) into a box from the end (or bottom). |
661 * Parameters: | 661 * Parameters: |
662 * box: Window handle of the box to be packed into. | 662 * box: Window handle of the box to be packed into. |
663 * item: Window handle of the item to be back. | 663 * item: Window handle of the item to pack. |
664 * width: Width in pixels of the item or -1 to be self determined. | 664 * width: Width in pixels of the item or -1 to be self determined. |
665 * height: Height in pixels of the item or -1 to be self determined. | 665 * height: Height in pixels of the item or -1 to be self determined. |
666 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. | 666 * hsize: TRUE if the window (widget) should expand horizontally to fill space given. |
667 * vsize: TRUE if the window (widget) should expand vertically to fill space given. | 667 * vsize: TRUE if the window (widget) should expand vertically to fill space given. |
668 * pad: Number of pixels of padding around the item. | 668 * pad: Number of pixels of padding around the item. |