mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
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:
parent
aa4a4d4072
commit
c3da7fa8ab
13 changed files with 97 additions and 152 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue