added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / muimaster / mui_endrefresh.c
blob5f3dfe00b2f1371a0d33c369eede5fbdad1244fc
1 /*
2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/layers.h>
7 #include <proto/graphics.h>
8 #include <proto/intuition.h>
9 #include <proto/muimaster.h>
11 #include "mui.h"
12 #include "muimaster_intern.h"
14 /*****************************************************************************
16 NAME */
17 AROS_LH2(VOID, MUI_EndRefresh,
19 /* SYNOPSIS */
20 AROS_LHA(struct MUI_RenderInfo *, mri, A0),
21 AROS_LHA(ULONG, flags, D0),
23 /* LOCATION */
24 struct Library *, MUIMasterBase, 29, MUIMaster)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
36 The function itself is a bug ;-) Remove it!
38 SEE ALSO
40 INTERNALS
42 HISTORY
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 struct Window *w = mri->mri_Window;
50 if (w == NULL)
51 return;
53 EndRefresh(w, TRUE);
54 UnlockLayerInfo(&w->WScreen->LayerInfo);
55 mri->mri_Flags &= ~MUIMRI_REFRESHMODE;
56 return;
58 AROS_LIBFUNC_EXIT
60 } /* MUIA_EndRefresh */