From: handa Date: Fri, 3 Feb 2006 06:12:29 +0000 (+0000) Subject: Describe the supported color names. X-Git-Tag: REL-1-3-2~11 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c3a47020bfcc1d95ae74c4e40c272e41bb897e;p=m17n%2Fm17n-lib.git Describe the supported color names. --- 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");