#include <starinfodlg.h>
Public Member Functions | |
void | SetSunIndex (const int aAtSun) |
Protected Member Functions | |
virtual void | Draw (void) |
Private Attributes | |
int | atSun |
|
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 }
|
|
Definition at line 21 of file starinfodlg.h. References atSun. Referenced by StarInfoDlg::SetupWindow().
00021 { atSun = aAtSun; } |
|
Definition at line 18 of file starinfodlg.h. Referenced by Draw(), and SetSunIndex(). |