|
ELinks 0.19.1
|
#include "util/lists.h"

Data Structures | |
| struct | window |
| A window in the terminal screen. More... | |
Macros | |
| #define | set_window_ptr(window, x_, y_) |
Typedefs | |
| typedef void | window_handler_T(struct window *, struct term_event *) |
Enumerations | |
| enum | window_type { WINDOW_NORMAL , WINDOW_TAB } |
| enum | windows_to_redraw { REDRAW_IN_FRONT_OF_WINDOW , REDRAW_WINDOW_AND_FRONT , REDRAW_BEHIND_WINDOW } |
| Which windows redraw_windows() should redraw. More... | |
Functions | |
| void | redraw_windows (enum windows_to_redraw, struct window *) |
| void | add_window (struct terminal *, window_handler_T, void *) |
| void | delete_window (struct window *) |
| void | delete_window_ev (struct window *, struct term_event *ev) |
| void | set_dlg_window_ptr (struct dialog_data *dlg_data, struct window *window, int x, int y) |
| void | get_parent_ptr (struct window *, int *, int *) |
| void | add_empty_window (struct terminal *, void(*)(void *), void *) |
| void | assert_window_stacking (struct terminal *) |
| Check that terminal.windows are in the documented order. | |
| #define set_window_ptr | ( | window, | |
| x_, | |||
| y_ ) |
| typedef void window_handler_T(struct window *, struct term_event *) |
| enum window_type |
| Enumerator | |
|---|---|
| WINDOW_NORMAL | Normal windows. Used for things like dialogs. The default type when adding windows with add_window(). |
| WINDOW_TAB | Tab windows. Tabs are a separate session and has separate history, current document and action-in-progress .. basically a separate browsing state. |
| enum windows_to_redraw |
Which windows redraw_windows() should redraw.
| Enumerator | |
|---|---|
| REDRAW_IN_FRONT_OF_WINDOW | Redraw the windows in front of the specified window, but not the specified window itself. |
| REDRAW_WINDOW_AND_FRONT | Redraw the specified window, and the windows in front of it. |
| REDRAW_BEHIND_WINDOW | Redraw the windows behind the specified window, but not the specified window itself. Do that even if terminal.redrawing is TREDRAW_BUSY. |
| void add_empty_window | ( | struct terminal * | term, |
| void(* | fn )(void *), | ||
| void * | data ) |
| void add_window | ( | struct terminal * | term, |
| window_handler_T | handler, | ||
| void * | data ) |
| void assert_window_stacking | ( | struct terminal * | term | ) |
Check that terminal.windows are in the documented order.
| void delete_window | ( | struct window * | win | ) |
| void delete_window_ev | ( | struct window * | win, |
| struct term_event * | ev ) |
| void get_parent_ptr | ( | struct window * | win, |
| int * | x, | ||
| int * | y ) |
| void redraw_windows | ( | enum | windows_to_redraw, |
| struct window * | win ) |
| void set_dlg_window_ptr | ( | struct dialog_data * | dlg_data, |
| struct window * | window, | ||
| int | x, | ||
| int | y ) |