Dillo v3.1.1-91-g6d5b3ee3
|
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. | |
Dlist * | Docs |
Root document(s). | |
Dlist * | RootClients |
A list of active cache clients in the window (The primary Key) | |
Dlist * | ImageClients |
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. | |
Dlist * | PageUrls |
List of all Urls requested by this page (and its types) | |
Dlist * | nav_stack |
The navigation stack (holds indexes to history list) | |
int | nav_stack_ptr |
'nav_stack_ptr' refers to what's being displayed | |
DilloUrl * | 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. | |
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. | |
DilloUrl * | meta_refresh_url |
int | num_page_bugs |
HTML-bugs detected at parse time. | |
Dstr * | page_bugs |
float | zoom |
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().
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().
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().
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().
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().
Dlist* BrowserWindow::nav_stack |
The navigation stack (holds indexes to history list)
Definition at line 53 of file bw.h.
Referenced by a_Bw_free(), a_Bw_new(), a_Nav_free(), a_Nav_get_top_uidx(), a_Nav_get_uidx(), a_Nav_stack_size(), Nav_get_scroll_pos(), Nav_save_scroll_pos(), Nav_stack_append(), Nav_stack_clean(), and Nav_stack_truncate().
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().
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().
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().
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().
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().
Dstr* BrowserWindow::page_bugs |
Definition at line 71 of file bw.h.
Referenced by a_Bw_free(), a_Bw_new(), a_UIcmd_view_page_bugs(), DilloHtml::bugMessage(), and DilloHtml::initDw().
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().
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().
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().
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().
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().
float BrowserWindow::zoom |
Definition at line 74 of file bw.h.
Referenced by a_Bw_new(), a_UIcmd_browser_window_new(), a_UIcmd_open_url_nt(), a_UIcmd_open_url_nw(), a_UIcmd_zoom_in(), a_UIcmd_zoom_out(), a_UIcmd_zoom_reset(), a_Web_dispatch_by_type(), and DilloHtml::DilloHtml().