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

SunImageObject Class Reference

#include <starinfodlg.h>


Public Member Functions

void SetSunIndex (const int aAtSun)

Protected Member Functions

virtual void Draw (void)

Private Attributes

int atSun


Member Function Documentation

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

Definition at line 3 of file starinfodlg.cpp.

References atSun.

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

void SunImageObject::SetSunIndex const int  aAtSun  )  [inline]
 

Definition at line 21 of file starinfodlg.h.

References atSun.

Referenced by StarInfoDlg::SetupWindow().

00021 {       atSun = aAtSun; }


Field Documentation

int SunImageObject::atSun [private]
 

Definition at line 18 of file starinfodlg.h.

Referenced by Draw(), and SetSunIndex().


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