ELinks 0.18.0
window.c File Reference

Terminal windows stuff. More...

#include "elinks.h"
#include "bfu/dialog.h"
#include "bfu/menu.h"
#include "terminal/event.h"
#include "terminal/tab.h"
#include "terminal/terminal.h"
#include "terminal/window.h"
#include "util/error.h"
#include "util/memory.h"
Include dependency graph for window.c:

Data Structures

struct  ewd
 

Functions

void redraw_windows (enum windows_to_redraw which, struct window *win)
 
void add_window (struct terminal *term, window_handler_T handler, void *data)
 
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)
 
static void empty_window_handler (struct window *win, struct term_event *ev)
 
void add_empty_window (struct terminal *term, void(*fn)(void *), void *data)
 
void assert_window_stacking (struct terminal *term)
 Check that terminal.windows are in the documented order.
 
void set_dlg_window_ptr (struct dialog_data *dlg_data, struct window *window, int x, int y)
 

Detailed Description

Terminal windows stuff.

Function Documentation

◆ add_empty_window()

void add_empty_window ( struct terminal * term,
void(* fn )(void *),
void * data )

◆ add_window()

void add_window ( struct terminal * term,
window_handler_T handler,
void * data )

◆ assert_window_stacking()

void assert_window_stacking ( struct terminal * term)

Check that terminal.windows are in the documented order.


◆ delete_window()

void delete_window ( struct window * win)

◆ delete_window_ev()

void delete_window_ev ( struct window * win,
struct term_event * ev )

◆ empty_window_handler()

static void empty_window_handler ( struct window * win,
struct term_event * ev )
static

◆ get_parent_ptr()

void get_parent_ptr ( struct window * win,
int * x,
int * y )

◆ redraw_windows()

void redraw_windows ( enum windows_to_redraw which,
struct window * win )

◆ set_dlg_window_ptr()

void set_dlg_window_ptr ( struct dialog_data * dlg_data,
struct window * window,
int x,
int y )