summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-04-24 15:39:34 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-04-24 15:39:34 +0200
commit16e11ef25ea13eeb77d5ebaf6df83a06bfc09afc (patch)
treea8ddd886435b58d6241ca6360a96c32f0714d0f5 /src/gui/gui-bar.h
parentab6684c60a9f4932c9ed3a53d7bc828dfd0c3536 (diff)
downloadweechat-16e11ef25ea13eeb77d5ebaf6df83a06bfc09afc.zip
Fixed bug with bar auto-sizing in windows
Diffstat (limited to 'src/gui/gui-bar.h')
-rw-r--r--src/gui/gui-bar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-bar.h b/src/gui/gui-bar.h
index c1621544e..32b91cc63 100644
--- a/src/gui/gui-bar.h
+++ b/src/gui/gui-bar.h
@@ -83,7 +83,6 @@ struct t_gui_bar
struct t_config_option *items; /* bar items */
/* internal vars */
- int current_size; /* current bar size (strictly > 0) */
int conditions_count; /* number of conditions */
char **conditions_array; /* exploded bar conditions */
int items_count; /* number of bar items */
@@ -137,6 +136,8 @@ extern void gui_bar_print_log ();
extern struct t_gui_bar_window *gui_bar_window_search_bar (struct t_gui_window *window,
struct t_gui_bar *bar);
+extern int gui_bar_window_get_current_size (struct t_gui_bar_window *bar_window);
+extern void gui_bar_window_set_current_size (struct t_gui_bar *bar, int size);
extern int gui_bar_window_get_size (struct t_gui_bar *bar,
struct t_gui_window *window,
enum t_gui_bar_position position);