The Battle for Wesnoth  1.19.7+dev
Namespaces | Functions
cursor.cpp File Reference

Support for different cursors-shapes. More...

#include "cursor.hpp"
#include "picture.hpp"
#include "preferences/preferences.hpp"
#include "sdl/utils.hpp"
#include <boost/logic/tribool.hpp>
#include <array>
#include <memory>
Include dependency graph for cursor.cpp:

Go to the source code of this file.

Namespaces

 cursor
 

Functions

void cursor::set (CURSOR_TYPE type=NUM_CURSORS)
 Use the default parameter to reset cursors. More...
 
void cursor::set_dragging (bool drag)
 
CURSOR_TYPE cursor::get ()
 
void cursor::set_focus (bool focus)
 

Detailed Description

Support for different cursors-shapes.

Definition in file cursor.cpp.

Variable Documentation

◆ cursor

cursor_ptr_t cursor

Definition at line 40 of file cursor.cpp.

◆ hot_x

int hot_x

Definition at line 47 of file cursor.cpp.

◆ hot_y

int hot_y

Definition at line 48 of file cursor.cpp.

◆ image_bw

std::string image_bw

Definition at line 44 of file cursor.cpp.

◆ image_color

std::string image_color

Definition at line 45 of file cursor.cpp.

◆ is_color

boost::tribool is_color

Definition at line 42 of file cursor.cpp.