NetSurf
Data Fields
gui_window Struct Reference

first entry in window list More...

#include <gui.h>

Collaboration diagram for gui_window:
[legend]

Data Fields

struct gui_window_2shared
 
int tab
 
struct Node * tab_node
 
int c_x
 
int c_y
 
int c_w
 
int c_h
 
int c_h_temp
 
int scrollx
 current scroll location More...
 
int scrolly
 current scroll location More...
 
struct ami_history_local_windowhw
 
struct List dllist
 
struct hlcache_handlefavicon
 
bool throbbing
 whether currently throbbing More...
 
char * tabtitle
 
APTR deferred_rects_pool
 
struct MinList * deferred_rects
 
struct browser_windowbw
 The 'content' window that is rendered in the gui_window. More...
 
struct ColumnInfo * logcolumns
 
struct List loglist
 
struct s_gui_win_rootroot
 
struct s_browserbrowser
 
MFORM_EXcursor
 
char * status
 
char * title
 
char * url
 
float scale
 
struct bitmapicon
 
struct s_caret caret
 
struct s_search_form_sessionsearch
 
struct gui_windownext
 list for cleanup More...
 
struct gui_windowprev
 Previous in linked list. More...
 
nsbeos_scaffoldingscaffold
 
bool toplevel
 
struct {
   int   pressed_x
 
   int   pressed_y
 
   int   state
 
mouse
 
int caretx
 caret dimension and location for rendering More...
 
int carety
 
int careth
 
gui_pointer_shape current_pointer
 caret shape for rendering More...
 
int last_x
 previous event location More...
 
int last_y
 
NSBrowserFrameViewview
 
int32 pending_resizes
 
BRect pendingRedraw
 
struct fbtk_widget_swindow
 
struct fbtk_widget_sback
 
struct fbtk_widget_sforward
 
struct fbtk_widget_shistory
 
struct fbtk_widget_sstop
 
struct fbtk_widget_sreload
 
struct fbtk_widget_sclose
 
struct fbtk_widget_surl
 
struct fbtk_widget_sstatus
 
struct fbtk_widget_sthrobber
 
struct fbtk_widget_shscroll
 
struct fbtk_widget_svscroll
 
struct fbtk_widget_sbrowser
 
struct fbtk_widget_stoolbar
 
struct fbtk_widget_sbottom_right
 
int throbber_index
 
struct nsgtk_scaffoldingscaffold
 The gtk scaffold object containing menu, buttons, url bar, [tabs], drawing area, etc that may contain one or more gui_windows. More...
 
struct {
   struct gui_window *   gui
 
   gdouble   pressed_x
 
   gdouble   pressed_y
 
   gboolean   waiting
 
   browser_mouse_state   state
 
mouse
 mouse state and events. More...
 
struct nsgtk_toolbartoolbar
 controls toolbar context More...
 
struct gtk_searchsearch
 search toolbar context More...
 
GtkWidget * container
 The top level container (tabBox) More...
 
GtkLayout * layout
 display widget for this page or frame More...
 
GtkWidget * grid
 The container for the layout etc. More...
 
GtkWidget * tab
 handle to the the visible tab More...
 
GtkLabel * status_bar
 statusbar More...
 
GtkPaned * paned
 status pane More...
 
bool paned_sized
 has the status pane had its first size operation yet? More...
 
GdkPixbuf * icon
 The icon this window should have. More...
 
GtkIMContext * input_method
 The input method to use with this window. More...
 
int throb_frame
 current frame of throbber More...
 
struct gui_windowr_next
 
struct gui_windowr_prev
 
uint32_t win_num
 
int width
 width of window More...
 
int height
 height of drawing area More...
 
char * host
 
struct toolbartoolbar
 Toolbar, or 0 if not present. More...
 
struct status_barstatus_bar
 Status bar, or 0 if not present. More...
 
wimp_w window
 RISC OS window handle. More...
 
int old_width
 Width when last opened / os units. More...
 
int old_height
 Height when last opened / os units. More...
 
bool update_extent
 Update the extent on next opening. More...
 
bool active
 Whether the throbber should be active. More...
 
char title [256]
 Buffer for window title. More...
 
int iconise_icon
 ID number of icon when window is iconised. More...
 
char validation [12]
 Validation string for colours. More...
 
struct {
   bool   buffer_animations
 Use screen buffering for animations. More...
 
   bool   buffer_everything
 Use screen buffering for everything. More...
 
option
 Options. More...
 
HWND main
 handle to the actual window More...
 
HWND toolbar
 toolbar handle More...
 
HWND urlbar
 url bar handle More...
 
HWND throbber
 
HWND drawingarea
 throbber handle More...
 
HWND statusbar
 status bar handle More...
 
HWND vscroll
 vertical scrollbar handle More...
 
HWND hscroll
 horizontal scrollbar handle More...
 
HMENU mainmenu
 the main menu More...
 
HMENU rclick
 the right-click menu More...
 
struct nsws_localhistory * localhistory
 handle to local history window More...
 
int toolbuttonc
 number of toolbar buttons More...
 
int toolbuttonsize
 width, height of buttons More...
 
struct browser_mousemouse
 mouse state More...
 
HACCEL acceltable
 accelerators More...
 
HBITMAP hPageInfo [8]
 page info handles More...
 
RECT * fullscreen
 memorize non-fullscreen area More...
 
RECT redraw
 Area needing redraw. More...
 
int requestscrollx
 
int requestscrolly
 scolling requested. More...
 

Detailed Description

first entry in window list

RISC OS data for a browser window.

Definition at line 295 of file gui.c.

Field Documentation

◆ acceltable

HACCEL gui_window::acceltable

accelerators

Definition at line 62 of file window.h.

Referenced by nsws_window_set_accels(), and win32_window_destroy().

◆ active

bool gui_window::active

◆ back

struct fbtk_widget_s* gui_window::back

◆ bottom_right

struct fbtk_widget_s* gui_window::bottom_right

Definition at line 47 of file gui.h.

Referenced by create_normal_browser_window(), and resize_normal_browser_window().

◆ browser [1/2]

struct s_browser* gui_window::browser

◆ browser [2/2]

struct fbtk_widget_s* gui_window::browser

Definition at line 45 of file gui.h.

◆ buffer_animations

bool gui_window::buffer_animations

◆ buffer_everything

bool gui_window::buffer_everything

◆ bw

struct browser_window * gui_window::bw

The 'content' window that is rendered in the gui_window.

the browser_window

Associated platform-independent browser window data.

Definition at line 314 of file gui.c.

Referenced by ami_do_redraw(), ami_do_redraw_tiled(), ami_find_tab_bw(), ami_gui_adjust_scale(), ami_gui_close_tabs(), ami_gui_event(), ami_gui_get_browser_window(), ami_gui_history(), ami_gui_new_blank_tab(), ami_gui_scroll_internal(), ami_gui_scroller_update(), ami_gui_set_scale(), ami_gui_window_update_box_deferred(), ami_handle_appmsg(), ami_switch_tab(), ami_text_box_at_point(), ami_toggletabbar(), ami_update_buttons(), beos_window_invalidate_area(), bw_from_gw(), create_toolbar(), fb_browser_window_click(), fb_browser_window_input(), fb_browser_window_move(), fb_browser_window_redraw(), fb_leftarrow_click(), fb_localhistory_btn_clik(), fb_rightarrow_click(), fb_update_back_forward(), gui_file_gadget_open(), gui_window_create(), gui_window_destroy(), gui_window_drag_start(), gui_window_file_gadget_open(), gui_window_new_content(), gui_window_remove_caret(), gui_window_report_page_info(), gui_window_set_extent(), gui_window_set_scroll(), gui_window_set_title(), gui_window_update_extent(), handle_local_keypress_scale(), HOOKF(), monkey_kill_browser_windows(), monkey_window_handle_click(), monkey_window_handle_destroy(), monkey_window_handle_exec(), monkey_window_handle_go(), monkey_window_handle_redraw(), monkey_window_handle_reload(), monkey_window_handle_stop(), nsbeos_dispatch_event(), nsbeos_get_browser_for_gui(), nsbeos_get_browser_window(), nsbeos_window_destroy_browser(), nsbeos_window_expose_event(), nsbeos_window_keypress_event(), nsbeos_window_resize_event(), nsgtk_get_browser_window(), nsgtk_window_button_press_event(), nsgtk_window_button_release_event(), nsgtk_window_draw_event(), nsgtk_window_focus_out_event(), nsgtk_window_input_method_commit(), nsgtk_window_invalidate_area(), nsgtk_window_keypress_event(), nsgtk_window_motion_notify_event(), nsgtk_window_scroll_event(), nsgtk_window_size_allocate_event(), nsgtk_window_update_all(), nsws_drawable_char(), nsws_drawable_hscroll(), nsws_drawable_keydown(), nsws_drawable_mousedown(), nsws_drawable_mousemove(), nsws_drawable_mouseup(), nsws_drawable_paint(), nsws_drawable_resize(), nsws_drawable_unichar(), nsws_drawable_vscroll(), nsws_update_edit(), nsws_window_command(), nsws_window_drawable_event_callback(), nsws_window_event_callback(), nsws_window_go(), nsws_window_update_forward_back(), print_document(), resize_browser_widget(), ro_gui_dialog_prepare_zoom(), ro_gui_pageinfo_present(), ro_gui_print_apply(), ro_gui_save_drag_end(), ro_gui_selection_drag_end(), ro_gui_url_bar_menu_select(), ro_gui_url_bar_page_info_change(), ro_gui_url_bar_set_content_favicon(), ro_gui_url_complete_click(), ro_gui_window__redraw_rect(), ro_gui_window_action_add_bookmark(), ro_gui_window_action_home(), ro_gui_window_action_local_history(), ro_gui_window_action_new_window(), ro_gui_window_action_page_info(), ro_gui_window_action_remove_bookmark(), ro_gui_window_action_save(), ro_gui_window_action_search(), ro_gui_window_click(), ro_gui_window_close(), ro_gui_window_dataload(), ro_gui_window_default_options(), ro_gui_window_handle_local_keypress(), ro_gui_window_iconise(), ro_gui_window_keypress(), ro_gui_window_launch_url(), ro_gui_window_menu_prepare(), ro_gui_window_menu_select(), ro_gui_window_menu_warning(), ro_gui_window_mouse_at(), ro_gui_window_open(), ro_gui_window_prepare_pageinfo(), ro_gui_window_quit(), ro_gui_window_redraw(), ro_gui_window_scroll(), ro_gui_window_scroll_action(), ro_gui_window_scroll_end(), ro_gui_window_set_scale(), ro_gui_window_toolbar_click(), ro_gui_window_update_toolbar_buttons(), ro_msg_dataload(), toolbar_back_click(), toolbar_forward_click(), toolbar_home_click(), toolbar_reload_click(), toolbar_stop_click(), widget_scroll_x(), widget_scroll_y(), win32_open_new_window(), win32_window_create(), win32_window_page_info_change(), win32_window_set_scroll(), window_close_search(), window_destroy(), and window_open_search().

◆ c_h

int gui_window::c_h

◆ c_h_temp

int gui_window::c_h_temp

Definition at line 304 of file gui.c.

Referenced by ami_do_redraw(), and ami_gui_event().

◆ c_w

int gui_window::c_w

Definition at line 302 of file gui.c.

Referenced by gui_window_place_caret(), and gui_window_remove_caret().

◆ c_x

int gui_window::c_x

Definition at line 300 of file gui.c.

Referenced by ami_redraw_callback(), gui_window_place_caret(), and gui_window_remove_caret().

◆ c_y

int gui_window::c_y

Definition at line 301 of file gui.c.

Referenced by ami_redraw_callback(), gui_window_place_caret(), and gui_window_remove_caret().

◆ caret

struct s_caret gui_window::caret

Definition at line 157 of file gui.h.

Referenced by ro_gui_url_bar_set_url().

◆ careth

int gui_window::careth

◆ caretx

int gui_window::caretx

caret dimension and location for rendering

Definition at line 77 of file window.cpp.

Referenced by gui_window_place_caret(), gui_window_remove_caret(), nsbeos_redraw_caret(), nsbeos_window_expose_event(), nsgtk_redraw_caret(), and nsgtk_window_draw_event().

◆ carety

int gui_window::carety

◆ close

struct fbtk_widget_s* gui_window::close

Definition at line 39 of file gui.h.

Referenced by create_toolbar(), and resize_toolbar().

◆ container

GtkWidget* gui_window::container

The top level container (tabBox)

Definition at line 113 of file window.c.

Referenced by gui_window_create(), gui_window_set_icon(), gui_window_set_title(), next_throbber_frame(), nsgtk_window_destroy_browser(), and throbber().

◆ current_pointer

gui_pointer_shape gui_window::current_pointer

caret shape for rendering

Definition at line 78 of file window.cpp.

Referenced by gui_window_create(), and gui_window_set_pointer().

◆ cursor

MFORM_EX* gui_window::cursor

Definition at line 150 of file gui.h.

Referenced by gui_window_set_pointer(), and handle_event().

◆ deferred_rects

struct MinList* gui_window::deferred_rects

◆ deferred_rects_pool

APTR gui_window::deferred_rects_pool

◆ dllist

struct List gui_window::dllist

Definition at line 308 of file gui.c.

Referenced by ami_gui_get_download_list(), gui_window_create(), and gui_window_destroy().

◆ drawingarea

HWND gui_window::drawingarea

◆ favicon

struct hlcache_handle* gui_window::favicon

◆ forward

struct fbtk_widget_s* gui_window::forward

◆ fullscreen

RECT* gui_window::fullscreen

memorize non-fullscreen area

Definition at line 69 of file window.h.

Referenced by nsws_window_command().

◆ grid

GtkWidget* gui_window::grid

The container for the layout etc.

Definition at line 119 of file window.c.

Referenced by gui_window_create(), and gui_window_update_extent().

◆ gui

struct gui_window* gui_window::gui

◆ height

int gui_window::height

◆ history

struct fbtk_widget_s* gui_window::history

Definition at line 36 of file gui.h.

Referenced by create_toolbar(), and resize_toolbar().

◆ host

char* gui_window::host

Definition at line 37 of file browser.h.

◆ hPageInfo

HBITMAP gui_window::hPageInfo[8]

◆ hscroll [1/2]

struct fbtk_widget_s* gui_window::hscroll

◆ hscroll [2/2]

HWND gui_window::hscroll

horizontal scrollbar handle

Definition at line 48 of file window.h.

◆ hw

struct ami_history_local_window* gui_window::hw

◆ icon [1/2]

struct bitmap* gui_window::icon

◆ icon [2/2]

GdkPixbuf* gui_window::icon

The icon this window should have.

Definition at line 134 of file window.c.

◆ iconise_icon

int gui_window::iconise_icon

ID number of icon when window is iconised.

Definition at line 93 of file gui.h.

Referenced by gui_window_create(), ro_gui_window_iconise(), and ro_gui_window_open().

◆ input_method

GtkIMContext* gui_window::input_method

The input method to use with this window.

Definition at line 137 of file window.c.

Referenced by gui_window_create(), nsgtk_window_button_press_event(), nsgtk_window_keypress_event(), nsgtk_window_keyrelease_event(), and window_destroy().

◆ last_x

int gui_window::last_x

previous event location

Definition at line 79 of file window.cpp.

Referenced by nsbeos_dispatch_event(), nsgtk_window_button_press_event(), and nsgtk_window_motion_notify_event().

◆ last_y

int gui_window::last_y

◆ layout

GtkLayout* gui_window::layout

◆ localhistory

struct nsws_localhistory* gui_window::localhistory

handle to local history window

Definition at line 52 of file window.h.

Referenced by win32_window_create().

◆ logcolumns

struct ColumnInfo* gui_window::logcolumns

◆ loglist

struct List gui_window::loglist

◆ main

HWND gui_window::main

handle to the actual window

Definition at line 41 of file window.h.

Referenced by gui_window_main_window(), nsws_window_command(), nsws_window_urlbar_callback(), win32_window_create(), and win32_window_set_title().

◆ mainmenu

HMENU gui_window::mainmenu

◆  [1/3]

struct { ... } gui_window::mouse

◆  [2/3]

struct { ... } gui_window::mouse

mouse state and events.

◆ mouse [3/3]

struct browser_mouse* gui_window::mouse

mouse state

Definition at line 60 of file window.h.

◆ next

struct gui_window * gui_window::next

◆ old_height

int gui_window::old_height

Height when last opened / os units.

Definition at line 87 of file gui.h.

Referenced by gui_window_create(), gui_window_get_dimensions(), and ro_gui_window_open().

◆ old_width

int gui_window::old_width

Width when last opened / os units.

Definition at line 86 of file gui.h.

Referenced by gui_window_create(), gui_window_get_dimensions(), and ro_gui_window_open().

◆ 

struct { ... } gui_window::option

◆ paned

GtkPaned* gui_window::paned

status pane

Definition at line 128 of file window.c.

Referenced by gui_window_create(), and nsgtk_paned_notify__position().

◆ paned_sized

bool gui_window::paned_sized

has the status pane had its first size operation yet?

Definition at line 131 of file window.c.

Referenced by nsgtk_paned_notify__position().

◆ pending_resizes

int32 gui_window::pending_resizes

◆ pendingRedraw

BRect gui_window::pendingRedraw

Definition at line 91 of file window.cpp.

◆ pressed_x [1/2]

int gui_window::pressed_x

◆ pressed_x [2/2]

gdouble gui_window::pressed_x

Definition at line 91 of file window.c.

◆ pressed_y [1/2]

int gui_window::pressed_y

◆ pressed_y [2/2]

gdouble gui_window::pressed_y

Definition at line 92 of file window.c.

◆ prev

struct gui_window * gui_window::prev

Previous in linked list.

global linked list

Definition at line 159 of file gui.h.

Referenced by gui_window_add_to_window_list(), gui_window_create(), gui_window_destroy(), gui_window_remove_from_window_list(), win32_window_create(), and win32_window_destroy().

◆ r_next

struct gui_window* gui_window::r_next

Definition at line 28 of file browser.h.

◆ r_prev

struct gui_window* gui_window::r_prev

Definition at line 29 of file browser.h.

◆ rclick

HMENU gui_window::rclick

◆ redraw

RECT gui_window::redraw

Area needing redraw.

Definition at line 70 of file window.h.

Referenced by ro_gui_window_redraw(), and win32_window_set_scroll().

◆ reload

struct fbtk_widget_s* gui_window::reload

Definition at line 38 of file gui.h.

Referenced by create_toolbar(), and resize_toolbar().

◆ requestscrollx

int gui_window::requestscrollx

Definition at line 71 of file window.h.

Referenced by nsws_drawable_hscroll(), win32_window_create(), and win32_window_set_scroll().

◆ requestscrolly

int gui_window::requestscrolly

scolling requested.

Definition at line 71 of file window.h.

Referenced by nsws_drawable_vscroll(), win32_window_create(), and win32_window_set_scroll().

◆ root

struct s_gui_win_root* gui_window::root

◆ scaffold [1/2]

nsbeos_scaffolding* gui_window::scaffold

◆ scaffold [2/2]

struct nsgtk_scaffolding* gui_window::scaffold

The gtk scaffold object containing menu, buttons, url bar, [tabs], drawing area, etc that may contain one or more gui_windows.

Definition at line 82 of file window.c.

◆ scale

float gui_window::scale

◆ scrollx

int gui_window::scrollx

◆ scrolly

int gui_window::scrolly

◆ search [1/2]

struct s_search_form_session* gui_window::search

◆ search [2/2]

struct gtk_search* gui_window::search

search toolbar context

Definition at line 110 of file window.c.

◆ shared

struct gui_window_2* gui_window::shared

◆ state [1/2]

int gui_window::state

◆ state [2/2]

browser_mouse_state gui_window::state

Definition at line 94 of file window.c.

◆ status [1/2]

char* gui_window::status

◆ status [2/2]

struct fbtk_widget_s* gui_window::status

Definition at line 41 of file gui.h.

◆ status_bar [1/2]

GtkLabel* gui_window::status_bar

◆ status_bar [2/2]

struct status_bar* gui_window::status_bar

Status bar, or 0 if not present.

Definition at line 82 of file gui.h.

◆ statusbar

HWND gui_window::statusbar

status bar handle

Definition at line 46 of file window.h.

Referenced by nsws_window_resize(), win32_window_create(), and win32_window_set_status().

◆ stop

struct fbtk_widget_s* gui_window::stop

Definition at line 37 of file gui.h.

Referenced by create_toolbar(), gui_window_create(), and resize_toolbar().

◆ tab [1/2]

int gui_window::tab

Definition at line 298 of file gui.c.

Referenced by ami_find_tab_gwin(), ami_gui_close_tabs(), gui_window_create(), and RXHOOKF().

◆ tab [2/2]

GtkWidget* gui_window::tab

handle to the the visible tab

Definition at line 122 of file window.c.

◆ tab_node

struct Node* gui_window::tab_node

◆ tabtitle

char* gui_window::tabtitle

Definition at line 311 of file gui.c.

Referenced by ami_gui_get_tab_title(), gui_window_destroy(), and gui_window_set_title().

◆ throb_frame

int gui_window::throb_frame

current frame of throbber

Definition at line 140 of file window.c.

Referenced by gui_window_set_icon(), next_throbber_frame(), and throbber().

◆ throbber [1/2]

struct fbtk_widget_s* gui_window::throbber

◆ throbber [2/2]

HWND gui_window::throbber

Definition at line 44 of file window.h.

◆ throbber_index

int gui_window::throbber_index

Definition at line 49 of file gui.h.

Referenced by gui_window_start_throbber(), gui_window_stop_throbber(), and throbber_advance().

◆ throbbing

bool gui_window::throbbing

◆ title [1/2]

char* gui_window::title

◆ title [2/2]

char gui_window::title[256]

Buffer for window title.

Definition at line 91 of file gui.h.

◆ toolbar [1/4]

struct fbtk_widget_s* gui_window::toolbar

◆ toolbar [2/4]

struct nsgtk_toolbar* gui_window::toolbar

controls toolbar context

Definition at line 107 of file window.c.

◆ toolbar [3/4]

struct toolbar* gui_window::toolbar

Toolbar, or 0 if not present.

Definition at line 81 of file gui.h.

◆ toolbar [4/4]

HWND gui_window::toolbar

toolbar handle

Definition at line 42 of file window.h.

◆ toolbuttonc

int gui_window::toolbuttonc

number of toolbar buttons

Definition at line 56 of file window.h.

Referenced by nsws_window_create_toolbar(), nsws_window_throbber_create(), nsws_window_toolbar_callback(), and nsws_window_urlbar_create().

◆ toolbuttonsize

int gui_window::toolbuttonsize

◆ toplevel

bool gui_window::toplevel

Definition at line 66 of file window.cpp.

Referenced by gui_window_create(), gui_window_destroy(), and gui_window_new_content().

◆ update_extent

bool gui_window::update_extent

Update the extent on next opening.

Definition at line 88 of file gui.h.

Referenced by gui_window_create(), gui_window_update_extent(), and ro_gui_window_open().

◆ url [1/2]

char* gui_window::url

◆ url [2/2]

struct fbtk_widget_s* gui_window::url

Definition at line 40 of file gui.h.

◆ urlbar

HWND gui_window::urlbar

◆ validation

char gui_window::validation[12]

Validation string for colours.

Definition at line 95 of file gui.h.

◆ view

NSBrowserFrameView* gui_window::view

◆ vscroll [1/2]

struct fbtk_widget_s* gui_window::vscroll

◆ vscroll [2/2]

HWND gui_window::vscroll

vertical scrollbar handle

Definition at line 47 of file window.h.

◆ waiting

gboolean gui_window::waiting

Definition at line 93 of file window.c.

◆ width

int gui_window::width

◆ win_num

uint32_t gui_window::win_num

◆ window [1/2]

struct fbtk_widget_s* gui_window::window

◆ window [2/2]

wimp_w gui_window::window

RISC OS window handle.

Definition at line 84 of file gui.h.


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