NetSurf
Macros | Functions
con_search.c File Reference
#include <stdbool.h>
#include <sys/types.h>
#include "utils/nsoption.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "desktop/searchweb.h"
#include "riscos/gui.h"
#include "riscos/menus.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_search.c:

Go to the source code of this file.

Macros

#define SEARCH_WEB_URLBAR   2
 
#define SEARCH_WEB_PROVIDER_FIELD   4
 
#define SEARCH_WEB_PROVIDER_GRIGHT   5
 
#define SEARCH_DEFAULT_BUTTON   6
 
#define SEARCH_CANCEL_BUTTON   7
 
#define SEARCH_OK_BUTTON   8
 

Functions

static void ro_gui_options_search_default (wimp_pointer *pointer)
 
static bool ro_gui_options_search_ok (wimp_w w)
 
bool ro_gui_options_search_initialise (wimp_w w)
 

Macro Definition Documentation

◆ SEARCH_CANCEL_BUTTON

#define SEARCH_CANCEL_BUTTON   7

Definition at line 41 of file con_search.c.

◆ SEARCH_DEFAULT_BUTTON

#define SEARCH_DEFAULT_BUTTON   6

Definition at line 40 of file con_search.c.

◆ SEARCH_OK_BUTTON

#define SEARCH_OK_BUTTON   8

Definition at line 42 of file con_search.c.

◆ SEARCH_WEB_PROVIDER_FIELD

#define SEARCH_WEB_PROVIDER_FIELD   4

Definition at line 38 of file con_search.c.

◆ SEARCH_WEB_PROVIDER_GRIGHT

#define SEARCH_WEB_PROVIDER_GRIGHT   5

Definition at line 39 of file con_search.c.

◆ SEARCH_WEB_URLBAR

#define SEARCH_WEB_URLBAR   2

Definition at line 37 of file con_search.c.

Function Documentation

◆ ro_gui_options_search_default()

static void ro_gui_options_search_default ( wimp_pointer *  pointer)
static

Definition at line 45 of file con_search.c.

References nsoption_bool, ro_gui_set_icon_selected_state(), ro_gui_set_icon_string(), search_web_iterate_providers(), SEARCH_WEB_PROVIDER_FIELD, and SEARCH_WEB_URLBAR.

Referenced by ro_gui_options_search_initialise().

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

◆ ro_gui_options_search_initialise()

bool ro_gui_options_search_initialise ( wimp_w  w)

◆ ro_gui_options_search_ok()

static bool ro_gui_options_search_ok ( wimp_w  w)
static

Definition at line 61 of file con_search.c.

References NSLOG, nsoption_set_bool, nsoption_set_charp, ro_gui_get_icon_selected_state(), ro_gui_get_icon_string(), ro_gui_save_options(), ro_warn_user(), search_web_iterate_providers(), SEARCH_WEB_PROVIDER_FIELD, search_web_select_provider(), and SEARCH_WEB_URLBAR.

Referenced by ro_gui_options_search_initialise().

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