src/window/screens_set_text_tile_rect.c
Switching a rectangle of a window's text to another palette.
Included by clear.c and screens_name_entry.c.
Functions
| Name | Description | |
|---|---|---|
void | mnWindowSetTextTileRect (const WINDOW *window, Sint32 x, Sint32 y, Sint32 width, Sint32 height, Uint32 palette) | Like mnWindowSetTextTileBitRect, but ORs all of palette into the palette number of each entry after clearing only the bit in which WINDOW_PALETTE and HIGHLIGHT_PALETTE differ. |
Description
Switching a rectangle of a window's text to another palette.
Functions in detail
mnWindowSetTextTileRect
void mnWindowSetTextTileRect(const WINDOW *window, Sint32 x, Sint32 y, Sint32 width, Sint32 height, Uint32 palette)
Like mnWindowSetTextTileBitRect, but ORs all of palette into the palette
number of each entry after clearing only the bit in which WINDOW_PALETTE and
HIGHLIGHT_PALETTE differ.
References Sint32.
Referenced by mnNameEntryEditMemberName() and scClearEnterPassword().
Definition at line 8 of file screens_set_text_tile_rect.c.