summaryrefslogtreecommitdiff
path: root/src/ui/color.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:31:48 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:31:48 +0200
commit3c95b7e2aed7a405e71d954082ba7d1223a676bf (patch)
treea42bac2459825ea5c536385f2544e1376ed7a9a2 /src/ui/color.h
parent3cb3af524117fc91afd5f0f878d9978d27048344 (diff)
TextBuf: Support for color
Fill glyph backgrounds individually based on current color.
Diffstat (limited to 'src/ui/color.h')
-rw-r--r--src/ui/color.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/color.h b/src/ui/color.h
index a4a7b93e..057ca42d 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -179,7 +179,8 @@ iLocalDef iBool isRegularText_ColorId(enum iColorId d) {
179} 179}
180 180
181#define mask_ColorId 0x7f 181#define mask_ColorId 0x7f
182#define permanent_ColorId 0x80 /* cannot be changed via escapes */ 182#define permanent_ColorId 0x80 /* cannot be changed via escapes */
183#define fillBackground_ColorId 0x100 /* fill background with same color, but alpha 0 */
183 184
184#define asciiBase_ColorEscape 33 185#define asciiBase_ColorEscape 33
185#define asciiExtended_ColorEscape (128 - asciiBase_ColorEscape) 186#define asciiExtended_ColorEscape (128 - asciiBase_ColorEscape)