diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:31:48 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:31:48 +0200 |
commit | 3c95b7e2aed7a405e71d954082ba7d1223a676bf (patch) | |
tree | a42bac2459825ea5c536385f2544e1376ed7a9a2 /src/ui/color.h | |
parent | 3cb3af524117fc91afd5f0f878d9978d27048344 (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.h | 3 |
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) |