Main Page | Namespace List | Class Hierarchy | Class List | 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 Fri Mar 5 08:11:01 2004.
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.