Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
BrowserWindow Struct Reference

Contains the specific data for a single window. More...

#include <bw.h>

Public Attributes

void * ui
 Pointer to the UI object this bw belongs to.
 
void * render_layout
 All the rendering is done by this.
 
DlistDocs
 Root document(s).
 
DlistRootClients
 A list of active cache clients in the window (The primary Key)
 
DlistImageClients
 Image Keys for all active connections in the window.
 
int NumImages
 Number of images in the page.
 
int NumImagesGot
 Number of images already loaded.
 
int NumPendingStyleSheets
 Number of not yet arrived style sheets.
 
DlistPageUrls
 List of all Urls requested by this page (and its types)
 
Dlistnav_stack
 The navigation stack (holds indexes to history list)
 
int nav_stack_ptr
 'nav_stack_ptr' refers to what's being displayed
 
DilloUrlnav_expect_url
 When the user clicks a link, the URL isn't pushed directly to history; nav_expect_url holds it until a dw is assigned to it.
 
int redirect_level
 Counter for the number of hops on a redirection.
 
int meta_refresh_status
 Url for zero-delay redirections in the META element.
 
DilloUrlmeta_refresh_url
 
int num_page_bugs
 HTML-bugs detected at parse time.
 
Dstrpage_bugs
 
float zoom
 

Detailed Description

Contains the specific data for a single window.

Definition at line 27 of file bw.h.

Member Data Documentation

◆ Docs

Dlist* BrowserWindow::Docs

Root document(s).

Currently only used by DilloHtml

Definition at line 37 of file bw.h.

Referenced by a_Bw_add_doc(), a_Bw_free(), a_Bw_get_current_doc(), a_Bw_new(), and a_Bw_remove_doc().

◆ ImageClients

Dlist* BrowserWindow::ImageClients

Image Keys for all active connections in the window.

Definition at line 42 of file bw.h.

Referenced by a_Bw_add_client(), a_Bw_cleanup(), a_Bw_free(), a_Bw_new(), a_Bw_remove_client(), a_Bw_stop_clients(), and a_UIcmd_set_buttons_sens().

◆ meta_refresh_status

int BrowserWindow::meta_refresh_status

Url for zero-delay redirections in the META element.

Definition at line 66 of file bw.h.

Referenced by a_Bw_new(), a_Nav_cancel_expect(), a_Nav_redirection0(), and Nav_redirection0_callback().

◆ meta_refresh_url

DilloUrl* BrowserWindow::meta_refresh_url

Definition at line 67 of file bw.h.

Referenced by a_Bw_free(), a_Bw_new(), a_Nav_redirection0(), and Nav_redirection0_callback().

◆ nav_expect_url

DilloUrl* BrowserWindow::nav_expect_url

When the user clicks a link, the URL isn't pushed directly to history; nav_expect_url holds it until a dw is assigned to it.

Only then an entry is made in history and referenced at the top of nav_stack

Definition at line 59 of file bw.h.

Referenced by a_Bw_cancel_expect(), a_Bw_expect(), a_Bw_expected_url(), a_Bw_expecting(), a_Bw_free(), and a_Bw_new().

◆ nav_stack

Dlist* BrowserWindow::nav_stack

◆ nav_stack_ptr

int BrowserWindow::nav_stack_ptr

'nav_stack_ptr' refers to what's being displayed

Definition at line 55 of file bw.h.

Referenced by a_Bw_new(), a_Nav_stack_ptr(), Nav_stack_clean(), and Nav_stack_move_ptr().

◆ num_page_bugs

int BrowserWindow::num_page_bugs

HTML-bugs detected at parse time.

Definition at line 70 of file bw.h.

Referenced by a_Bw_new(), a_UIcmd_view_page_bugs(), DilloHtml::bugMessage(), DilloHtml::initDw(), and DilloHtml::HtmlLinkReceiver::press().

◆ NumImages

int BrowserWindow::NumImages

Number of images in the page.

Definition at line 44 of file bw.h.

Referenced by a_Bw_add_client(), a_Bw_cleanup(), a_Bw_close_client(), and a_Bw_new().

◆ NumImagesGot

int BrowserWindow::NumImagesGot

Number of images already loaded.

Definition at line 46 of file bw.h.

Referenced by a_Bw_add_client(), a_Bw_cleanup(), a_Bw_close_client(), a_Bw_new(), and a_Bw_remove_client().

◆ NumPendingStyleSheets

int BrowserWindow::NumPendingStyleSheets

Number of not yet arrived style sheets.

Definition at line 48 of file bw.h.

Referenced by a_Bw_cleanup(), a_Bw_new(), a_Html_load_stylesheet(), DilloHtml::formNew(), Html_add_input(), and Html_css_load_callback().

◆ page_bugs

Dstr* BrowserWindow::page_bugs

◆ PageUrls

Dlist* BrowserWindow::PageUrls

List of all Urls requested by this page (and its types)

Definition at line 50 of file bw.h.

Referenced by a_Bw_add_url(), a_Bw_cleanup(), a_Bw_free(), a_Bw_get_url_doc(), and a_Bw_new().

◆ redirect_level

int BrowserWindow::redirect_level

Counter for the number of hops on a redirection.

Used to stop redirection loops (accounts for WEB_RootUrl only)

Definition at line 63 of file bw.h.

Referenced by a_Bw_new(), Cache_process_queue(), and Cache_redirect().

◆ render_layout

void* BrowserWindow::render_layout

All the rendering is done by this.

It is defined as a void pointer to avoid C++ in this structure. C++ sources have to include "dw/core.hh" and cast it into an object.

Definition at line 34 of file bw.h.

Referenced by a_UIcmd_close_bw(), a_UIcmd_copy_urlstr(), a_UIcmd_findtext_reset(), a_UIcmd_findtext_search(), a_UIcmd_get_scroll_xy(), a_UIcmd_scroll(), a_UIcmd_set_scroll_by_fragment(), a_UIcmd_set_scroll_xy(), a_Web_dispatch_by_type(), Dicache_image(), and UIcmd_tab_new().

◆ RootClients

Dlist* BrowserWindow::RootClients

A list of active cache clients in the window (The primary Key)

Definition at line 40 of file bw.h.

Referenced by a_Bw_add_client(), a_Bw_cleanup(), a_Bw_close_client(), a_Bw_free(), a_Bw_new(), a_Bw_remove_client(), a_Bw_stop_clients(), and a_UIcmd_set_buttons_sens().

◆ ui

void* BrowserWindow::ui

Pointer to the UI object this bw belongs to.

Definition at line 29 of file bw.h.

Referenced by a_Menu_tools_popup(), a_UIcmd_get_bw_by_widget(), main(), Menu_find_text_cb(), Menu_panel_change_cb(), Menu_popup_cb(), Menu_simple_popup_cb(), and UIcmd_tab_new().

◆ zoom


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