cursor.hpp File Reference

#include "SDL.h"
#include "sdl_utils.hpp"

Include dependency graph for cursor.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cursor

Classes

struct  cursor::manager
struct  cursor::setter

Enumerations

enum  cursor::CURSOR_TYPE {
  cursor::NORMAL, cursor::WAIT, cursor::MOVE, cursor::ATTACK,
  cursor::HYPERLINK, cursor::MOVE_DRAG, cursor::ATTACK_DRAG, cursor::NO_CURSOR,
  cursor::NUM_CURSORS
}

Functions

void cursor::temporary_use_bw ()
 This function uses temporary the b&w cursors while the display is busy.
void cursor::set (CURSOR_TYPE type=NUM_CURSORS)
 Use the default parameter to reset cursors.
void cursor::set_dragging (bool drag)
CURSOR_TYPE cursor::get ()
void cursor::draw (surface screen)
void cursor::undraw (surface screen)
void cursor::set_focus (bool focus)


Detailed Description

Definition in file cursor.hpp.


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs