2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <proto/intuition.h>
9 #include "gadtools_intern.h"
11 /*********************************************************************
14 #include <proto/gadtools.h>
15 #include <intuition/intuition.h>
17 AROS_LH1(void, GT_BeginRefresh
,
20 AROS_LHA(struct Window
*, win
, A0
),
23 struct Library
*, GadToolsBase
, 15, GadTools
)
26 Refreshes the given window. This function must be used instead
27 of BeginRefresh(), if gadtools-gadgets are used. When you are
28 finished with refreshing the window, you must call GT_EndRefresh().
31 win - window to refresh
36 Due to the internal structure of gadtools, it is not possible
37 to use WFLG_NOCAREREFRESH with windows, which use gadtools-
39 You should simple rendering functions between GT_BeginRefresh() and
40 GT_EndRefresh() only. Do not render or change any gadgets.
43 case IDCMP_REFRESHWINDOW:
44 GT_BeginRefresh(mywin);
45 GT_EndRefresh(mywin, TRUE);
50 GT_EndRefresh(), intuition.library/BeginRefresh()
56 ***************************************************************************/
64 } /* GT_BeginRefresh */