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

Support for different cursors-shapes. More...

#include "cursor.hpp"
#include "picture.hpp"
#include "preferences/game.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 39 of file cursor.cpp.

◆ hot_x

int hot_x

Definition at line 46 of file cursor.cpp.

◆ hot_y

int hot_y

Definition at line 47 of file cursor.cpp.

◆ image_bw

std::string image_bw

Definition at line 43 of file cursor.cpp.

◆ image_color

std::string image_color

Definition at line 44 of file cursor.cpp.

◆ is_color

boost::tribool is_color

Definition at line 41 of file cursor.cpp.