From 25c3a47020bfcc1d95ae74c4e40c272e41bb897e Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 3 Feb 2006 06:12:29 +0000 Subject: [PATCH] Describe the supported color names. --- example/mdump.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/example/mdump.c b/example/mdump.c index 97ee4d4..8f099b6 100644 --- a/example/mdump.c +++ b/example/mdump.c @@ -105,11 +105,13 @@
  • -fg FOREGROUND - Speicify the text color. + Speicify the text color. The supported color names are those of + HTML 4.0 and "#RRGGBB" notation.
  • -bg BACKGROUND - Speicify the background color. If "transparent" is specified, + Speicify the background color. The supported color names are the + same as FOREGROUND, except that if "transparent" is specified, make the background transparent.
  • -r @@ -212,11 +214,13 @@
  • -fg FOREGROUND - ¥Æ¥­¥¹¥È¤Î¿§¤ò»ØÄꤹ¤ë¡£ + ¥Æ¥­¥¹¥È¤Î¿§¤ò»ØÄꤹ¤ë¡£HTML 4.0 ¤Î¿§¤Î̾Á°¤ª¤è¤Ó "#RRGGBB" µ­Ë¡¤ò + ¥µ¥Ý¡¼¥È¡£
  • -bg BACKGROUND - Çطʤ理ò»ØÄꤹ¤ë¡£¤â¤· "transparent" ¤¬»ØÄꤵ¤ì¤¿¤éÇطʤòÆ©ÌÀ¤Ë¤¹¤ë¡£ + Çطʤ理ò»ØÄꤹ¤ë¡£¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¿§¤Î̾Á°¤Ï FOREGROUND Ʊ¤¸¡£ + ¤¿¤À¤·¡¢¤â¤· "transparent" ¤¬»ØÄꤵ¤ì¤¿¤éÇطʤòÆ©ÌÀ¤Ë¤¹¤ë¡£
  • -r @@ -324,7 +328,7 @@ help_exit (char *prog, int exit_code) printf (" %-13s %s", "-r", "Specify that the orientation of the text is right-to-left.\n"); printf (" %-13s %s", "-fg FOREGROUND", - "Specify the text color.\n"); + "Specify the text color (HTML 4.0 color names or \"#RRGGBB\").\n"); printf (" %-13s %s", "-bg BACKGROUND", "Specify the background color (\"transparent\" for transparent)\n"); printf (" %-13s %s", "-q", "Quiet mode. Don't print any messages.\n"); -- 1.7.10.4