|
NetSurf
|
Go to the source code of this file.
Data Structures | |
| struct | bbox_s |
Typedefs | |
| typedef struct bbox_s | bbox_t |
Functions | |
| void | win32_run (void) |
| Run the win32 message loop with scheduling. More... | |
| void | win32_set_quit (bool q) |
| cause the main message loop to exit More... | |
| nserror | win32_warning (const char *warning, const char *detail) |
| Warn the user of an event. More... | |
| nserror | win32_report_nserror (nserror error, const char *detail) |
| Warn the user of an unexpected nserror. More... | |
| nserror | nsw32_add_dialog (HWND hwndDlg) |
| add a modeless dialog to the special handling list More... | |
| nserror | nsw32_del_dialog (HWND hwndDlg) |
| remove a modeless dialog from the special handling list More... | |
Variables | |
| HINSTANCE | hinst |
| win32 application instance handle. More... | |
| char * | G_config_path |
| path to where all user config files are held. More... | |
| char ** | G_resource_pathv |
| resource search path vector. More... | |
| nserror nsw32_add_dialog | ( | HWND | hwndDlg | ) |
add a modeless dialog to the special handling list
Definition at line 63 of file gui.c.
References dlglist, dialog_list_entry::hwnd, dialog_list_entry::next, NSERROR_NOMEM, and NSERROR_OK.
| nserror nsw32_del_dialog | ( | HWND | hwndDlg | ) |
remove a modeless dialog from the special handling list
Definition at line 79 of file gui.c.
References dlglist, dialog_list_entry::hwnd, dialog_list_entry::next, NSERROR_NOT_FOUND, NSERROR_OK, and NSLOG.
Warn the user of an unexpected nserror.
| [in] | error | The nserror to report |
| [in] | detail | Additional text to be displayed or NULL. |
Definition at line 187 of file gui.c.
References messages_get_errorcode(), and NSERROR_OK.
Referenced by nsws_window_command(), and nsws_window_go().
| void win32_run | ( | void | ) |
Run the win32 message loop with scheduling.
Definition at line 130 of file gui.c.
References handle_dialog_message(), NSERROR_OK, NSLOG, schedule_run(), and win32_quit.
Referenced by WinMain().
| void win32_set_quit | ( | bool | q | ) |
cause the main message loop to exit
Definition at line 124 of file gui.c.
References win32_quit.
Referenced by nsws_window_event_callback().
| nserror win32_warning | ( | const char * | warning, |
| const char * | detail | ||
| ) |
Warn the user of an event.
| [in] | warning | A warning looked up in the message translation table |
| [in] | detail | Additional text to be displayed or NULL. |
Definition at line 173 of file gui.c.
References messages_get(), and NSERROR_OK.
Referenced by gui_download_window_create(), nsw32_about_dialog_init(), nsws_prefs_font_prepare(), nsws_window_command(), and WinMain().
|
extern |
path to where all user config files are held.
Definition at line 51 of file gui.c.
Referenced by nsw32_option_init(), nsws_prefs_save(), and set_defaults().
|
extern |
resource search path vector.
Definition at line 48 of file gui.c.
Referenced by nsw32_get_resource_url(), nsw32_option_init(), and set_defaults().
|
extern |
win32 application instance handle.
This handle is set in the main windows entry point.
Definition at line 45 of file gui.c.
Referenced by nsw32_about_dialog_init(), nsw32_cookies_present(), nsws_download_window_up(), nsws_prefs_dialog_init(), nsws_window_command(), win32_window_create(), and WinMain().