home *** CD-ROM | disk | FTP | other *** search
- /* GadTools layout toolkit
- **
- ** Copyright © 1993-1995 by Olaf `Olsen' Barthel
- ** Freely distributable.
- */
-
- #include "gtlayout_global.h"
-
- VOID __regargs
- LTP_AddGadgets(LayoutHandle *handle)
- {
- if(handle)
- {
- #ifdef DO_BOOPSI_KIND
- if(handle -> BOOPSIList)
- {
- AddGList(handle -> Window,(struct Gadget *)handle -> BOOPSIList,(UWORD)-1,(UWORD)-1,NULL);
- RefreshGList((struct Gadget *)handle -> BOOPSIList,handle -> Window,NULL,(UWORD)-1);
- }
- #endif /* DO_BOOPSI_KIND */
-
- AddGList(handle -> Window,handle -> List,(UWORD)-1,(UWORD)-1,NULL);
- RefreshGList(handle -> List,handle -> Window,NULL,(UWORD)-1);
-
- GT_RefreshWindow(handle -> Window,NULL);
-
- LTP_DrawGroup(handle,handle -> TopGroup);
- }
- }
-