Skip to main content

Module style

Module style 

Source
Expand description

How the glyph skin shows what lies on its tiles: the ranges, a flash, the cursor and the threat marks, and the room it leaves at the sides of its area. GlyphStyle::PLAIN is the glyph skin’s own look; another style keeps its tiles, its terrain glyphs and its paint order and changes only these (a one-bit screen’s look: ranges as fills, a flash inverted, flat cursor marks).

Structs§

GlyphStyle
How the glyph skin shows ranges, flashes, the cursor and the threat marks, and how many cells it leaves at the sides of its area.

Enums§

CursorLook
How the cursor shows.
FlashLook
How a tile whose terrain just changed shows while it flashes.
RangeLook
How a range shows on its tiles.
ThreatLook
The colors of the threat arrows and marks.

Constants§

FLASH_SHOWN
How strong a flash must still be to show as FlashLook::Invert: one bit has no fading, so the tile is flipped for the first half of a flash.