mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 06:53:00 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
86
win32ss/gdi/eng/xlateobj.h
Normal file
86
win32ss/gdi/eng/xlateobj.h
Normal file
|
@ -0,0 +1,86 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: XLATEOBJ structures and functions
|
||||
* FILE: win32ss/gdi/eng/xlateobj.h
|
||||
* PROGRAMER: Timo Kreuzer
|
||||
*
|
||||
*/
|
||||
|
||||
struct _EXLATEOBJ;
|
||||
|
||||
_Function_class_(FN_XLATE)
|
||||
typedef
|
||||
ULONG
|
||||
(FASTCALL *PFN_XLATE)(
|
||||
_In_ struct _EXLATEOBJ *pexlo,
|
||||
_In_ ULONG iColor);
|
||||
|
||||
typedef struct _EXLATEOBJ
|
||||
{
|
||||
XLATEOBJ xlo;
|
||||
|
||||
PFN_XLATE pfnXlate;
|
||||
|
||||
PPALETTE ppalSrc;
|
||||
PPALETTE ppalDst;
|
||||
PPALETTE ppalDstDc;
|
||||
|
||||
HANDLE hColorTransform;
|
||||
|
||||
union
|
||||
{
|
||||
ULONG aulXlate[6];
|
||||
struct
|
||||
{
|
||||
ULONG ulRedMask;
|
||||
ULONG ulGreenMask;
|
||||
ULONG ulBlueMask;
|
||||
ULONG ulRedShift;
|
||||
ULONG ulGreenShift;
|
||||
ULONG ulBlueShift;
|
||||
};
|
||||
};
|
||||
} EXLATEOBJ, *PEXLATEOBJ;
|
||||
|
||||
extern EXLATEOBJ gexloTrivial;
|
||||
|
||||
_Notnull_
|
||||
FORCEINLINE
|
||||
PFN_XLATE
|
||||
XLATEOBJ_pfnXlate(
|
||||
_In_ XLATEOBJ *pxlo)
|
||||
{
|
||||
return ((PEXLATEOBJ)pxlo)->pfnXlate;
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
EXLATEOBJ_vInitialize(
|
||||
_Out_ PEXLATEOBJ pexlo,
|
||||
_In_opt_ PPALETTE ppalSrc,
|
||||
_In_opt_ PPALETTE ppalDst,
|
||||
_In_ COLORREF crSrcBackColor,
|
||||
_In_ COLORREF crDstBackColor,
|
||||
_In_ COLORREF crDstForeColor);
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
EXLATEOBJ_vInitXlateFromDCs(
|
||||
_Out_ PEXLATEOBJ pexlo,
|
||||
_In_ PDC pdcSrc,
|
||||
_In_ PDC pdcDst);
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
EXLATEOBJ_vInitSrcMonoXlate(
|
||||
_Out_ PEXLATEOBJ pexlo,
|
||||
_In_ PPALETTE ppalDst,
|
||||
_In_ COLORREF crBackgroundClr,
|
||||
_In_ COLORREF crForegroundClr);
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
EXLATEOBJ_vCleanup(
|
||||
_Inout_ PEXLATEOBJ pexlo);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue