NetSurf
Macros | Functions
con_content.c File Reference
#include <stdbool.h>
#include "utils/nsoption.h"
#include "utils/messages.h"
#include "riscos/gui.h"
#include "riscos/wimp.h"
#include "riscos/wimp_event.h"
#include "riscos/configure.h"
#include "riscos/configure/configure.h"
#include "riscos/dialog.h"
Include dependency graph for con_content.c:

Go to the source code of this file.

Macros

#define CONTENT_BLOCK_ADVERTISEMENTS   2
 
#define CONTENT_BLOCK_POPUPS   3
 
#define CONTENT_BLOCK_CSS   4
 
#define CONTENT_TARGET_BLANK   7
 
#define CONTENT_DEFAULT_BUTTON   8
 
#define CONTENT_CANCEL_BUTTON   9
 
#define CONTENT_OK_BUTTON   10
 
#define CONTENT_NO_JAVASCRIPT   11
 

Functions

static void ro_gui_options_content_default (wimp_pointer *pointer)
 
static bool ro_gui_options_content_ok (wimp_w w)
 
bool ro_gui_options_content_initialise (wimp_w w)
 

Macro Definition Documentation

◆ CONTENT_BLOCK_ADVERTISEMENTS

#define CONTENT_BLOCK_ADVERTISEMENTS   2

Definition at line 31 of file con_content.c.

◆ CONTENT_BLOCK_CSS

#define CONTENT_BLOCK_CSS   4

Definition at line 33 of file con_content.c.

◆ CONTENT_BLOCK_POPUPS

#define CONTENT_BLOCK_POPUPS   3

Definition at line 32 of file con_content.c.

◆ CONTENT_CANCEL_BUTTON

#define CONTENT_CANCEL_BUTTON   9

Definition at line 36 of file con_content.c.

◆ CONTENT_DEFAULT_BUTTON

#define CONTENT_DEFAULT_BUTTON   8

Definition at line 35 of file con_content.c.

◆ CONTENT_NO_JAVASCRIPT

#define CONTENT_NO_JAVASCRIPT   11

Definition at line 38 of file con_content.c.

◆ CONTENT_OK_BUTTON

#define CONTENT_OK_BUTTON   10

Definition at line 37 of file con_content.c.

◆ CONTENT_TARGET_BLANK

#define CONTENT_TARGET_BLANK   7

Definition at line 34 of file con_content.c.

Function Documentation

◆ ro_gui_options_content_default()

void ro_gui_options_content_default ( wimp_pointer *  pointer)
static

Definition at line 74 of file con_content.c.

References CONTENT_BLOCK_ADVERTISEMENTS, CONTENT_BLOCK_CSS, CONTENT_BLOCK_POPUPS, CONTENT_NO_JAVASCRIPT, CONTENT_TARGET_BLANK, and ro_gui_set_icon_selected_state().

Referenced by ro_gui_options_content_initialise().

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

◆ ro_gui_options_content_initialise()

bool ro_gui_options_content_initialise ( wimp_w  w)

Definition at line 43 of file con_content.c.

References CONTENT_BLOCK_ADVERTISEMENTS, CONTENT_BLOCK_CSS, CONTENT_BLOCK_POPUPS, CONTENT_CANCEL_BUTTON, CONTENT_DEFAULT_BUTTON, CONTENT_NO_JAVASCRIPT, CONTENT_OK_BUTTON, CONTENT_TARGET_BLANK, nsoption_bool, ro_gui_options_content_default(), ro_gui_options_content_ok(), ro_gui_set_icon_selected_state(), ro_gui_wimp_event_memorise(), ro_gui_wimp_event_register_button(), ro_gui_wimp_event_register_cancel(), ro_gui_wimp_event_register_checkbox(), ro_gui_wimp_event_register_ok(), and ro_gui_wimp_event_set_help_prefix().

Referenced by ro_gui_configure_initialise().

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

◆ ro_gui_options_content_ok()

bool ro_gui_options_content_ok ( wimp_w  w)
static

Definition at line 89 of file con_content.c.

References CONTENT_BLOCK_ADVERTISEMENTS, CONTENT_BLOCK_CSS, CONTENT_BLOCK_POPUPS, CONTENT_NO_JAVASCRIPT, CONTENT_TARGET_BLANK, nsoption_set_bool, ro_gui_get_icon_selected_state(), and ro_gui_save_options().

Referenced by ro_gui_options_content_initialise().

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