NetSurf
Macros | Functions
con_secure.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_secure.c:

Go to the source code of this file.

Macros

#define SECURITY_REFERRER   2
 
#define SECURITY_DURATION_FIELD   6
 
#define SECURITY_DURATION_INC   7
 
#define SECURITY_DURATION_DEC   8
 
#define SECURITY_DEFAULT_BUTTON   10
 
#define SECURITY_CANCEL_BUTTON   11
 
#define SECURITY_OK_BUTTON   12
 

Functions

static void ro_gui_options_security_default (wimp_pointer *pointer)
 
static bool ro_gui_options_security_ok (wimp_w w)
 
bool ro_gui_options_security_initialise (wimp_w w)
 

Macro Definition Documentation

◆ SECURITY_CANCEL_BUTTON

#define SECURITY_CANCEL_BUTTON   11

Definition at line 36 of file con_secure.c.

◆ SECURITY_DEFAULT_BUTTON

#define SECURITY_DEFAULT_BUTTON   10

Definition at line 35 of file con_secure.c.

◆ SECURITY_DURATION_DEC

#define SECURITY_DURATION_DEC   8

Definition at line 34 of file con_secure.c.

◆ SECURITY_DURATION_FIELD

#define SECURITY_DURATION_FIELD   6

Definition at line 32 of file con_secure.c.

◆ SECURITY_DURATION_INC

#define SECURITY_DURATION_INC   7

Definition at line 33 of file con_secure.c.

◆ SECURITY_OK_BUTTON

#define SECURITY_OK_BUTTON   12

Definition at line 37 of file con_secure.c.

◆ SECURITY_REFERRER

#define SECURITY_REFERRER   2

Definition at line 31 of file con_secure.c.

Function Documentation

◆ ro_gui_options_security_default()

void ro_gui_options_security_default ( wimp_pointer *  pointer)
static

Definition at line 66 of file con_secure.c.

References ro_gui_set_icon_integer(), ro_gui_set_icon_selected_state(), SECURITY_DURATION_FIELD, and SECURITY_REFERRER.

Referenced by ro_gui_options_security_initialise().

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

◆ ro_gui_options_security_initialise()

bool ro_gui_options_security_initialise ( wimp_w  w)

Definition at line 42 of file con_secure.c.

References nsoption_bool, nsoption_int, ro_gui_options_security_default(), ro_gui_options_security_ok(), ro_gui_set_icon_integer(), 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_numeric_field(), ro_gui_wimp_event_register_ok(), ro_gui_wimp_event_set_help_prefix(), SECURITY_CANCEL_BUTTON, SECURITY_DEFAULT_BUTTON, SECURITY_DURATION_DEC, SECURITY_DURATION_FIELD, SECURITY_DURATION_INC, SECURITY_OK_BUTTON, and SECURITY_REFERRER.

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

bool ro_gui_options_security_ok ( wimp_w  w)
static

Definition at line 73 of file con_secure.c.

References nsoption_set_bool, nsoption_set_int, ro_gui_get_icon_decimal(), ro_gui_get_icon_selected_state(), ro_gui_save_options(), SECURITY_DURATION_FIELD, and SECURITY_REFERRER.

Referenced by ro_gui_options_security_initialise().

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