mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
Add public header with interfaces to manage statusbar items, bug #535.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4935 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
227e90e52b
commit
545b0d5de8
3 changed files with 21 additions and 10 deletions
16
src/fe-text/statusbar-item.h
Normal file
16
src/fe-text/statusbar-item.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#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_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
|
||||
Loading…
Add table
Add a link
Reference in a new issue