|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include <precomp.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | NB_RESERVED_COLORS 20 /* number of fixed colors in system palette */ |
Functions | |
| BOOL WINAPI | AnimatePalette (HPALETTE hpal, UINT iStartIndex, UINT cEntries, const PALETTEENTRY *ppe) |
| HPALETTE WINAPI | CreatePalette (CONST LOGPALETTE *plpal) |
| UINT WINAPI | GetPaletteEntries (HPALETTE hpal, UINT iStartIndex, UINT cEntries, LPPALETTEENTRY ppe) |
| UINT WINAPI | SetPaletteEntries (HPALETTE hpal, UINT iStartIndex, UINT cEntries, const PALETTEENTRY *ppe) |
| UINT WINAPI | GetSystemPaletteEntries (HDC hDC, UINT iStartIndex, UINT cEntries, LPPALETTEENTRY ppe) |
| UINT WINAPI | GetDIBColorTable (HDC hDC, UINT iStartIndex, UINT cEntries, RGBQUAD *pColors) |
| UINT WINAPI | RealizePalette (_In_ HDC hdc) |
| BOOL WINAPI | ResizePalette (HPALETTE hPalette, UINT nEntries) |
| UINT WINAPI | SetDIBColorTable (HDC hDC, UINT iStartIndex, UINT cEntries, const RGBQUAD *pColors) |
| BOOL WINAPI | UpdateColors (HDC hdc) |
| BOOL WINAPI | ColorCorrectPalette (HDC hDC, HPALETTE hPalette, DWORD dwFirstEntry, DWORD dwNumOfEntries) |
Variables | |
| static const PALETTEENTRY | sys_pal_template [NB_RESERVED_COLORS] |
| BOOL WINAPI AnimatePalette | ( | HPALETTE | hpal, |
| UINT | iStartIndex, | ||
| UINT | cEntries, | ||
| const PALETTEENTRY * | ppe | ||
| ) |
Definition at line 44 of file palette.c.
| BOOL WINAPI ColorCorrectPalette | ( | HDC | hDC, |
| HPALETTE | hPalette, | ||
| DWORD | dwFirstEntry, | ||
| DWORD | dwNumOfEntries | ||
| ) |
| HPALETTE WINAPI CreatePalette | ( | CONST LOGPALETTE * | plpal | ) |
Definition at line 54 of file palette.c.
Definition at line 123 of file palette.c.
Referenced by BitmapToClipboardDIB(), CreateCompatibleBitmap(), ATL::CImage::GetColorTable(), ImageList_Add(), ImageList_CreateImage(), test_dibsections(), Test_GetDIBColorTable(), and WinGGetDIBColorTable().
| UINT WINAPI GetPaletteEntries | ( | HPALETTE | hpal, |
| UINT | iStartIndex, | ||
| UINT | cEntries, | ||
| LPPALETTEENTRY | ppe | ||
| ) |
Definition at line 64 of file palette.c.
Referenced by check_system_palette_entries(), DECLARE_INTERFACE_(), GdipCreateBitmapFromHBITMAP(), get_bitmap_info(), get_default_color_table(), ImagingFactory_CreateBitmapFromHBITMAP(), METADC_SelectPalette(), MFDRV_SelectPalette(), OleDuplicateData(), OleTranslateColor(), PaletteRGBFromAttrib(), test_GetDIBits(), test_halftone_palette(), test_handles_process(), test_mono_bitmap(), and test_palette_entries().
| UINT WINAPI GetSystemPaletteEntries | ( | HDC | hDC, |
| UINT | iStartIndex, | ||
| UINT | cEntries, | ||
| LPPALETTEENTRY | ppe | ||
| ) |
Definition at line 84 of file palette.c.
Definition at line 138 of file palette.c.
Referenced by DrawDibRealize(), DrawDibSetPalette(), GuiSetActiveScreenBuffer(), GuiSetPalette(), InitBitmap(), OnPaletteChanged(), PlayEnhMetaFileRecord(), RealizeClipboardPalette(), START_TEST(), and UseNicePalette().
Definition at line 172 of file palette.c.
| UINT WINAPI SetPaletteEntries | ( | HPALETTE | hpal, |
| UINT | iStartIndex, | ||
| UINT | cEntries, | ||
| const PALETTEENTRY * | ppe | ||
| ) |
|
static |
Definition at line 9 of file palette.c.
Referenced by GetSystemPaletteEntries().