cursor Namespace Reference


Classes

struct  manager
struct  setter

Enumerations

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

Functions

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


Enumeration Type Documentation

Enumerator:
NORMAL 
WAIT 
MOVE 
ATTACK 
HYPERLINK 
MOVE_DRAG 
ATTACK_DRAG 
NO_CURSOR 
NUM_CURSORS 

Definition at line 33 of file cursor.hpp.


Function Documentation

void cursor::draw ( surface  screen  ) 

CURSOR_TYPE cursor::get (  ) 

Definition at line 203 of file cursor.cpp.

References current_cursor.

Referenced by events::mouse_handler::mouse_motion().

void cursor::set ( CURSOR_TYPE  type  ) 

void cursor::set_dragging ( bool  drag  ) 

void cursor::set_focus ( bool  focus  ) 

Definition at line 208 of file cursor.cpp.

References colour_ready, and have_focus.

Referenced by events::pump().

void cursor::temporary_use_bw (  ) 

This function uses temporary the b&w cursors while the display is busy.

Definition at line 156 of file cursor.cpp.

References colour_ready.

void cursor::undraw ( surface  screen  ) 


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