Alchemy
Loading...
Searching...
No Matches

glyph.h File Reference

Font glyphs and their palettes. More...

Go to the source code of this file.

Data Structures

struct  GlyphPalette
 A compact palette shared by a selection's command icons: the slot each icon colour was given, or 255 for none yet, and how many slots are taken. More...
struct  FontGlyph
 A character of the text font: its width and its rows of pixels. More...
struct  GlyphTransfer

Enumerations

enum  { FONT_GLYPH_ROWS = 15 }

Functions

 STATIC_ASSERT (sizeof(struct GlyphPalette)==0x104)
 STATIC_ASSERT (offsetof(struct GlyphPalette, count)==0x100)
 STATIC_ASSERT (offsetof(struct FontGlyph, rows)==2)
 STATIC_ASSERT (sizeof(struct FontGlyph)==(2+FONT_GLYPH_ROWS *2))
 STATIC_ASSERT (sizeof(GlyphTransfer)==0x608)
 STATIC_ASSERT (offsetof(GlyphTransfer, tiles)==0x400)
 STATIC_ASSERT (offsetof(GlyphTransfer, width)==0x600)
 STATIC_ASSERT (offsetof(GlyphTransfer, encoded)==0x604)

Variables

const struct FontGlyph gUiText_Glyphs []

Detailed Description

Font glyphs and their palettes.

Definition in file glyph.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FONT_GLYPH_ROWS 

Definition at line 14 of file glyph.h.

Function Documentation

◆ STATIC_ASSERT() [1/8]

STATIC_ASSERT ( sizeof(struct GlyphPalette) = =0x104)

◆ STATIC_ASSERT() [2/8]

STATIC_ASSERT ( offsetof(struct GlyphPalette, count) = =0x100)

◆ STATIC_ASSERT() [3/8]

STATIC_ASSERT ( offsetof(struct FontGlyph, rows) = =2)

◆ STATIC_ASSERT() [4/8]

STATIC_ASSERT ( sizeof(struct FontGlyph) = =(2+FONT_GLYPH_ROWS *2))

◆ STATIC_ASSERT() [5/8]

STATIC_ASSERT ( sizeof(GlyphTransfer) = =0x608)

◆ STATIC_ASSERT() [6/8]

STATIC_ASSERT ( offsetof(GlyphTransfer, tiles) = =0x400)

◆ STATIC_ASSERT() [7/8]

STATIC_ASSERT ( offsetof(GlyphTransfer, width) = =0x600)

◆ STATIC_ASSERT() [8/8]

STATIC_ASSERT ( offsetof(GlyphTransfer, encoded) = =0x604)

Variable Documentation

◆ gUiText_Glyphs