Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

CursorPolicyNode Class Reference

#include <cursorpolicy.h>

Inheritance diagram for CursorPolicyNode:

Inheritance graph
[legend]
Collaboration diagram for CursorPolicyNode:

Collaboration graph
[legend]

Public Member Functions

 CursorPolicyNode (BaseSceneNode *)
void set_hovercursor (SurfaceCursor *)
void set_clickedcursor (SurfaceCursor *)
bool handle_event (Event *)

Protected Attributes

SurfaceCursorhover_cursor
SurfaceCursorclicked_cursor

Constructor & Destructor Documentation

CursorPolicyNode::CursorPolicyNode BaseSceneNode  ) 
 


Member Function Documentation

void CursorPolicyNode::set_hovercursor SurfaceCursor  ) 
 

void CursorPolicyNode::set_clickedcursor SurfaceCursor  ) 
 

bool CursorPolicyNode::handle_event Event  )  [virtual]
 

call the base event handler in all nodes because it provides checks for node visibility and mouse event fitting into bounding rectangle.

Reimplemented from SceneNode.

Here is the call graph for this function:


Field Documentation

SurfaceCursor* CursorPolicyNode::hover_cursor [protected]
 

SurfaceCursor* CursorPolicyNode::clicked_cursor [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Jun 23 18:47:31 2004 for cZUI by doxygen 1.3.5