diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-08 00:05:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-08 00:05:16 +0000 |
commit | 6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (patch) | |
tree | eab1dc218819cd320e2b2e4c0493b9b981811248 /gdb/tui/tui-wingeneral.c | |
parent | 6d26006ec89fecd98f08fd1b81916ac70be94402 (diff) | |
download | fsf-binutils-gdb-6ba8e26f707d4fe30bf0ce56f521b7d6509b125b.zip fsf-binutils-gdb-6ba8e26f707d4fe30bf0ce56f521b7d6509b125b.tar.gz fsf-binutils-gdb-6ba8e26f707d4fe30bf0ce56f521b7d6509b125b.tar.bz2 |
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Change variable and function names to lower
case.
* tui/tui-data.c, tui/tui-disasm.c: Ditto.
* tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
* tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
* tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c, tui/tui.c: Ditto.
Diffstat (limited to 'gdb/tui/tui-wingeneral.c')
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 9239a05..1bd9460 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -50,13 +50,13 @@ tui_refresh_win (struct tui_gen_win_info * win_info) for (i = 0; (i < win_info->content_size); i++) { - struct tui_gen_win_info * dataItemWinPtr; + struct tui_gen_win_info * data_item_win_ptr; - dataItemWinPtr = &((tui_win_content) + data_item_win_ptr = &((tui_win_content) win_info->content)[i]->which_element.data_window; - if (dataItemWinPtr != NULL - && dataItemWinPtr->handle != (WINDOW *) NULL) - wrefresh (dataItemWinPtr->handle); + if (data_item_win_ptr != NULL + && data_item_win_ptr->handle != (WINDOW *) NULL) + wrefresh (data_item_win_ptr->handle); } } else if (win_info->type == CMD_WIN) @@ -86,7 +86,7 @@ tui_delete_win (WINDOW * window) /* Draw a border arround the window. */ void -boxWin (struct tui_gen_win_info * win_info, int highlightFlag) +box_win (struct tui_gen_win_info * win_info, int highlight_flag) { if (win_info && win_info->handle) { @@ -94,7 +94,7 @@ boxWin (struct tui_gen_win_info * win_info, int highlightFlag) int attrs; win = win_info->handle; - if (highlightFlag == HILITE) + if (highlight_flag == HILITE) attrs = tui_active_border_attrs; else attrs = tui_border_attrs; @@ -116,7 +116,7 @@ tui_unhighlight_win (struct tui_win_info * win_info) { if (win_info != NULL && win_info->generic.handle != (WINDOW *) NULL) { - boxWin ((struct tui_gen_win_info *) win_info, NO_HILITE); + box_win ((struct tui_gen_win_info *) win_info, NO_HILITE); wrefresh (win_info->generic.handle); tui_set_win_highlight (win_info, 0); } @@ -130,7 +130,7 @@ tui_highlight_win (struct tui_win_info * win_info) && win_info->can_highlight && win_info->generic.handle != (WINDOW *) NULL) { - boxWin ((struct tui_gen_win_info *) win_info, HILITE); + box_win ((struct tui_gen_win_info *) win_info, HILITE); wrefresh (win_info->generic.handle); tui_set_win_highlight (win_info, 1); } @@ -152,7 +152,7 @@ tui_check_and_display_highlight_if_needed (struct tui_win_info * win_info) void -tui_make_window (struct tui_gen_win_info * win_info, int boxIt) +tui_make_window (struct tui_gen_win_info * win_info, int box_it) { WINDOW *handle; @@ -163,8 +163,8 @@ tui_make_window (struct tui_gen_win_info * win_info, int boxIt) win_info->handle = handle; if (handle != (WINDOW *) NULL) { - if (boxIt == BOX_WINDOW) - boxWin (win_info, NO_HILITE); + if (box_it == BOX_WINDOW) + box_win (win_info, NO_HILITE); win_info->is_visible = TRUE; scrollok (handle, TRUE); } @@ -274,9 +274,7 @@ tui_refresh_all (struct tui_win_info * * list) touchwin (locator->handle); tui_refresh_win (locator); } - - return; -} /* refreshAll */ +} /********************************* |