From 83cec60d012284c28eb8e8f23aa83dce8c128af2 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 27 Feb 2013 23:53:13 +0100 Subject: Replaced hinting by javascript hinting. The previous approach to use the dom api to generate the hints was much slower than the javascript solution. I think the javascript way is also a little bit more flexible and easier to implement. But now we have to concern about data sharing between c-layer an the javascript. --- src/main.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index eb6df36..c93cc7e 100644 --- a/src/main.h +++ b/src/main.h @@ -270,10 +270,10 @@ typedef struct { VpColor comp_bg[VP_COMP_LAST]; PangoFontDescription* comp_font[VP_COMP_LAST]; /* hint style */ - char* hint_bg; - char* hint_bg_focus; - char* hint_fg; - char* hint_style; + char* hint_bg; + char* hint_bg_focus; + char* hint_fg; + char* hint_style; /* status bar */ VpColor status_bg[VP_STATUS_LAST]; VpColor status_fg[VP_STATUS_LAST]; @@ -281,8 +281,6 @@ typedef struct { } Style; typedef struct { - GList* list; - gulong focusNum; gulong num; guint mode; guint prefixLength; -- cgit v1.2.3