ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | PAL_SETPOWNER 0x8000 |
#define | MAX_PALCOLORS 65536 |
VOID FASTCALL ColorCorrection | ( | PPALETTE | PalGDI, |
PPALETTEENTRY | PaletteEntry, | ||
ULONG | Colors | ||
) |
Definition at line 348 of file palette.c.
Referenced by PALOBJ_cGetColors().
HPALETTE APIENTRY EngCreatePalette | ( | ULONG | iMode, |
ULONG | cColors, | ||
ULONG * | pulColors, | ||
ULONG | flRed, | ||
ULONG | flGreen, | ||
ULONG | flBlue | ||
) |
Display Driver Interface
Definition at line 375 of file palette.c.
HPALETTE NTAPI GreCreatePaletteInternal | ( | IN LPLOGPALETTE | pLogPal, |
IN UINT | cEntries | ||
) |
Systemcall Interface
Definition at line 448 of file palette.c.
ULONG APIENTRY GreGetSetColorTable | ( | HDC | hdc, |
ULONG | iStartIndex, | ||
ULONG | cEntries, | ||
RGBQUAD * | prgbColors, | ||
BOOL | bSet | ||
) |
Definition at line 990 of file palette.c.
Referenced by NtGdiDoPalette().
Definition at line 66 of file palette.c.
Referenced by DriverEntry().
UINT APIENTRY IntAnimatePalette | ( | HPALETTE | hPal, |
UINT | StartIndex, | ||
UINT | NumEntries, | ||
CONST PPALETTEENTRY | PaletteColors | ||
) |
Definition at line 781 of file palette.c.
Referenced by NtGdiDoPalette().
FIXME: shouldn't dereference pSurface while the PDEV is not locked
Definition at line 731 of file palette.c.
Referenced by IntAnimatePalette(), and UserRealizePalette().
UINT APIENTRY IntGetPaletteEntries | ( | HPALETTE | hpal, |
UINT | StartIndex, | ||
UINT | Entries, | ||
LPPALETTEENTRY | pe | ||
) |
Definition at line 850 of file palette.c.
Referenced by NtGdiDoPalette().
UINT APIENTRY IntGetSystemPaletteEntries | ( | HDC | hDC, |
UINT | StartIndex, | ||
UINT | Entries, | ||
LPPALETTEENTRY | pe | ||
) |
Definition at line 889 of file palette.c.
Referenced by NtGdiDoPalette().
UINT APIENTRY IntSetPaletteEntries | ( | HPALETTE | hpal, |
UINT | Start, | ||
UINT | Entries, | ||
CONST LPPALETTEENTRY | pe | ||
) |
Definition at line 955 of file palette.c.
Referenced by NtGdiDoPalette().
Definition at line 518 of file palette.c.
HPALETTE APIENTRY NtGdiCreatePaletteInternal | ( | IN LPLOGPALETTE | plogpalUser, |
IN UINT | cEntries | ||
) |
Definition at line 477 of file palette.c.
__kernel_entry LONG APIENTRY NtGdiDoPalette | ( | _In_ HGDIOBJ | hObj, |
_In_ WORD | iStart, | ||
_In_ WORD | cEntries, | ||
_When_(bInbound!=0, _In_reads_bytes_(cEntries *sizeof(PALETTEENTRY))) _When_(bInbound==0, _Out_writes_bytes_(cEntries *sizeof(PALETTEENTRY))) LPVOID | pUnsafeEntries, | ||
_In_ DWORD | iFunc, | ||
_In_ BOOL | bInbound | ||
) |
Definition at line 1072 of file palette.c.
Referenced by AnimatePalette(), GetDIBColorTable(), GetPaletteEntries(), GetSystemPaletteEntries(), SetDIBColorTable(), SetPaletteEntries(), Test_NtGdiDoPalette_GdiPalAnimate(), Test_NtGdiDoPalette_GdiPalGetEntries(), Test_NtGdiDoPalette_GdiPalSetEntries(), and Test_NtGdiDoPalette_SetDIBColorTable().
__kernel_entry HPALETTE APIENTRY NtGdiEngCreatePalette | ( | _In_ ULONG | iMode, |
_In_ ULONG | cColors, | ||
_In_ ULONG * | pulColors, | ||
_In_ FLONG | flRed, | ||
_In_ FLONG | flGreen, | ||
_In_ FLONG | flBlue | ||
) |
Definition at line 1267 of file palette.c.
Referenced by START_TEST().
__kernel_entry BOOL APIENTRY NtGdiEngDeletePalette | ( | _In_ HPALETTE | hPal | ) |
BOOL APIENTRY NtGdiGetColorAdjustment | ( | HDC | hdc, |
LPCOLORADJUSTMENT | pca | ||
) |
FIXME: shouldn't dereference pSurface while the PDEV is not locked
Definition at line 662 of file palette.c.
Definition at line 708 of file palette.c.
Definition at line 595 of file palette.c.
BOOL APIENTRY NtGdiSetColorAdjustment | ( | HDC | hdc, |
LPCOLORADJUSTMENT | pca | ||
) |
Definition at line 1171 of file palette.c.
Definition at line 1242 of file palette.c.
Definition at line 1205 of file palette.c.
PPALETTE NTAPI PALETTE_AllocPalette | ( | _In_ ULONG | iMode, |
_In_ ULONG | cColors, | ||
_In_opt_ const PALETTEENTRY * | pEntries, | ||
_In_ FLONG | flRed, | ||
_In_ FLONG | flGreen, | ||
_In_ FLONG | flBlue | ||
) |
Definition at line 135 of file palette.c.
Referenced by CreateDIBPalette(), EngCreatePalette(), FixupDIBBrushPalette(), InitPaletteImpl(), NtGdiDdDDICreateDCFromMemory(), and PALETTE_AllocPalWithHandle().
PPALETTE NTAPI PALETTE_AllocPalWithHandle | ( | _In_ ULONG | iMode, |
_In_ ULONG | cColors, | ||
_In_opt_ const PALETTEENTRY * | pEntries, | ||
_In_ FLONG | flRed, | ||
_In_ FLONG | flGreen, | ||
_In_ FLONG | flBlue | ||
) |
Definition at line 209 of file palette.c.
Referenced by DIB_MapPaletteColors(), GreCreatePaletteInternal(), InitPaletteImpl(), NtGdiCreateHalftonePalette(), and NtGdiCreatePaletteInternal().
INT FASTCALL PALETTE_GetObject | ( | PPALETTE | ppal, |
INT | cbCount, | ||
LPLOGBRUSH | lpBuffer | ||
) |
Definition at line 294 of file palette.c.
Referenced by EXLATEOBJ_vInitialize(), and PALETTE_ulGetNearestIndex().
Definition at line 312 of file palette.c.
Referenced by EXLATEOBJ_vInitialize(), and TranslateCOLORREF().
Definition at line 261 of file palette.c.
Referenced by EXLATEOBJ_vInitialize(), NtGdiGetNearestPaletteIndex(), and PALETTE_ulGetNearestIndex().
VOID FASTCALL PALETTE_ValidateFlags | ( | PALETTEENTRY * | lpPalE, |
INT | size | ||
) |
Definition at line 125 of file palette.c.
Referenced by GreCreatePaletteInternal(), IntAnimatePalette(), and NtGdiCreatePaletteInternal().
Definition at line 322 of file palette.c.
Referenced by EXLATEOBJ_vInitialize().
ULONG APIENTRY PALOBJ_cGetColors | ( | PALOBJ * | PalObj, |
ULONG | Start, | ||
ULONG | Colors, | ||
ULONG * | PaletteEntry | ||
) |
Definition at line 423 of file palette.c.
PPALETTE appalSurfaceDefault[11] |
Definition at line 21 of file palette.c.
Referenced by InitPaletteImpl(), and SURFACE_AllocSurface().
const PALETTEENTRY g_sysPalTemplate[NB_RESERVED_COLORS] |
Definition at line 23 of file palette.c.
Referenced by InitPaletteImpl(), and NtGdiCreateHalftonePalette().
PALETTE gpalBGR |
Definition at line 20 of file palette.c.
Referenced by InitPaletteImpl().
PALETTE gpalRGB |
Definition at line 20 of file palette.c.
Referenced by DIB_16BPP_AlphaBlend(), DIB_XXBPP_AlphaBlend(), EBRUSHOBJ_vSetSolidRGBColor(), EngSetPointerShape(), EXLATEOBJ_vInitialize(), GreGradientFill(), InitPaletteImpl(), IntExtTextOutW(), IntShowMousePointer(), NtGdiExtFloodFill(), NtGdiGetNearestColor(), NtGdiGetPixel(), NtGdiSetPixel(), NtGdiTransparentBlt(), and TranslateCOLORREF().
PALETTE gpalRGB555 |
Definition at line 20 of file palette.c.
Referenced by InitPaletteImpl().
PALETTE gpalRGB565 |
Definition at line 20 of file palette.c.
Referenced by InitPaletteImpl().
PALETTE * gppalDefault |
Definition at line 20 of file palette.c.
Referenced by CreateDIBPalette(), CreateStockObjects(), EBRUSHOBJ_vInit(), and InitPaletteImpl().
PALETTE * gppalMono |
Definition at line 20 of file palette.c.
Referenced by EngSetPointerShape(), EXLATEOBJ_vInitSrcMonoXlate(), EXLATEOBJ_vInitXlateFromDCs(), GreGetSetColorTable(), InitPaletteImpl(), and NtGdiGetNearestColor().
|
static |
Definition at line 18 of file palette.c.
Referenced by NtGdiGetSystemPaletteUse(), and NtGdiSetSystemPaletteUse().