Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

wftk::Region::RectList Class Reference

Used for things like passing an array of SDL_Rect to SDL_UpdateRects(). More...

#include <region.h>

List of all members.

Public Member Functions

 RectList (unsigned n)
 create a list of uninitialized rectangles
 RectList (const RectList &rl)
 copy a RectList
RectListoperator= (const RectList &rl)
 copy the contents of one RectList to another
SDL_Rect * rects () const
 access the rectangles contained in the list
unsigned nrects () const
 get a count of the rectangles in the list
SDL_Rect & operator[] (unsigned n)
 access a rectangle in the list


Detailed Description

Used for things like passing an array of SDL_Rect to SDL_UpdateRects().


The documentation for this class was generated from the following files:

Generated Tue Aug 9 18:40:27 2005.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.