1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

window_activity() and window_item_activity() are now public. Added them to

perl as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2445 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-15 09:05:45 +00:00 committed by cras
parent 99c3c13f13
commit fcc61f2382
5 changed files with 32 additions and 7 deletions

View File

@ -56,6 +56,7 @@ noinst_HEADERS = \
printtext.h \
themes.h \
translation.h \
window-activity.h \
window-items.h \
windows-layout.h \
fe-windows.h

View File

@ -42,6 +42,7 @@
#include "translation.h"
#include "fe-channels.h"
#include "fe-windows.h"
#include "window-activity.h"
#include "window-items.h"
#include "windows-layout.h"
@ -87,9 +88,6 @@ void fe_server_deinit(void);
void fe_settings_init(void);
void fe_settings_deinit(void);
void window_activity_init(void);
void window_activity_deinit(void);
void window_commands_init(void);
void window_commands_deinit(void);

View File

@ -35,8 +35,8 @@
static char **hide_targets;
static int hide_level, msg_level, hilight_level;
static void window_activity(WINDOW_REC *window, int data_level,
const char *hilight_color)
void window_activity(WINDOW_REC *window, int data_level,
const char *hilight_color)
{
int old_data_level;
@ -52,8 +52,8 @@ static void window_activity(WINDOW_REC *window, int data_level,
GINT_TO_POINTER(old_data_level));
}
static void window_item_activity(WI_ITEM_REC *item, int data_level,
const char *hilight_color)
void window_item_activity(WI_ITEM_REC *item, int data_level,
const char *hilight_color)
{
int old_data_level;

View File

@ -0,0 +1,13 @@
#ifndef __WINDOW_ACTIVITY_H
#define __WINDOW_ACTIVITY_H
void window_activity(WINDOW_REC *window, int data_level,
const char *hilight_color);
void window_item_activity(WI_ITEM_REC *item, int data_level,
const char *hilight_color);
void window_activity_init(void);
void window_activity_deinit(void);
#endif

View File

@ -215,6 +215,12 @@ window_set_level(window, level)
Irssi::UI::Window window
int level
void
window_activity(window, data_level, hilight_color=NULL)
Irssi::UI::Window window
int data_level
char *hilight_color
char *
window_get_active_name(window)
Irssi::UI::Window window
@ -268,3 +274,10 @@ window_item_set_active(item)
Irssi::Windowitem item
CODE:
window_item_set_active(window_item_window(item), item);
void
window_item_activity(item, data_level, hilight_color=NULL)
Irssi::Windowitem item
int data_level
char *hilight_color