summaryrefslogtreecommitdiff
path: root/src/roff/troff/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/troff/node.h')
-rw-r--r--src/roff/troff/node.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/src/roff/troff/node.h b/src/roff/troff/node.h
index a58afed1..0d9793c9 100644
--- a/src/roff/troff/node.h
+++ b/src/roff/troff/node.h
@@ -281,9 +281,9 @@ protected:
unsigned char unformat;
public:
hmotion_node(hunits i, node *next = 0)
- : node(next), n(i), was_tab(0), unformat(0) {}
+ : node(next), n(i), was_tab(0), unformat(0) {}
hmotion_node(hunits i, int flag1, int flag2, node *next = 0)
- : node(next), n(i), was_tab(flag1), unformat(flag2) {}
+ : node(next), n(i), was_tab(flag1), unformat(flag2) {}
node *copy();
int reread(int *);
int set_unformat_flag();
@@ -493,6 +493,30 @@ private:
void put(troff_output_file *out, const char *s);
};
+class glyph_color_node : public node {
+ color *c;
+public:
+ glyph_color_node(color *col);
+ node *copy();
+ void tprint(troff_output_file *);
+ hunits width();
+ int same(node *);
+ const char *type();
+ int force_tprint();
+};
+
+class fill_color_node : public node {
+ color *c;
+public:
+ fill_color_node(color *col);
+ node *copy();
+ void tprint(troff_output_file *);
+ hunits width();
+ int same(node *);
+ const char *type();
+ int force_tprint();
+};
+
struct hvpair {
hunits h;
vunits v;