Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Graphics::ImageFrame Class Reference

#include <draw.h>

Inheritance diagram for Graphics::ImageFrame:

Inheritance graph
[legend]
Collaboration diagram for Graphics::ImageFrame:

Collaboration graph
[legend]
List of all members.

Public Methods

 ImageFrame (DrawableAt *imageToFrame, Uint32 pix=0x3255123, Uint8 borderWidth=3)
virtual void drawAt (SDL_Surface *screen, SDL_Rect *loc)

Detailed Description

Class made for "highlighting" other DrawableAt

Definition at line 111 of file draw.h.


Constructor & Destructor Documentation

ImageFrame::ImageFrame DrawableAt   imageToFrame,
Uint32    pixelColor = 0x3255123,
Uint8    width = 3
 

Constructs ImageFrame

Parameters:
imageToFrame  DrawableAt to be framed. Will be deleted in the destructor. Allowed to be NULL

Definition at line 149 of file draw.cpp.

ImageFrame::~ImageFrame  
 

Definition at line 179 of file draw.cpp.


Member Function Documentation

void ImageFrame::drawAt SDL_Surface *    surf,
SDL_Rect *    rect
[virtual]
 

Draws images that this frames, and then subsequently draws a nice frame (border) around at image

Reimplemented from Graphics::DrawableAt.

Definition at line 155 of file draw.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 21 07:26:55 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001