#include <vs.h>
◆ current_link
int view_state::current_link |
The index of the focused link in the document.links array, or -1 of none.
◆ current_search_number
int view_state::current_search_number |
◆ did_fragment
unsigned int view_state::did_fragment |
◆ doc_view
◆ ecmascript
◆ ecmascript_fragile
unsigned int view_state::ecmascript_fragile |
If set, we reset the interpreter state the next time we are going to render document attached to this view state.
This means a real document (not just struct document_view, which randomly appears and disappears during gradual rendering) is getting replaced. So set this always when you replace the view_state URI, but also when reloading the document. You also cannot reset the document right away because it might take some time before the first rerendering is done and until then the old document is still hanging there.
◆ form_info
◆ form_info_len
int view_state::form_info_len |
◆ forms
◆ old_current_link
int view_state::old_current_link |
◆ plain
◆ uri
struct uri* view_state::uri |
◆ wrap
unsigned int view_state::wrap |
Horizontal scrolling.
If x
is e.g. 2, then the leftmost two columns of the document have been scrolled out of sight. x
should never be negative.
Vertical scrolling.
If y
is e.g. 1, then the first line of the document has been scrolled out of sight. y
should never be negative.
The documentation for this struct was generated from the following file: