Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RenderingEngine Class Reference

Some SDL rendering stuff here. More...

#include <RenderingEngine.hpp>

List of all members.

Public Types

enum  Layout { UP_AND_DOWN, SIDE_BY_SIDE }

Public Methods

 RenderingEngine (int x, int y, long yBO, long uBO, long vBO, long yS, long uvS, bool two=false, Layout l=UP_AND_DOWN)
void show (char *buffer, int delay=0)
void show (char *buffer1, char *buffer2, int delay=0)
 ~RenderingEngine ()

Private Attributes

int width
int height
Layout layout
long ySize
long uvSize
long bufOffsetY
long bufOffsetU
long bufOffsetV
int video_bpp
const SDL_VideoInfo * video_info
SDL_Rect m_dstrect
SDL_Overlay * m_image
SDL_Surface * m_screen


Detailed Description

Some SDL rendering stuff here.

Version:
0.1 alpha
Author:
K. Leopold

Definition at line 18 of file RenderingEngine.hpp.


Member Enumeration Documentation

enum RenderingEngine::Layout
 

Enumeration values:
UP_AND_DOWN 
SIDE_BY_SIDE 

Definition at line 21 of file RenderingEngine.hpp.


Constructor & Destructor Documentation

RenderingEngine::RenderingEngine int    x,
int    y,
long    yBO,
long    uBO,
long    vBO,
long    yS,
long    uvS,
bool    two = false,
Layout    l = UP_AND_DOWN
 

Constructor

Definition at line 6 of file RenderingEngine.cpp.

References bufOffsetU, bufOffsetV, bufOffsetY, height, layout, m_dstrect, m_image, m_screen, nl, UP_AND_DOWN, uvSize, video_bpp, video_info, width, and ySize.

RenderingEngine::~RenderingEngine   [inline]
 

Definition at line 28 of file RenderingEngine.hpp.


Member Function Documentation

void RenderingEngine::show char *    buffer1,
char *    buffer2,
int    delay = 0
 

Definition at line 123 of file RenderingEngine.cpp.

References bufOffsetU, bufOffsetV, layout, m_dstrect, m_image, m_screen, UP_AND_DOWN, uvSize, width, and ySize.

void RenderingEngine::show char *    buffer,
int    delay = 0
 

Definition at line 95 of file RenderingEngine.cpp.

References bufOffsetU, bufOffsetV, bufOffsetY, m_dstrect, m_image, m_screen, uvSize, and ySize.


Member Data Documentation

long RenderingEngine::bufOffsetU [private]
 

Definition at line 40 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

long RenderingEngine::bufOffsetV [private]
 

Definition at line 41 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

long RenderingEngine::bufOffsetY [private]
 

Definition at line 39 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

int RenderingEngine::height [private]
 

Definition at line 33 of file RenderingEngine.hpp.

Referenced by RenderingEngine().

Layout RenderingEngine::layout [private]
 

Definition at line 35 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

SDL_Rect RenderingEngine::m_dstrect [private]
 

Definition at line 45 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

SDL_Overlay* RenderingEngine::m_image [private]
 

Definition at line 46 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

SDL_Surface* RenderingEngine::m_screen [private]
 

Definition at line 47 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

long RenderingEngine::uvSize [private]
 

Definition at line 38 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

int RenderingEngine::video_bpp [private]
 

Definition at line 43 of file RenderingEngine.hpp.

Referenced by RenderingEngine().

const SDL_VideoInfo* RenderingEngine::video_info [private]
 

Definition at line 44 of file RenderingEngine.hpp.

Referenced by RenderingEngine().

int RenderingEngine::width [private]
 

Definition at line 32 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().

long RenderingEngine::ySize [private]
 

Definition at line 37 of file RenderingEngine.hpp.

Referenced by RenderingEngine(), and show().


The documentation for this class was generated from the following files:
Generated on Wed Mar 19 11:57:44 2003 for qctva4lv by doxygen1.2.17