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

SDLSurfaceDriver Class Reference

#include <sdsdl.h>

Inheritance diagram for SDLSurfaceDriver:

Inheritance graph
[legend]
Collaboration diagram for SDLSurfaceDriver:

Collaboration graph
[legend]

Public Member Functions

virtual void repaint (void)
virtual void repaint_rect (int, int, int, int)
virtual void setcursor (SurfaceCursor *)
virtual SurfaceCursor * getcursor (void)
virtual void showcursor (bool)
virtual void enqueue_event (Event *)
virtual void get_mousepos (int &, int &)
virtual msbutton get_mousestate (void)
virtual Image * load_image (const char *)
virtual void put_image (Image *, int destx, int desty, int imgx=0, int imgy=0, int w=0, int h=0)
Image * create_scaled_image (Image *, double mgf)
void delegate_cursor_set (pcursorfunc)
 SDLSurfaceDriver (int, int, SDL_Surface *s=0)
virtual ~SDLSurfaceDriver ()

Protected Attributes

SDLSurfaceCursor * cursor
SDL_Surface * srf
pcursorfunc setcursor_notif

Constructor & Destructor Documentation

SDLSurfaceDriver::SDLSurfaceDriver (  int  ,
int  ,
SDL_Surface *  s = 0
) 
 

SDLSurfaceDriver::~SDLSurfaceDriver (   )  [virtual]
 


Member Function Documentation

void SDLSurfaceDriver::repaint (  void   )  [virtual]
 

Implements SurfaceDriver.

Reimplemented in SDLXpSurfaceDriver.

void SDLSurfaceDriver::repaint_rect (  int  ,
int  ,
int  ,
int 
)  [virtual]
 

Implements SurfaceDriver.

Reimplemented in SDLXpSurfaceDriver.

void SDLSurfaceDriver::setcursor (  SurfaceCursor *   )  [virtual]
 

Implements SurfaceDriver.

SurfaceCursor * SDLSurfaceDriver::getcursor (  void   )  [virtual]
 

Implements SurfaceDriver.

void SDLSurfaceDriver::showcursor (  bool   )  [virtual]
 

Implements SurfaceDriver.

void SDLSurfaceDriver::enqueue_event (  Event *   )  [virtual]
 

Implements SurfaceDriver.

Here is the call graph for this function:

void SDLSurfaceDriver::get_mousepos (  int &  ,
int & 
)  [virtual]
 

Implements SurfaceDriver.

msbutton SDLSurfaceDriver::get_mousestate (  void   )  [virtual]
 

Implements SurfaceDriver.

Image * SDLSurfaceDriver::load_image (  const char *   )  [virtual]
 

Implements SurfaceDriver.

void SDLSurfaceDriver::put_image (  Image *  ,
int  destx,
int  desty,
int  imgx = 0,
int  imgy = 0,
int  w = 0,
int  h = 0
)  [virtual]
 

Implements SurfaceDriver.

Here is the call graph for this function:

Image * SDLSurfaceDriver::create_scaled_image (  Image *  ,
double  mgf
)  [virtual]
 

Implements SurfaceDriver.

void SDLSurfaceDriver::delegate_cursor_set (  pcursorfunc   ) 
 

Passive (memory) surfaces cannot set the cursor. Use this function to delegate cursor changes to a surface in control.


Field Documentation

SDLSurfaceCursor* SDLSurfaceDriver::cursor [protected]
 

SDL_Surface* SDLSurfaceDriver::srf [protected]
 

pcursorfunc SDLSurfaceDriver::setcursor_notif [protected]
 


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