about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-09-01 12:46:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-09-01 12:46:25 -0700
commitd2f96cb0b6c5f05f36122088d7daa546c283fd9a (patch)
treea5decb34672729c0e096b06d2188983a7263c196 /400.mu
parentdca845877ba2832144819e136ae7c3a0348ccda3 (diff)
downloadmu-d2f96cb0b6c5f05f36122088d7daa546c283fd9a.tar.gz
rendering code-points with combining characters
There's a new example app showing this ability.

Still to go: support for combining characters when rendering text and
streams.
Diffstat (limited to '400.mu')
-rw-r--r--400.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index f0fe08f5..539093b8 100644
--- a/400.mu
+++ b/400.mu
@@ -1,8 +1,10 @@
 # screen
 sig pixel-on-real-screen x: int, y: int, color: int
 sig draw-code-point-on-real-screen c: code-point, x: int, y: int, color: int, background-color: int -> _/eax: int
+sig overlay-code-point-on-real-screen c: code-point, x: int, y: int, color: int, background-color: int -> _/eax: int
 sig draw-code-point-on-screen-array screen-data: (addr array byte), c: code-point, x: int, y: int, color: int, background-color: int, screen-width: int, screen-height: int -> _/eax: int
 sig wide-code-point? c: code-point -> _/eax: boolean
+sig combining-code-point? c: code-point -> _/eax: boolean
 sig cursor-position-on-real-screen -> _/eax: int, _/ecx: int
 sig set-cursor-position-on-real-screen x: int, y: int
 sig draw-cursor-on-real-screen c: code-point