Mercurial > dwindows
diff dw.h @ 1667:9dbd2984c1e5
Initial implementation of dw_box_remove() and dw_box_remove_at_index()
for OS/2, Windows and template. Mac and GTK2/3 versions coming soon.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 26 Apr 2012 20:33:39 +0000 |
parents | a76fb5f1a6c8 |
children | cc3aba44943e |
line wrap: on
line diff
--- a/dw.h Tue Apr 24 16:30:11 2012 +0000 +++ b/dw.h Thu Apr 26 20:33:39 2012 +0000 @@ -1463,6 +1463,8 @@ void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); void API dw_box_pack_at_index(HWND box, HWND item, int index, int width, int height, int hsize, int vsize, int pad); +HWND API dw_box_remove_at_index(HWND box, int index); +int API dw_box_remove(HWND handle); #if !defined(__OS2__) && !defined(__WIN32__) && !defined(__EMX__) && !defined(__MAC__) int API dw_int_init(DWResources *res, int newthread, int *argc, char **argv[]); #define dw_init(a, b, c) dw_int_init(&_resources, a, &b, &c)