NetSurf
|
#include <View.h>
#include <Window.h>
#include <NetPositive.h>
Go to the source code of this file.
Data Structures | |
class | NSBaseView |
class | NSBrowserWindow |
Typedefs | |
typedef struct beos_scaffolding | nsbeos_scaffolding |
typedef struct beos_scaffolding nsbeos_scaffolding |
Definition at line 32 of file scaffolding.h.
enum menu_action |
Definition at line 77 of file scaffolding.h.
void gui_window_set_icon | ( | struct gui_window * | _g, |
struct hlcache_handle * | icon | ||
) |
add retrieved favicon to the gui
Definition at line 2347 of file scaffolding.cpp.
References content_get_bitmap(), nsbeos_bitmap_get_primary(), nsbeos_get_scaffold(), NSIconTextControl::SetBitmap(), beos_scaffolding::top_view, and beos_scaffolding::url_bar.
void gui_window_set_status | ( | struct gui_window * | _g, |
const char * | text | ||
) |
Definition at line 2266 of file scaffolding.cpp.
References netsurf_version, nsbeos_get_scaffold(), beos_scaffolding::status_bar, text(), and beos_scaffolding::top_view.
void gui_window_set_title | ( | struct gui_window * | _g, |
const char * | title | ||
) |
Definition at line 2244 of file scaffolding.cpp.
References nsbeos_get_scaffold(), beos_scaffolding::top_level, beos_scaffolding::top_view, and beos_scaffolding::window.
nserror gui_window_set_url | ( | struct gui_window * | _g, |
struct nsurl * | url | ||
) |
Definition at line 2288 of file scaffolding.cpp.
References nsbeos_get_scaffold(), NSERROR_OK, nsurl_access(), beos_scaffolding::status_bar, beos_scaffolding::top_level, beos_scaffolding::top_view, and beos_scaffolding::url_bar.
void gui_window_start_throbber | ( | struct gui_window * | _g | ) |
Definition at line 413 of file theme.c.
References AMI_GAD_TABS, ami_gui2_get_object(), ami_gui2_get_tabs(), ami_gui_get_gui_window_2(), ami_gui_get_tab_node(), ami_gui_get_throbber_frame(), ami_gui_get_window(), ami_gui_set_throbber_frame(), ami_gui_set_throbbing(), ami_throbber_redraw_schedule(), beos_schedule(), nsbeos_get_scaffold(), nsbeos_throb(), nsbeos_window_update_back_forward(), nsoption_bool, beos_scaffolding::reload_button, beos_scaffolding::stop_button, throbber_update_interval, and beos_scaffolding::top_view.
Referenced by gui_window_event().
void gui_window_stop_throbber | ( | struct gui_window * | _g | ) |
Definition at line 432 of file theme.c.
References AMI_GAD_TABS, AMI_GAD_THROBBER, ami_gui2_get_object(), ami_gui2_get_tabs(), ami_gui_free_space_box(), ami_gui_get_gui_window_2(), ami_gui_get_space_box(), ami_gui_get_tab_node(), ami_gui_get_window(), ami_gui_set_throbbing(), ami_theme_throbber_get_height(), ami_theme_throbber_get_width(), ami_throbber_redraw_schedule(), amiga_warn_user(), beos_schedule(), nsbeos_throbber::framedata, IS_CURRENT_GW, nsbeos_get_scaffold(), nsbeos_throb(), nsbeos_window_update_back_forward(), NSERROR_OK, nsoption_bool, beos_scaffolding::reload_button, NSThrobber::SetBitmap(), beos_scaffolding::stop_button, beos_scaffolding::throbber, and beos_scaffolding::top_view.
Referenced by gui_window_event().
void nsbeos_attach_toplevel_view | ( | nsbeos_scaffolding * | g, |
BView * | view | ||
) |
Definition at line 1448 of file scaffolding.cpp.
References NSBrowserWindow::activeWindow, BWindowStack::AddWindow(), B_PANEL_TEXT_COLOR, beos_scaffolding::back_button, beos_scaffolding::forward_button, beos_scaffolding::home_button, beos_scaffolding::menu_bar, nsbeos_scaffolding_update_colors(), NSLOG, beos_scaffolding::popup_menu, recursively_set_menu_items_target(), beos_scaffolding::reload_button, beos_scaffolding::scroll_view, beos_scaffolding::search_bar, beos_scaffolding::status_bar, beos_scaffolding::stop_button, TOOLBAR_HEIGHT, beos_scaffolding::top_view, beos_scaffolding::url_bar, view, and beos_scaffolding::window.
Referenced by gui_window_create().
NSBrowserWindow * nsbeos_find_last_window | ( | void | ) |
Definition at line 1408 of file scaffolding.cpp.
Referenced by NSBrowserApplication::ArgvReceived(), nsbeos_new_scaffolding(), and NSBrowserApplication::RefsReceived().
NSBaseView * nsbeos_get_baseview_for_scaffolding | ( | nsbeos_scaffolding * | scaffold | ) |
Definition at line 1433 of file scaffolding.cpp.
References beos_scaffolding::top_view.
NSBrowserWindow * nsbeos_get_bwindow_for_scaffolding | ( | nsbeos_scaffolding * | scaffold | ) |
Definition at line 1428 of file scaffolding.cpp.
References beos_scaffolding::window.
nsbeos_scaffolding * nsbeos_new_scaffolding | ( | struct gui_window * | toplevel | ) |
Definition at line 1724 of file scaffolding.cpp.
References APPLICATION_QUIT, beos_scaffolding::back_button, beos_scaffolding::being_destroyed, beos_warn_user(), BROWSER_BUFFER_ALL, BROWSER_BUFFER_ANIMS, BROWSER_EXPORT_TEXT, BROWSER_FIND_TEXT, BROWSER_IMAGES_BACKGROUND, BROWSER_IMAGES_FOREGROUND, BROWSER_NAVIGATE_BACK, BROWSER_NAVIGATE_FORWARD, BROWSER_NAVIGATE_HOME, BROWSER_NAVIGATE_RELOAD, BROWSER_NAVIGATE_STOP, BROWSER_NAVIGATE_UP, BROWSER_NEW_WINDOW, BROWSER_OBJECT_INFO, BROWSER_OBJECT_RELOAD, BROWSER_OBJECT_SAVE, BROWSER_OBJECT_SAVE_URL_URL, BROWSER_PAGE_INFO, BROWSER_PRINT, BROWSER_SAVE, BROWSER_SAVE_COMPLETE, BROWSER_SCALE_VIEW, BROWSER_VIEW_SOURCE, BROWSER_WINDOW_COPY, BROWSER_WINDOW_DEFAULT, BROWSER_WINDOW_RESET, BROWSER_WINDOW_STAGGER, CHOICES_SHOW, COOKIES_SHOW, DRAGGER_WIDTH, beos_scaffolding::forward_button, nsbeos_throbber::framedata, beos_scaffolding::fullscreen, HELP_LAUNCH_INTERACTIVE, HELP_OPEN_ABOUT, HELP_OPEN_CONTENTS, HELP_OPEN_GUIDE, HELP_OPEN_INFORMATION, HELP_OPEN_LICENCE, HISTORY_SHOW_GLOBAL, HISTORY_SHOW_LOCAL, beos_scaffolding::home_button, HOTLIST_ADD_URL, HOTLIST_SHOW, make_menu_item(), beos_scaffolding::menu_bar, messages_get(), netsurf_version, NO_ACTION, nsbeos_find_last_window(), NSLOG, nsoption_int, open_windows, beos_scaffolding::popup_menu, beos_scaffolding::reload_button, replicant_done_sem, replicant_view, replicated, beos_scaffolding::search_bar, NSThrobber::SetBitmap(), NSBaseView::SetScaffolding(), beos_scaffolding::status_bar, beos_scaffolding::stop_button, beos_scaffolding::throb_frame, beos_scaffolding::throbber, beos_scaffolding::tool_bar, TOOLBAR_HEIGHT, beos_scaffolding::top_level, beos_scaffolding::top_view, beos_scaffolding::url_bar, and beos_scaffolding::window.
Referenced by gui_window_create().
void nsbeos_scaffolding_destroy | ( | nsbeos_scaffolding * | scaffold | ) |
Definition at line 1362 of file scaffolding.cpp.
References beos_scaffolding::being_destroyed, nsbeos_window_destroy_event(), NSLOG, and beos_scaffolding::window.
Referenced by gui_window_destroy(), and nsbeos_scaffolding_dispatch_event().
void nsbeos_scaffolding_dispatch_event | ( | nsbeos_scaffolding * | scaffold, |
BMessage * | message | ||
) |
Definition at line 851 of file scaffolding.cpp.
References NSBrowserWindow::activeWindow, APPLICATION_QUIT, B_UI_SETTINGS_CHANGED, beos_warn_user(), BROWSER_BUFFER_ALL, BROWSER_BUFFER_ANIMS, BROWSER_EXPORT_DRAW, BROWSER_EXPORT_TEXT, BROWSER_FIND_TEXT, BROWSER_IMAGES_BACKGROUND, BROWSER_IMAGES_FOREGROUND, BROWSER_NAVIGATE_BACK, BROWSER_NAVIGATE_FORWARD, BROWSER_NAVIGATE_HOME, BROWSER_NAVIGATE_RELOAD, BROWSER_NAVIGATE_RELOAD_ALL, BROWSER_NAVIGATE_STOP, BROWSER_NAVIGATE_UP, BROWSER_NAVIGATE_URL, BROWSER_NEW_WINDOW, BROWSER_OBJECT, BROWSER_OBJECT_EXPORT_SPRITE, BROWSER_OBJECT_INFO, BROWSER_OBJECT_RELOAD, BROWSER_OBJECT_SAVE, BROWSER_OBJECT_SAVE_URL_TEXT, BROWSER_OBJECT_SAVE_URL_URI, BROWSER_OBJECT_SAVE_URL_URL, BROWSER_PAGE, BROWSER_PAGE_INFO, BROWSER_PRINT, BROWSER_SAVE, BROWSER_SAVE_COMPLETE, BROWSER_SAVE_URL_TEXT, BROWSER_SAVE_URL_URI, BROWSER_SAVE_URL_URL, BROWSER_SAVE_VIEW, BROWSER_SCALE_VIEW, BROWSER_VIEW_SOURCE, BROWSER_WINDOW_COPY, browser_window_create(), BROWSER_WINDOW_DEFAULT, browser_window_get_content(), browser_window_has_content(), browser_window_history_back(), browser_window_history_back_available(), browser_window_history_forward(), browser_window_history_forward_available(), browser_window_key_press(), browser_window_navigate(), browser_window_reload(), BROWSER_WINDOW_RESET, BROWSER_WINDOW_STAGGER, browser_window_stop(), browser_window::bw, BW_CREATE_CLONE, BW_CREATE_HISTORY, BW_CREATE_TAB, BW_NAVIGATE_HISTORY, BW_NAVIGATE_UNVERIFIABLE, CHOICES_SHOW, content_invalidate_reuse_data(), COOKIES_DELETE, COOKIES_SHOW, beos_scaffolding::current_menu_object, find_resource(), HELP_LAUNCH_INTERACTIVE, HELP_OPEN_ABOUT, HELP_OPEN_CONTENTS, HELP_OPEN_GUIDE, HELP_OPEN_INFORMATION, HELP_OPEN_LICENCE, HISTORY_EXPORT, HISTORY_SHOW_GLOBAL, HISTORY_SHOW_LOCAL, HOTLIST_ADD_URL, HOTLIST_EXPORT, HOTLIST_SHOW, messages_get_errorcode(), NO_ACTION, NS_KEY_COPY_SELECTION, NS_KEY_CUT_SELECTION, NS_KEY_PASTE, NS_KEY_SELECT_ALL, nsbeos_about(), nsbeos_cookies_init(), nsbeos_done, nsbeos_get_browser_for_gui(), nsbeos_gui_view_source(), nsbeos_scaffolding_destroy(), nsbeos_scaffolding_update_colors(), nsbeos_update_system_ui_colors(), nsbeos_window_update_back_forward(), NSERROR_OK, NSLOG, nsoption_charp, nsurl_create(), nsurl_unref(), path(), PATH_MAX, beos_scaffolding::scroll_view, beos_scaffolding::search_bar, search_web_finalise(), search_web_init(), search_web_omni(), SEARCH_WEB_OMNI_SEARCHONLY, text(), TOOLBAR_ADDRESS_BAR, TOOLBAR_BUTTONS, TOOLBAR_EDIT, TOOLBAR_THROBBER, beos_scaffolding::top_level, TREE_CLEAR_SELECTION, TREE_COLLAPSE_ALL, TREE_COLLAPSE_FOLDERS, TREE_COLLAPSE_LINKS, TREE_EXPAND_ALL, TREE_EXPAND_FOLDERS, TREE_EXPAND_LINKS, TREE_NEW_FOLDER, TREE_NEW_LINK, TREE_SELECT_ALL, TREE_SELECTION, TREE_SELECTION_DELETE, TREE_SELECTION_EDIT, TREE_SELECTION_LAUNCH, beos_scaffolding::url_bar, and beos_scaffolding::window.
Referenced by nsbeos_dispatch_event().
bool nsbeos_scaffolding_is_busy | ( | nsbeos_scaffolding * | scaffold | ) |
void nsbeos_scaffolding_popup_menu | ( | nsbeos_scaffolding * | scaffold, |
struct browser_window * | bw, | ||
BPoint | where, | ||
BPoint | screenWhere | ||
) |
Definition at line 2369 of file scaffolding.cpp.
References browser_window_get_features(), beos_scaffolding::current_menu_object, browser_window_features::object, beos_scaffolding::popup_menu, and browser_window::x.
Referenced by nsbeos_dispatch_event().