AaronCameron.net
Grotesque: fun to say, fun to be.
Not a Member? - Login or Create an Account...MC Offline
Saturday the 25th of May 2013 @ 01:16am
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cSurfaceProperties Class Reference

#include <cSurfaceProperties.h>

Collaboration diagram for n2l::cSurfaceProperties:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

Definition at line 37 of file cSurfaceProperties.h.


Member Typedef Documentation

typedef tVector2u n2l::cSurfaceProperties::tSize
 

Definition at line 40 of file cSurfaceProperties.h.

typedef tUint n2l::cSurfaceProperties::tSurfaceFlags
 

Definition at line 41 of file cSurfaceProperties.h.


Member Enumeration Documentation

enum n2l::cSurfaceProperties::tSurfaceFlag
 

Duplicate the SDL Flags here to avoid including SDL.h every time we need to check one.

WE also only want a subset of the full flags

Enumerator:
SurfaceFlag_SoftwareSurface 
SurfaceFlag_HardwareSurface 
SurfaceFlag_HardwarePalette 
SurfaceFlag_DoubleBuffered 
SurfaceFlag_FullScreen 
SurfaceFlag_OpenGL 
SurfaceFlag_Resizable 
SurfaceFlag_NoFrame 

Definition at line 47 of file cSurfaceProperties.h.


Constructor & Destructor Documentation

n2l::cSurfaceProperties::cSurfaceProperties  ) 
 

Definition at line 31 of file cSurfaceProperties.cpp.

n2l::cSurfaceProperties::cSurfaceProperties const SDL_Surface &  iSurface  ) 
 

Definition at line 40 of file cSurfaceProperties.cpp.

n2l::cSurfaceProperties::~cSurfaceProperties  )  [virtual]
 

Definition at line 49 of file cSurfaceProperties.cpp.


Member Function Documentation

void n2l::cSurfaceProperties::addFlags const tSurfaceFlags  iFlags  ) 
 

Definition at line 98 of file cSurfaceProperties.cpp.

Referenced by n2l::cFramebufferDisplay::cFramebufferDisplay(), and n2l::cOpenGLDisplay::cOpenGLDisplay().

void n2l::cSurfaceProperties::assign const cSurfaceProperties iProperties  ) 
 

Definition at line 55 of file cSurfaceProperties.cpp.

References mFlags, mPitch, and mSize.

Referenced by n2l::cSurfaceCommonImp::setProperties().

const tString n2l::cSurfaceProperties::asString  )  const
 

Definition at line 105 of file cSurfaceProperties.cpp.

References n2l::asBinaryMaskString(), n2l::asString(), n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::getX(), n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::getY(), and surfaceFlagStr().

const cSurfaceProperties::tSurfaceFlags n2l::cSurfaceProperties::flags  )  const
 

Definition at line 71 of file cSurfaceProperties.cpp.

Referenced by n2l::cFramebufferDisplay::cFramebufferDisplay(), n2l::cOpenGLDisplay::cOpenGLDisplay(), n2l::cOpenGLDisplay::resizeTo(), n2l::cFramebufferDisplay::resizeTo(), and n2l::cSurface::supportsRWBuffer().

const tUint n2l::cSurfaceProperties::pitch  )  const
 

Definition at line 92 of file cSurfaceProperties.cpp.

Referenced by n2l::cSurface::literalCopyBlit().

void n2l::cSurfaceProperties::setFlags const tSurfaceFlags  iFlags  ) 
 

Definition at line 85 of file cSurfaceProperties.cpp.

Referenced by n2l::cFramebufferDisplay::cFramebufferDisplay(), and n2l::cOpenGLDisplay::cOpenGLDisplay().

void n2l::cSurfaceProperties::setSize const tSize iSize  ) 
 

Definition at line 78 of file cSurfaceProperties.cpp.

Referenced by n2l::cFramebufferDisplay::cFramebufferDisplay(), and n2l::cOpenGLDisplay::cOpenGLDisplay().

const cSurfaceProperties::tSize & n2l::cSurfaceProperties::size  )  const
 

Definition at line 64 of file cSurfaceProperties.cpp.

Referenced by n2l::cDisplayCommonImp::aspect(), n2l::cSurfaceCommonImp::blit(), n2l::cFramebufferDisplay::cFramebufferDisplay(), n2l::cGLTexture::cGLTexture(), n2l::cOpenGLDisplay::cOpenGLDisplay(), n2l::cDisplayCommonImp::fovYAspect(), n2l::cSurface::literalCopyBlit(), n2l::cOpenGLDisplay::resetViewport(), and n2l::cOpenGLDisplay::viewport().

const tString & n2l::cSurfaceProperties::surfaceFlagStr const tSurfaceFlags  iFlags  )  [static]
 

Definition at line 121 of file cSurfaceProperties.cpp.

Referenced by asString().


The documentation for this class was generated from the following files:
©2013 Aaron Cameron