Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Screen Class Reference
[Graphics]

List of all members.


Public Member Functions

 Screen (int width, int height)
 ~Screen ()
BitmapGetBackBuffer ()
void Present (unsigned short modulate=0xffff)
void SetBackgroundColor (unsigned short color)
unsigned short GetBackgroundColor ()
void SetFullscreen (bool fullscreen)
bool GetFullscreen ()
void SetInterpolationMode (bool fullscreen)
bool GetInterpolationMode ()
void SetWindowSize (int width, int height)
int GetWindowWidth ()
int GetWindowHeight ()
void MatchWindowToScreenSize ()

Detailed Description

Author:
Mattias Gustavsson

Definition at line 20 of file Screen.h.


Constructor & Destructor Documentation

Screen::Screen ( int  width,
int  height 
)

Definition at line 10 of file Screen.cpp.

Screen::~Screen (  ) 

Definition at line 21 of file Screen.cpp.


Member Function Documentation

Bitmap & Screen::GetBackBuffer (  ) 

Definition at line 29 of file Screen.cpp.

void Screen::Present ( unsigned short  modulate = 0xffff  ) 

Definition at line 37 of file Screen.cpp.

void Screen::SetBackgroundColor ( unsigned short  color  ) 

Definition at line 48 of file Screen.cpp.

unsigned short Screen::GetBackgroundColor (  ) 

Definition at line 56 of file Screen.cpp.

void Screen::SetFullscreen ( bool  fullscreen  ) 

Definition at line 64 of file Screen.cpp.

bool Screen::GetFullscreen (  ) 

Definition at line 75 of file Screen.cpp.

void Screen::SetInterpolationMode ( bool  fullscreen  ) 

Definition at line 88 of file Screen.cpp.

bool Screen::GetInterpolationMode (  ) 

Definition at line 99 of file Screen.cpp.

void Screen::SetWindowSize ( int  width,
int  height 
)

Definition at line 112 of file Screen.cpp.

int Screen::GetWindowWidth (  ) 

Definition at line 123 of file Screen.cpp.

int Screen::GetWindowHeight (  ) 

Definition at line 136 of file Screen.cpp.

void Screen::MatchWindowToScreenSize (  ) 

Definition at line 149 of file Screen.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.