Page MenuHomeSolus

Update libansilove to 1.1.5
ClosedPublic

Authored by algent on Thu, Nov 7, 9:04 PM.

Details

Summary

Changelog:

  • Move background transparency operations in the output function
  • Allow setting transparent background for retina images
  • Add extern declaration for fonts data arrays
  • Use type size_t for loop and structIndex variables
  • Force xbin_fontsize to 16 when using default 80x25 font
  • Return ANSILOVE_FORMAT_ERROR if xbin_fontsize > 32
  • Omit implicit return in the example program
  • Use a switch statement to set 24-bit background and foreground values
  • Remove superfluous background color allocations in the Binary, PCBoard and XBin loaders
  • Modify the PCBoard loader to use a cursor pointer to parse input
  • Infer font height to 16 in the XBin loader, the default in absence of font data

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

Installed, build and run ansilove and check if it is working as expected.

Diff Detail

Repository
R4755 libansilove
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Thu, Nov 7, 9:04 PM
algent requested review of this revision.Thu, Nov 7, 9:04 PM
algent updated this revision to Diff 18200.
algent edited the test plan for this revision. (Show Details)

Fix syntax

JoshStrobl accepted this revision.Fri, Nov 8, 9:38 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Fri, Nov 8, 9:38 AM
This revision was automatically updated to reflect the committed changes.