diff options
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 3af989b0b..904773b8b 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -422,13 +422,18 @@ struct t_weechat_plugin void (*bar_item_update) (const char *name); void (*bar_item_remove) (struct t_gui_bar_item *item); struct t_gui_bar *(*bar_search) (const char *name); - struct t_gui_bar *(*bar_new) (struct t_weechat_plugin *plugin, const char *name, - const char *priority, const char *type, const char *condition, - const char *position, const char *filling, const char *size, + struct t_gui_bar *(*bar_new) (struct t_weechat_plugin *plugin, + const char *name, + const char *priority, const char *type, + const char *condition, + const char *position, const char *filling, + const char *size, const char *size_max, const char *color_fg, + const char *color_delim, const char *color_bg, const char *separator, const char *items); - int (*bar_set) (struct t_gui_bar *bar, const char *property, const char *value); + int (*bar_set) (struct t_gui_bar *bar, const char *property, + const char *value); void (*bar_update) (const char *name); void (*bar_remove) (struct t_gui_bar *bar); @@ -853,11 +858,12 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); weechat_plugin->bar_search(__name) #define weechat_bar_new(__name, __priority, __type, __condition, \ __position, __filling, __size, __size_max, \ - __color_fg, __color_bg, __separator, __items) \ + __color_fg, __color_delim, __color_bg, \ + __separator, __items) \ weechat_plugin->bar_new(weechat_plugin, __name, __priority, __type, \ __condition, __position, __filling, __size, \ - __size_max, __color_fg, __color_bg, \ - __separator, __items) + __size_max, __color_fg, __color_delim, \ + __color_bg, __separator, __items) #define weechat_bar_set(__bar, __property, __value) \ weechat_plugin->bar_set(__bar, __property, __value) #define weechat_bar_update(__name) \ |