NetSurf
Data Structures | Functions | Variables
pointers.c File Reference
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <windows.h>
#include "utils/errors.h"
#include "utils/nsurl.h"
#include "utils/log.h"
#include "utils/corestrings.h"
#include "utils/url.h"
#include "utils/file.h"
#include "netsurf/browser_window.h"
#include "netsurf/clipboard.h"
#include "windows/schedule.h"
#include "windows/window.h"
#include "windows/pointers.h"
Include dependency graph for pointers.c:

Go to the source code of this file.

Data Structures

struct  nsws_pointers
 

Functions

void nsws_window_init_pointers (HINSTANCE hinstance)
 initialise the list of mouse cursors More...
 
HCURSOR nsws_get_pointer (gui_pointer_shape shape)
 get a win32 cursor handle for a pointer shape More...
 

Variables

static struct nsws_pointers nsws_pointer
 pre loaded pointer cursors More...
 

Function Documentation

◆ nsws_get_pointer()

HCURSOR nsws_get_pointer ( gui_pointer_shape  shape)

◆ nsws_window_init_pointers()

void nsws_window_init_pointers ( HINSTANCE  hinstance)

initialise the list of mouse cursors

Definition at line 58 of file pointers.c.

References nsws_pointers::appstarting, nsws_pointers::arrow, nsws_pointers::cross, nsws_pointers::hand, nsws_pointers::help, nsws_pointers::ibeam, nsws_pointers::no, nsws_pointer, nsws_pointers::sizeall, nsws_pointers::sizenesw, nsws_pointers::sizens, nsws_pointers::sizenwse, nsws_pointers::sizewe, and nsws_pointers::wait.

Referenced by WinMain().

Here is the caller graph for this function:

Variable Documentation

◆ nsws_pointer

struct nsws_pointers nsws_pointer
static

pre loaded pointer cursors

Definition at line 55 of file pointers.c.

Referenced by nsws_get_pointer(), and nsws_window_init_pointers().