NetSurf
Functions
fb_search.c File Reference
#include <stdbool.h>
#include <string.h>
#include "utils/log.h"
Include dependency graph for fb_search.c:

Go to the source code of this file.

Functions

static void gui_search_set_status (bool found, void *p)
 Change the displayed search status. More...
 
static void gui_search_set_hourglass (bool active, void *p)
 display hourglass while searching More...
 
static void gui_search_add_recent (const char *string, void *p)
 add search string to recent searches list More...
 
static void gui_search_set_forward_state (bool active, void *p)
 activate search forwards button in gui More...
 
static void gui_search_set_back_state (bool active, void *p)
 activate search forwards button in gui More...
 

Function Documentation

◆ gui_search_add_recent()

void gui_search_add_recent ( const char *  string,
void *  p 
)
static

add search string to recent searches list

Parameters
stringsearch pattern
pthe pointer sent to search_verify_new() / search_create_context()

Definition at line 54 of file fb_search.c.

◆ gui_search_set_back_state()

void gui_search_set_back_state ( bool  active,
void *  p 
)
static

activate search forwards button in gui

Parameters
activeactivate/inactivate
pthe pointer sent to search_verify_new() / search_create_context()

Definition at line 72 of file fb_search.c.

◆ gui_search_set_forward_state()

void gui_search_set_forward_state ( bool  active,
void *  p 
)
static

activate search forwards button in gui

Parameters
activeactivate/inactivate
pthe pointer sent to search_verify_new() / search_create_context()

Definition at line 63 of file fb_search.c.

◆ gui_search_set_hourglass()

void gui_search_set_hourglass ( bool  active,
void *  p 
)
static

display hourglass while searching

Parameters
activestart/stop indicator
pthe pointer sent to search_verify_new() / search_create_context()

Definition at line 45 of file fb_search.c.

◆ gui_search_set_status()

void gui_search_set_status ( bool  found,
void *  p 
)
static

Change the displayed search status.

Parameters
foundsearch pattern matched in text
pthe pointer sent to search_verify_new() / search_create_context()

Definition at line 36 of file fb_search.c.