2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
6 #include <proto/graphics.h>
7 #include <proto/muimaster.h>
10 #include "muimaster_intern.h"
12 #define MUIPEN_HIMASK 0xFFFF0000 /* ??? */
14 /*****************************************************************************
17 AROS_LH2(VOID
, MUI_ReleasePen
,
20 AROS_LHA(struct MUI_RenderInfo
*, mri
, A0
),
21 AROS_LHA(LONG
, pen
, D0
),
24 struct Library
*, MUIMasterBase
, 23, MUIMaster
)
44 *****************************************************************************/
51 if (mri
->mri_Colormap
&& ((pen
& MUIPEN_HIMASK
) == 0x10000))
53 ReleasePen(mri
->mri_Colormap
, MUIPEN(pen
));
58 } /* MUIA_ReleasePen */