Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET

hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-17 01:52:43 +00:00 committed by cras
commit c3da7fa8ab
13 changed files with 97 additions and 152 deletions

View file

@ -239,7 +239,7 @@ void perl_window_item_fill_hash(HV *hv, WI_ITEM_REC *item)
hv_store(hv, "createtime", 10, newSViv(item->createtime), 0);
hv_store(hv, "data_level", 8, newSViv(item->data_level), 0);
hv_store(hv, "hilight_color", 10, newSViv(item->hilight_color), 0);
hv_store(hv, "hilight_color", 10, new_pv(item->hilight_color), 0);
}
void perl_channel_fill_hash(HV *hv, CHANNEL_REC *channel)

View file

@ -61,7 +61,7 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
hv_store(hv, "level", 5, newSViv(window->level), 0);
hv_store(hv, "data_level", 8, newSViv(window->data_level), 0);
hv_store(hv, "hilight_color", 10, newSViv(window->hilight_color), 0);
hv_store(hv, "hilight_color", 10, new_pv(window->hilight_color), 0);
hv_store(hv, "last_timestamp", 14, newSViv(window->last_timestamp), 0);
hv_store(hv, "last_line", 9, newSViv(window->last_line), 0);
}