aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-12-10 11:06:12 +0000
committerDai Sato <satodai@w3m.jp>2006-12-10 11:06:12 +0000
commitab71462c9f987d345df87a9c604c2a4694499f2a (patch)
tree3d32ebc035d6b5fd7d4848429bfa519ea7cc71b1 /fm.h
parent[w3m-dev 04184] automatic uncompression in downloading (diff)
downloadw3m-ab71462c9f987d345df87a9c604c2a4694499f2a.tar.gz
w3m-ab71462c9f987d345df87a9c604c2a4694499f2a.zip
[w3m-dev 04185] display <em> and <i> elements with bold letters.
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/fm.h b/fm.h
index 93c3c27..a97a0c2 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.133 2006/12/10 11:01:24 inu Exp $ */
+/* $Id: fm.h,v 1.134 2006/12/10 11:06:12 inu Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -166,6 +166,9 @@ void bzero(void *, int);
#define PE_ACTIVE 0x80
#define PE_VISITED 0x4000
+/* Extra effect */
+#define PE_EX_ITALIC PE_BOLD
+
#define CharType(c) ((c)&P_CHARTYPE)
#define CharEffect(c) ((c)&(P_EFFECT|PC_SYMBOL))
#define SetCharType(v,c) ((v)=(((v)&~P_CHARTYPE)|(c)))
@@ -536,7 +539,7 @@ typedef struct _DownloadList {
#define FONT_STACK_SIZE 5
-#define FONTSTAT_SIZE 4
+#define FONTSTAT_SIZE 5
#define _INIT_BUFFER_WIDTH (COLS - (showLineNum ? 6 : 1))
#define INIT_BUFFER_WIDTH ((_INIT_BUFFER_WIDTH > 0) ? _INIT_BUFFER_WIDTH : 0)
@@ -584,7 +587,8 @@ struct readbuffer {
#define in_bold fontstat[0]
#define in_under fontstat[1]
-#define in_stand fontstat[2]
+#define in_italic fontstat[2]
+#define in_stand fontstat[3]
#define RB_PRE 0x01
#define RB_SCRIPT 0x02