NetSurf
Functions
prefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void nsws_prefs_dialog_init (HINSTANCE hinst, HWND parent)
 open the preferences dialog and respond to user. More...
 
nserror nsws_prefs_save (void)
 Save the users preferances. More...
 

Function Documentation

◆ nsws_prefs_dialog_init()

void nsws_prefs_dialog_init ( HINSTANCE  hinst,
HWND  parent 
)

open the preferences dialog and respond to user.

Definition at line 689 of file prefs.c.

References hinst, IDD_OPTIONS_APPERANCE, IDD_OPTIONS_CONNECTIONS, IDD_OPTIONS_GENERAL, IDR_NETSURF_ICON, nsws_prefs_save(), options_appearance_dialog_handler(), options_connections_dialog_handler(), options_general_dialog_handler(), parent, and win_perror().

Referenced by nsws_window_command().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsws_prefs_save()

nserror nsws_prefs_save ( void  )

Save the users preferances.

Definition at line 673 of file prefs.c.

References G_config_path, netsurf_mkpath(), NSERROR_OK, and nsoption_write().

Referenced by nsws_prefs_dialog_init(), and nsws_window_command().

Here is the call graph for this function:
Here is the caller graph for this function: