mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
3f9148d0e3
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4936 dbcabf3a-b0e7-0310-adc4-f8d773084564
18 lines
606 B
C
18 lines
606 B
C
#ifndef IRSSI_STATUSBAR_ITEM_H
|
|
#define IRSSI_STATUSBAR_ITEM_H
|
|
|
|
struct SBAR_ITEM_REC;
|
|
|
|
typedef void (*STATUSBAR_FUNC) (struct SBAR_ITEM_REC *item, int get_size_only);
|
|
|
|
void statusbar_item_register(const char *name, const char *value,
|
|
STATUSBAR_FUNC func);
|
|
void statusbar_item_unregister(const char *name);
|
|
void statusbar_item_set_size(struct SBAR_ITEM_REC *item, int min_size, int max_size);
|
|
void statusbar_item_default_handler(struct SBAR_ITEM_REC *item, int get_size_only,
|
|
const char *str, const char *data,
|
|
int escape_vars);
|
|
void statusbar_items_redraw(const char *name);
|
|
|
|
#endif
|