diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-23 23:19:22 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-23 23:19:22 +0000 |
commit | c529fe0096eddd0e6e12157cf8486ad9117de900 (patch) | |
tree | 2f39a225641823277f9acea56a95a6081e2eec99 /src/fe-text/mainwindows.c | |
parent | 3e9164df1b9ad8433d3c46745b84c5df5f5207df (diff) | |
download | irssi-c529fe0096eddd0e6e12157cf8486ad9117de900.zip |
Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r-- | src/fe-text/mainwindows.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index e30c0eb4..1ca9cba5 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -411,6 +411,7 @@ static void mainwindows_resize_two(MAIN_WINDOW_REC *grow_win, MAIN_WINDOW_REC *s statusbar_redraw(shrink_win->statusbar); } +/* SYNTAX: WINDOW GROW [<lines>] */ static void cmd_window_grow(const char *data) { MAIN_WINDOW_REC *window, *shrink_win; @@ -439,6 +440,7 @@ static void cmd_window_grow(const char *data) mainwindows_resize_two(window, shrink_win, count); } +/* SYNTAX: WINDOW SHRINK [<lines>] */ static void cmd_window_shrink(const char *data) { MAIN_WINDOW_REC *window, *grow_win; @@ -467,6 +469,7 @@ static void cmd_window_shrink(const char *data) mainwindows_resize_two(grow_win, window, count); } +/* SYNTAX: WINDOW SIZE <lines> */ static void cmd_window_size(const char *data) { char sizestr[MAX_INT_STRLEN]; @@ -485,6 +488,7 @@ static void cmd_window_size(const char *data) cmd_window_grow(sizestr); } +/* SYNTAX: WINDOW BALANCE */ static void cmd_window_balance(void) { GSList *sorted, *tmp; @@ -522,6 +526,7 @@ static void cmd_window_balance(void) statusbar_redraw(NULL); } +/* SYNTAX: WINDOW HIDE [<number>|<name>] */ static void cmd_window_hide(const char *data) { WINDOW_REC *window; @@ -549,6 +554,7 @@ static void cmd_window_hide(const char *data) } } +/* SYNTAX: WINDOW SHOW <number>|<name> */ static void cmd_window_show(const char *data) { WINDOW_REC *window; @@ -569,6 +575,7 @@ static void cmd_window_show(const char *data) window_set_active(window); } +/* SYNTAX: WINDOW UP */ static void cmd_window_up(void) { MAIN_WINDOW_REC *rec; @@ -578,6 +585,7 @@ static void cmd_window_up(void) window_set_active(rec->active); } +/* SYNTAX: WINDOW DOWN */ static void cmd_window_down(void) { MAIN_WINDOW_REC *rec; |