| OLD | NEW |
| 1 /* TUI data manipulation routines. | 1 /* TUI data manipulation routines. |
| 2 | 2 |
| 3 Copyright (C) 1998-2004, 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1998-2004, 2006-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 Contributed by Hewlett-Packard Company. | 5 Contributed by Hewlett-Packard Company. |
| 6 | 6 |
| 7 This file is part of GDB. | 7 This file is part of GDB. |
| 8 | 8 |
| 9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
| 10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 304 |
| 305 | 305 |
| 306 /* Mutator for the current layout. */ | 306 /* Mutator for the current layout. */ |
| 307 void | 307 void |
| 308 tui_set_current_layout_to (enum tui_layout_type new_layout) | 308 tui_set_current_layout_to (enum tui_layout_type new_layout) |
| 309 { | 309 { |
| 310 current_layout = new_layout; | 310 current_layout = new_layout; |
| 311 } | 311 } |
| 312 | 312 |
| 313 | 313 |
| 314 /* Set the origin of the window. */ | |
| 315 void | |
| 316 set_gen_win_origin (struct tui_gen_win_info *win_info, | |
| 317 int x, int y) | |
| 318 { | |
| 319 win_info->origin.x = x; | |
| 320 win_info->origin.y = y; | |
| 321 } | |
| 322 | |
| 323 | |
| 324 /***************************** | 314 /***************************** |
| 325 ** OTHER PUBLIC FUNCTIONS | 315 ** OTHER PUBLIC FUNCTIONS |
| 326 *****************************/ | 316 *****************************/ |
| 327 | 317 |
| 328 | 318 |
| 329 /* Answer the next window in the list, cycling back to the top if | 319 /* Answer the next window in the list, cycling back to the top if |
| 330 necessary. */ | 320 necessary. */ |
| 331 struct tui_win_info * | 321 struct tui_win_info * |
| 332 tui_next_win (struct tui_win_info *cur_win) | 322 tui_next_win (struct tui_win_info *cur_win) |
| 333 { | 323 { |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 default: | 927 default: |
| 938 break; | 928 break; |
| 939 } | 929 } |
| 940 } | 930 } |
| 941 } | 931 } |
| 942 } | 932 } |
| 943 if (type != DATA_WIN && type != DATA_ITEM_WIN) | 933 if (type != DATA_WIN && type != DATA_ITEM_WIN) |
| 944 xfree (content[0]); /* Free the element block. */ | 934 xfree (content[0]); /* Free the element block. */ |
| 945 } | 935 } |
| 946 } | 936 } |
| OLD | NEW |