Support for different cursors-shapes. More...
#include "cursor.hpp"
#include "game_preferences.hpp"
#include "image.hpp"
#include "preferences_display.hpp"
#include "sdl/rect.hpp"
#include <iostream>
#include <boost/logic/tribool.hpp>
Go to the source code of this file.
Namespaces | |
cursor | |
Functions | |
static bool | use_color_cursors () |
static SDL_Cursor * | create_cursor (surface surf) |
static SDL_Cursor * | get_cursor (cursor::CURSOR_TYPE type) |
static void | clear_cache () |
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) |
Support for different cursors-shapes.
Definition in file cursor.cpp.
|
static |
Definition at line 129 of file cursor.cpp.
References gui2::cache, and cursor::NUM_CURSORS.
Referenced by cursor::manager::~manager().
|
static |
Definition at line 37 of file cursor.cpp.
References g, make_neutral_surface(), and mask.
Referenced by get_cursor().
|
static |
Definition at line 112 of file cursor.cpp.
References gui2::cache, create_cursor(), surface::get(), image::get_image(), surf, and use_color_cursors().
Referenced by cursor::set().
|
static |
Definition at line 32 of file cursor.cpp.
References game_config::editor, and preferences::use_color_cursors().
Referenced by get_cursor().