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

PlanetImageObject Class Reference

#include <planetinfodlg.h>


Public Member Functions

void SetPlanetIndex (const int aAt)

Protected Member Functions

virtual void Draw (void)

Private Attributes

int atPlanet


Member Function Documentation

void PlanetImageObject::Draw void   )  [protected, virtual]
 

Definition at line 3 of file planetinfodlg.cpp.

References atPlanet.

00004 {
00005         XBox::Draw();
00006 
00007         XRect   r( 0 , 0 , -1 , -1 );
00008         SDL_Surface     *planets = Graf::Img( id , &r );
00009 
00010         XRect   src( r.h * atPlanet , 0 , r.h , r.h );
00011         
00012         Graf::SDL_StretchBlt( planets , &src , GetGDI() , this );
00013 }

void PlanetImageObject::SetPlanetIndex const int  aAt  )  [inline]
 

Definition at line 21 of file planetinfodlg.h.

References atPlanet.

Referenced by PlanetInfoDlg::SetupInfo().

00021 {       atPlanet = aAt; }


Field Documentation

int PlanetImageObject::atPlanet [private]
 

Definition at line 18 of file planetinfodlg.h.

Referenced by Draw(), and SetPlanetIndex().


The documentation for this class was generated from the following files:
Generated on Fri Dec 5 04:06:30 2003 for Borqueror by doxygen 1.3.3