Dillo v3.1.1-111-gd4f56d0d
|
#include "url.h"
Go to the source code of this file.
Classes | |
struct | DilloPrefs |
Macros | |
#define | PREFS_GEOMETRY_DEFAULT_WIDTH 780 |
#define | PREFS_GEOMETRY_DEFAULT_HEIGHT 580 |
#define | PREFS_GEOMETRY_DEFAULT_XPOS -9999 |
#define | PREFS_GEOMETRY_DEFAULT_YPOS -9999 |
#define | PREFS_UI_BUTTON_HIGHLIGHT_COLOR 16 |
#define | PREFS_UI_TAB_ACTIVE_BG_COLOR 17 |
#define | PREFS_UI_TAB_ACTIVE_FG_COLOR 18 |
#define | PREFS_UI_TAB_BG_COLOR 19 |
#define | PREFS_UI_TAB_FG_COLOR 20 |
Enumerations | |
enum | { P_tiny = 0 , P_small , P_medium } |
Panel sizes. More... | |
Functions | |
void | a_Prefs_init (void) |
Sets the default settings. | |
void | a_Prefs_freeall (void) |
memory-deallocation. | |
Variables | |
DilloPrefs | prefs |
Global Data. | |
anonymous enum |
void a_Prefs_freeall | ( | void | ) |
memory-deallocation.
(Call this one at exit time)
Definition at line 143 of file prefs.c.
References a_Url_free(), dFree(), dList_free(), dList_length(), dList_nth_data(), DilloPrefs::font_cursive, DilloPrefs::font_fantasy, DilloPrefs::font_monospace, DilloPrefs::font_sans_serif, DilloPrefs::font_serif, DilloPrefs::home, DilloPrefs::http_language, DilloPrefs::http_proxy, DilloPrefs::http_proxyuser, DilloPrefs::http_referer, DilloPrefs::http_user_agent, DilloPrefs::new_tab_page, DilloPrefs::no_proxy, prefs, DilloPrefs::save_dir, DilloPrefs::search_urls, DilloPrefs::start_page, and DilloPrefs::theme.
Referenced by main().
void a_Prefs_init | ( | void | ) |
Sets the default settings.
Definition at line 39 of file prefs.c.
References a_Url_new(), DilloPrefs::adjust_min_width, DilloPrefs::adjust_table_min_width, DilloPrefs::allow_white_bg, DilloPrefs::bg_color, DilloPrefs::buffered_drawing, DilloPrefs::contrast_visited_color, dList_append(), dList_new(), dStrdup(), DilloPrefs::enterpress_forces_submit, FALSE, DilloPrefs::focus_new_tab, DilloPrefs::font_cursive, DilloPrefs::font_factor, DilloPrefs::font_fantasy, DilloPrefs::font_max_size, DilloPrefs::font_min_size, DilloPrefs::font_monospace, DilloPrefs::font_sans_serif, DilloPrefs::font_serif, DilloPrefs::fullwindow_start, DilloPrefs::height, DilloPrefs::home, DilloPrefs::http_force_https, DilloPrefs::http_language, DilloPrefs::http_max_conns, DilloPrefs::http_persistent_conns, DilloPrefs::http_proxy, DilloPrefs::http_proxyuser, DilloPrefs::http_referer, DilloPrefs::http_strict_transport_security, DilloPrefs::http_user_agent, DilloPrefs::limit_text_width, DilloPrefs::load_background_images, DilloPrefs::load_images, DilloPrefs::load_stylesheets, DilloPrefs::middle_click_drags_page, DilloPrefs::middle_click_opens_new_tab, DilloPrefs::new_tab_page, DilloPrefs::no_proxy, P_medium, DilloPrefs::panel_size, DilloPrefs::parse_embedded_css, DilloPrefs::penalty_em_dash_left, DilloPrefs::penalty_em_dash_right, DilloPrefs::penalty_em_dash_right_2, DilloPrefs::penalty_hyphen, DilloPrefs::penalty_hyphen_2, prefs, PREFS_FONT_CURSIVE, PREFS_FONT_FANTASY, PREFS_FONT_MONOSPACE, PREFS_FONT_SANS_SERIF, PREFS_FONT_SERIF, PREFS_GEOMETRY_DEFAULT_HEIGHT, PREFS_GEOMETRY_DEFAULT_WIDTH, PREFS_GEOMETRY_DEFAULT_XPOS, PREFS_GEOMETRY_DEFAULT_YPOS, PREFS_HOME, PREFS_HTTP_REFERER, PREFS_HTTP_USER_AGENT, PREFS_NEW_TAB_PAGE, PREFS_NO_PROXY, PREFS_SAVE_DIR, PREFS_SEARCH_URL, PREFS_START_PAGE, PREFS_THEME, DilloPrefs::right_click_closes_tab, DilloPrefs::save_dir, DilloPrefs::scroll_page_overlap, DilloPrefs::scroll_step, DilloPrefs::scroll_switches_tabs, DilloPrefs::scroll_switches_tabs_reverse, DilloPrefs::scrollbar_on_left, DilloPrefs::scrollbar_page_mode, DilloPrefs::search_url_idx, DilloPrefs::search_urls, DilloPrefs::show_back, DilloPrefs::show_bookmarks, DilloPrefs::show_clear_url, DilloPrefs::show_extra_warnings, DilloPrefs::show_filemenu, DilloPrefs::show_forw, DilloPrefs::show_help, DilloPrefs::show_home, DilloPrefs::show_msg, DilloPrefs::show_progress_box, DilloPrefs::show_quit_dialog, DilloPrefs::show_reload, DilloPrefs::show_save, DilloPrefs::show_search, DilloPrefs::show_stop, DilloPrefs::show_tools, DilloPrefs::show_tooltip, DilloPrefs::show_ui_tooltip, DilloPrefs::show_url, DilloPrefs::small_icons, DilloPrefs::start_page, DilloPrefs::stretchability_factor, DilloPrefs::theme, TRUE, DilloPrefs::ui_button_highlight_color, DilloPrefs::ui_fg_color, DilloPrefs::ui_main_bg_color, DilloPrefs::ui_selection_color, DilloPrefs::ui_tab_active_bg_color, DilloPrefs::ui_tab_active_fg_color, DilloPrefs::ui_tab_bg_color, DilloPrefs::ui_tab_fg_color, DilloPrefs::ui_tab_height, DilloPrefs::ui_text_bg_color, DilloPrefs::white_bg_replacement, DilloPrefs::width, DilloPrefs::xpos, DilloPrefs::ypos, and DilloPrefs::zoom_factor.
Referenced by main().
|
extern |
Global Data.
Definition at line 33 of file prefs.c.
Referenced by a_Dialog_choice(), a_Dialog_input(), a_Dialog_text_window(), a_Hsts_freeall(), a_Hsts_init(), a_Html_common_image_attrs(), a_Html_image_new(), a_Html_load_stylesheet(), a_Http_init(), a_Http_set_proxy_passwd(), a_Menu_tools_popup(), a_Nav_home(), a_Prefs_freeall(), a_Prefs_init(), a_Tls_mbedtls_freeall(), a_UIcmd_browser_window_new(), a_UIcmd_close_all_bw(), a_UIcmd_home(), a_UIcmd_init(), a_Url_new(), a_Web_dispatch_by_type(), StyleEngine::apply(), Cache_parse_header(), checkPreferredFonts(), DilloHtml::HtmlLinkReceiver::click(), UI::customize(), TipWin::do_show(), UI::handle(), Html_add_textblock(), Html_display_listitem(), Html_parse_common_attrs(), Html_parse_entity(), Html_parse_named_charref(), Html_parse_numeric_charref(), Html_process_space(), Html_tag_close_style(), Html_tag_content_table(), Html_tag_content_table_cell(), Html_tag_open_a(), Html_tag_open_abbr(), Html_tag_open_body(), Html_tag_open_button(), Html_tag_open_dir(), Html_tag_open_font(), Html_tag_open_input(), Html_tag_open_link(), Html_tag_open_sectioning(), Html_tag_open_select(), Html_tag_open_span(), Http_connect_queued_sockets(), Http_get_referer(), Http_make_query_str(), Http_must_use_proxy(), DilloHtml::initDw(), main(), UI::make_filemenu_button(), UI::make_location(), Menu_bgimg_load_toggle_cb(), Menu_embedded_css_cb(), Menu_force_https_cb(), Menu_history_cb(), Menu_imgload_toggle_cb(), Menu_open_url_nt_cb(), Menu_remote_css_cb(), Menu_stylesheet_cb(), parseOption(), setColors(), StyleEngine::setStyle(), StyleEngine::StyleEngine(), tab_btn_cb(), UI::UI(), UIcmd_find_search_str(), UIcmd_make_search_str(), UIcmd_open_url_nbw(), UIcmd_tab_new(), and win_cb().