From ecb7f90eea54121a8fc99d9d3c2cd9579b22e32b Mon Sep 17 00:00:00 2001 From: jcid Date: Fri, 26 Sep 2008 16:37:38 +0200 Subject: - reverted all of the style->backgroundColor to current_bg_color - Fixed table_cell_style's backgroundColor when TR specifies one. --- src/html_common.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/html_common.hh') diff --git a/src/html_common.hh b/src/html_common.hh index d7b02b8e..c694123e 100644 --- a/src/html_common.hh +++ b/src/html_common.hh @@ -124,6 +124,10 @@ struct _DilloHtmlState { /* This is used to align list items (especially in enumerated lists) */ dw::core::Widget *ref_list_item; + /* This makes image processing faster than a function + a_Dw_widget_get_background_color. */ + int32_t current_bg_color; + /* This is used for list items etc; if it is set to TRUE, breaks have to be "handed over" (see Html_add_indented and Html_eventually_pop_dw). */ -- cgit v1.2.3