Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Screen Class Reference

#include <Screen.h>

List of all members.

Public Member Functions

 Screen (Video *v)
virtual ~Screen ()
virtual bool SetBackgroundColor (Color c)
virtual bool Resize (int w, int h)
virtual bool Refresh ()
virtual bool AddWindow (Window *c)
virtual bool DelWindow (Window *c)
int Width () const
int Height () const
virtual void ClearAllFrames (bool clear_all)
virtual void ClearNextFrames (int num_frames)
virtual VideoGetVideo () const

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

int width
int height
int clear
int closed
Videovideo
List< Windowwindow_list

Detailed Description

Definition at line 30 of file Screen.h.


Constructor & Destructor Documentation

Screen::Screen ( Video v)

Definition at line 26 of file Screen.cpp.

Screen::~Screen ( )
virtual

Definition at line 37 of file Screen.cpp.


Member Function Documentation

bool Screen::AddWindow ( Window c)
virtual

Definition at line 48 of file Screen.cpp.

void Screen::ClearAllFrames ( bool  clear_all)
virtual

Definition at line 74 of file Screen.cpp.

void Screen::ClearNextFrames ( int  num_frames)
virtual

Definition at line 83 of file Screen.cpp.

bool Screen::DelWindow ( Window c)
virtual

Definition at line 64 of file Screen.cpp.

virtual Video* Screen::GetVideo ( ) const
inlinevirtual

Definition at line 51 of file Screen.h.

int Screen::Height ( ) const
inline

Definition at line 46 of file Screen.h.

bool Screen::Refresh ( )
virtual

Definition at line 135 of file Screen.cpp.

bool Screen::Resize ( int  w,
int  h 
)
virtual

Definition at line 103 of file Screen.cpp.

bool Screen::SetBackgroundColor ( Color  c)
virtual

Definition at line 92 of file Screen.cpp.

static const char* Screen::TYPENAME ( )
inlinestatic

Definition at line 33 of file Screen.h.

int Screen::Width ( ) const
inline

Definition at line 45 of file Screen.h.


Member Data Documentation

int Screen::clear
protected

Definition at line 56 of file Screen.h.

int Screen::closed
protected

Definition at line 57 of file Screen.h.

int Screen::height
protected

Definition at line 55 of file Screen.h.

Video* Screen::video
protected

Definition at line 59 of file Screen.h.

int Screen::width
protected

Definition at line 54 of file Screen.h.

List<Window> Screen::window_list
protected

Definition at line 61 of file Screen.h.


The documentation for this class was generated from the following files: