From 0c0404ec5151405b1ae4ff5ee9621c66b0101fef Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 23 Oct 2020 10:52:18 -0400 Subject: [PATCH] clarify DFSG for notcurses-demo.1 --- doc/man/man1/notcurses-demo.1.md | 10 +++++----- include/notcurses/notcurses.h | 9 ++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/doc/man/man1/notcurses-demo.1.md b/doc/man/man1/notcurses-demo.1.md index f70982a7b..fcf744a2b 100644 --- a/doc/man/man1/notcurses-demo.1.md +++ b/doc/man/man1/notcurses-demo.1.md @@ -89,11 +89,11 @@ Proper display requires: * A monospaced font, and * Good Unicode support in your libc, font, and terminal emulator. -The Debian version of notcurses leaves out certain multimedia considered -non-free under the Debian Free Software Guidelines. As a result, the -**chunli**, **eagle**, **jungle**, **luigi**, and **view** demos -are unavailable through the Debian package. This applies to any distro -which uses the DFSG source tarball, including Ubuntu and Fedora. +The Debian version of **notcurses-demo** leaves out certain multimedia +considered non-free under the Debian Free Software Guidelines. As a result, the +**chunli**, **eagle**, **jungle**, **luigi**, and **view** demos are +unavailable through the Debian package. This applies to any distro which uses +the DFSG source tarball, including Ubuntu and Fedora. If notcurses is built without multimedia support, the **chunli**, **eagle**, **outro**, **view**, **xray**, and **yield** demos will be partially or wholly diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index e69ea69d3..b88dbcd96 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -51,13 +51,12 @@ struct ncmultiselector; // widget supporting selecting 0..n from n options struct ncreader; // widget supporting free string input ala readline struct ncfadectx; // context for a palette fade operation -// each has the empty cell in addition to the product of its dimensions. i.e. -// NCBLIT_1x1 has two states: empty and full block. NCBLIT_1x1x4 has five -// states: empty, the three shaded blocks, and the full block. +// we never blit full blocks, but instead spaces (more efficient) with the +// background set to the desired foreground. typedef enum { NCBLIT_DEFAULT, // let the ncvisual pick - NCBLIT_1x1, // full block █ - NCBLIT_2x1, // upper half + 1x1 ▀█ + NCBLIT_1x1, // spaces, compatible with ASCII + NCBLIT_2x1, // upper half + 1x1 (space) ▀ NCBLIT_1x1x4, // shaded full blocks ▓▒░█ NCBLIT_2x2, // quadrants + 2x1 ▗▐ ▖▀▟▌▙█ NCBLIT_4x1, // four vertical levels █▆▄▂