ELinks 0.18.0
dialog_data Struct Reference

#include <dialog.h>

Collaboration diagram for dialog_data:

Data Fields

struct windowwin
 
struct dialogdlg
 
struct memory_listml
 
struct el_box box
 Size and location of the dialog box, excluding the drop shadow.
 
struct el_box real_box
 Size and location of the widget area and the inner border.
 
int y
 Vertical scrolling of the widget area of the dialog box.
 
int number_of_widgets
 
int selected_widget_id
 
struct term_eventterm_event
 
struct widget_data widgets_data [1]
 

Field Documentation

◆ box

struct el_box dialog_data::box

Size and location of the dialog box, excluding the drop shadow.

This includes the outer border and the frame. The coordinates are relative to the terminal.

◆ dlg

struct dialog* dialog_data::dlg

◆ ml

struct memory_list* dialog_data::ml

◆ number_of_widgets

int dialog_data::number_of_widgets

◆ real_box

struct el_box dialog_data::real_box

Size and location of the widget area and the inner border.

This is the area in which widgets can be drawn. The frame of the dialog box is drawn around this area, and the outer border is around the frame. The coordinates are relative to the terminal.

◆ selected_widget_id

int dialog_data::selected_widget_id

◆ term_event

struct term_event* dialog_data::term_event

◆ widgets_data

struct widget_data dialog_data::widgets_data[1]

◆ win

struct window* dialog_data::win

◆ y

int dialog_data::y

Vertical scrolling of the widget area of the dialog box.

Widget Y screen coordinate = widget_data.box.y - dialog_data.y. Initially, this is 0 and the coordinate system of the widget area matches the coordinate system of the terminal. Horizontal scrolling of dialog boxes has not been implemented.


The documentation for this struct was generated from the following file: