AmendHub

jcs

/

textview

/

amendments

/

tv_store.c

Amendments on November 5, 2026

TVFindStyle: Avoid GetFontInfo for styles with same font

Each style can have the same font but with different bitmap info,
and in these cases we can avoid GetFontInfo and re-use the existing
width cache.
jcs made amendment 93 20 days ago

Amendments on November 3, 2026


Amendments on October 15, 2026

*: Minor cleanups

jcs made amendment 84 about 1 month ago

Amendments on October 14, 2026

TVGetTextSlab: Cache last used slab, it's probably the same

Avoids walking the slab list every time. Also in TVApplyStyle, check
that we actually need to call Text{Font,Face,Size}.
jcs made amendment 75 about 1 month ago

TVFindStyle: When creating a new slab, factor in bitmap size

If the bitmap size is bigger than TV_STYLE_SLAB_SIZE, we'll create a
slab that gets overflowed.
jcs made amendment 68 about 1 month ago

*: Add text selection helpers

jcs made amendment 67 about 1 month ago

Amendments on September 23, 2026

*: Split up into logical files for storage, layout, and drawing

This file is getting huge and hard to manage. We can always cat
everything together later for a single distributable file.
jcs made amendment 65 2 months ago