2 Copyright © 2002-2012, 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
, 27, MUIMaster
)
42 *****************************************************************************/
49 if (mri
->mri_Colormap
&& ((pen
& MUIPEN_HIMASK
) == 0x10000))
51 ReleasePen(mri
->mri_Colormap
, MUIPEN(pen
));
56 } /* MUIA_ReleasePen */