#include <planetinfodlg.h>
Public Member Functions | |
void | SetPlanetIndex (const int aAt) |
Protected Member Functions | |
virtual void | Draw (void) |
Private Attributes | |
int | atPlanet |
|
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 }
|
|
Definition at line 21 of file planetinfodlg.h. References atPlanet. Referenced by PlanetInfoDlg::SetupInfo().
00021 { atPlanet = aAt; } |
|
Definition at line 18 of file planetinfodlg.h. Referenced by Draw(), and SetPlanetIndex(). |