Lines Matching defs:palette
44 HPALETTE palette;
60 /* allocate a bunch of memory for the logical palette (assume 256
61 colors in a Win32 palette */
66 /* set the entries in the logical palette */
70 /* start with a copy of the current system palette */
79 /* fill in an RGBA color palette */
91 palette = CreatePalette(logical);
94 SelectPalette(XHDC, palette, FALSE);
97 return palette;
111 /* KLUDGE: set XHDC to 0 if the palette should NOT be realized after
144 into the device palette when the application is in the
146 palette in the best possible way. */