Mercurial > dwindows
comparison dw.h @ 1077:34f1d6f5f1c3
Added function dw_box_pack_at_index() on Windows, Mac and OS/2. And an example usage in dwtest.
Only tested on Windows... will be testing on OS/2 and Mac shortly...
then implementing the GTK versions of the function after that.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 28 Jun 2011 04:41:43 +0000 |
parents | 3d117071a50b |
children | cfe7d2b6bc16 |
comparison
equal
deleted
inserted
replaced
1076:dbaf1b11c301 | 1077:34f1d6f5f1c3 |
---|---|
1425 #define INT_TYPEDEFED 1 | 1425 #define INT_TYPEDEFED 1 |
1426 | 1426 |
1427 /* Public function prototypes */ | 1427 /* Public function prototypes */ |
1428 void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); | 1428 void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); |
1429 void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); | 1429 void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); |
1430 void API dw_box_pack_at_index(HWND box, HWND item, int index, int width, int height, int hsize, int vsize, int pad); | |
1430 #if !defined(__OS2__) && !defined(__WIN32__) && !defined(__EMX__) && !defined(__MAC__) | 1431 #if !defined(__OS2__) && !defined(__WIN32__) && !defined(__EMX__) && !defined(__MAC__) |
1431 int API dw_int_init(DWResources *res, int newthread, int *argc, char **argv[]); | 1432 int API dw_int_init(DWResources *res, int newthread, int *argc, char **argv[]); |
1432 #define dw_init(a, b, c) dw_int_init(&_resources, a, &b, &c) | 1433 #define dw_init(a, b, c) dw_int_init(&_resources, a, &b, &c) |
1433 #else | 1434 #else |
1434 int API dw_init(int newthread, int argc, char *argv[]); | 1435 int API dw_init(int newthread, int argc, char *argv[]); |