NetSurf
Macros | Functions
search.cpp File Reference
#include <string.h>
#include "utils/log.h"
Include dependency graph for search.cpp:

Go to the source code of this file.

Macros

#define __STDBOOL_H__   1
 

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...
 

Macro Definition Documentation

◆ __STDBOOL_H__

#define __STDBOOL_H__   1

Definition at line 19 of file search.cpp.

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 56 of file search.cpp.

◆ 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 74 of file search.cpp.

◆ 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 65 of file search.cpp.

◆ 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 47 of file search.cpp.

◆ 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 38 of file search.cpp.