summaryrefslogtreecommitdiff
path: root/src/ui/color.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
commite32fd4e7796d6e7c5a4803e45bc230378ec4dd0b (patch)
tree5232331654a977cf4ad1bf06eedc2f8752db6c32 /src/ui/color.h
parent0f0b4250ca460d58edb61cc0dd509ba1980c3272 (diff)
Font update; ANSI color escapes; fixed URL update
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
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 aeb57375..7587e213 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -1,6 +1,6 @@
1#pragma once 1#pragma once
2 2
3#include <the_Foundation/defs.h> 3#include <the_Foundation/range.h>
4 4
5enum iColorId { 5enum iColorId {
6 none_ColorId = -1, 6 none_ColorId = -1,
@@ -48,3 +48,4 @@ struct Impl_Color {
48}; 48};
49 49
50iColor get_Color (int color); 50iColor get_Color (int color);
51iColor ansi_Color (iRangecc escapeSequence, int fallback);