Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
prefs.h File Reference
#include "url.h"
Include dependency graph for prefs.h:
This graph shows which files directly or indirectly include this file:

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.
 

Macro Definition Documentation

◆ PREFS_GEOMETRY_DEFAULT_HEIGHT

#define PREFS_GEOMETRY_DEFAULT_HEIGHT   580

Definition at line 23 of file prefs.h.

◆ PREFS_GEOMETRY_DEFAULT_WIDTH

#define PREFS_GEOMETRY_DEFAULT_WIDTH   780

Definition at line 22 of file prefs.h.

◆ PREFS_GEOMETRY_DEFAULT_XPOS

#define PREFS_GEOMETRY_DEFAULT_XPOS   -9999

Definition at line 24 of file prefs.h.

◆ PREFS_GEOMETRY_DEFAULT_YPOS

#define PREFS_GEOMETRY_DEFAULT_YPOS   -9999

Definition at line 25 of file prefs.h.

◆ PREFS_UI_BUTTON_HIGHLIGHT_COLOR

#define PREFS_UI_BUTTON_HIGHLIGHT_COLOR   16

Definition at line 28 of file prefs.h.

◆ PREFS_UI_TAB_ACTIVE_BG_COLOR

#define PREFS_UI_TAB_ACTIVE_BG_COLOR   17

Definition at line 29 of file prefs.h.

◆ PREFS_UI_TAB_ACTIVE_FG_COLOR

#define PREFS_UI_TAB_ACTIVE_FG_COLOR   18

Definition at line 30 of file prefs.h.

◆ PREFS_UI_TAB_BG_COLOR

#define PREFS_UI_TAB_BG_COLOR   19

Definition at line 31 of file prefs.h.

◆ PREFS_UI_TAB_FG_COLOR

#define PREFS_UI_TAB_FG_COLOR   20

Definition at line 32 of file prefs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Panel sizes.

Enumerator
P_tiny 
P_small 
P_medium 

Definition at line 35 of file prefs.h.

Function Documentation

◆ a_Prefs_freeall()

◆ a_Prefs_init()

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().

Variable Documentation

◆ prefs

DilloPrefs prefs
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().