aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-01-20 21:02:22 +0000
committerBoris Faure <billiob@gmail.com>2013-01-20 21:02:22 +0000
commitbe8f3a6abafbcb325e9d3e0c2a70a73833d47d71 (patch)
tree9a91dfc6ca4190e5a93d85c0cd241adb5eb0d418 /src/bin/col.c
parentterminology: add edc color helper (diff)
downloadterminology-be8f3a6abafbcb325e9d3e0c2a70a73833d47d71.tar.gz
terminology: add faint color support from edj
SVN revision: 83022
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index 8c0bb69..e13e04c 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -411,9 +411,14 @@ void colors_term_init(Evas_Object *textgrid, Evas_Object *bg)
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL))
{
+ /* normal */
evas_object_textgrid_palette_set(
- textgrid, EVAS_TEXTGRID_PALETTE_STANDARD, c,
+ textgrid, EVAS_TEXTGRID_PALETTE_STANDARD, n,
r, g, b, a);
+ /* faint */
+ evas_object_textgrid_palette_set(
+ textgrid, EVAS_TEXTGRID_PALETTE_STANDARD, n + 24,
+ r/2, g/2, b/2, a/2);
}
else
{