mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f8f1f814a5
commit
d256f71a00
14 changed files with 190 additions and 231 deletions
|
|
@ -7,10 +7,10 @@
|
|||
#include "window-item-def.h"
|
||||
|
||||
enum {
|
||||
NEWDATA_TEXT = 1,
|
||||
NEWDATA_MSG,
|
||||
NEWDATA_HILIGHT,
|
||||
NEWDATA_CUSTOM
|
||||
DATA_LEVEL_NONE = 0,
|
||||
DATA_LEVEL_TEXT,
|
||||
DATA_LEVEL_MSG,
|
||||
DATA_LEVEL_HILIGHT
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -21,6 +21,7 @@ typedef struct {
|
|||
WI_ITEM_REC *active;
|
||||
SERVER_REC *active_server;
|
||||
|
||||
int level; /* message level */
|
||||
GSList *waiting_channels; /* list of "<server tag> <channel>" */
|
||||
|
||||
int lines;
|
||||
|
|
@ -31,9 +32,9 @@ typedef struct {
|
|||
GList *cmdhist, *histpos;
|
||||
int histlines;
|
||||
|
||||
int level;
|
||||
int new_data;
|
||||
int last_color;
|
||||
int data_level; /* current data level */
|
||||
int hilight_color; /* current hilight color */
|
||||
|
||||
time_t last_timestamp; /* When was last timestamp printed */
|
||||
time_t last_line; /* When was last line printed */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue