10#if !defined GUIBITMAPGL__H_
11#define GUIBITMAPGL__H_
13#include "GUIBitmapPlane.h"
27 virtual void SetWidth(eC_Value vWidth, eC_Bool bExpandCentered =
false);
29 virtual void SetHeight(eC_Value vHeight, eC_Bool bExpandCentered =
false);
32 const eC_UByte ubTopLeft,
33 const eC_UByte ubBottomLeft,
34 const eC_UByte ubBottomRight,
35 const eC_UByte ubTopRight);
56 virtual void Clear(
const eC_UByte ubRed,
const eC_UByte ubGreen,
const eC_UByte ubBlue,
const eC_UByte ubAlpha);
58 virtual void GetData(eC_TArray<eC_UByte>* pkData);
93 eC_UInt m_uiGLTextureID;
94 eC_TArray<eC_Value> m_avVertices;
95 eC_TArray<eC_UByte> m_aubColor;
The BitmapPlane Class for GL with pseudo offscreen rendering.
Definition: GUIBitmapPlane_GL.h:21
virtual eC_Value GetTopRightV()
virtual void SetBottomLeftV(eC_Value vV)
virtual eC_Bool DrawToBitmap()
virtual void SetWidth(eC_Value vWidth, eC_Bool bExpandCentered=false)
virtual void DeleteRenderSurface()
Called by the framework to allow derived classes to free memory allocated by the associated render su...
Definition: GUIBitmapPlane_GL.h:80
virtual void SetHeight(eC_Value vHeight, eC_Bool bExpandCentered=false)
virtual eC_Value GetTopLeftV()
virtual eC_Value Get2DPlaneDistance()
virtual void CreateRenderSurface()
Inits the Texture Object by actually allocating memory for it.
CGUIBitmapPlane_GL(GUIBitmapPlaneID_t uiNewBitmapID, const CGUIObject &rkParentObject, eC_Value vWidth, eC_Value vHeight)
const eC_UInt GetTextureID() const
virtual void Clear(const eC_UByte ubRed, const eC_UByte ubGreen, const eC_UByte ubBlue, const eC_UByte ubAlpha)
virtual eC_Value GetBottomRightV()
virtual void SetBottomRightV(eC_Value vV)
virtual void GetData(eC_TArray< eC_UByte > *pkData)
virtual eC_Value GetBottomLeftV()
void UpdateVertices()
Calculates the vertices in the vertex array.
void CreateTexture()
Generates and binds a texture to this bitmap plane.
virtual void SetTopRightV(eC_Value vV)
virtual void SetTopLeftV(eC_Value vV)
virtual void SetAlphaValues(const eC_UByte ubTopLeft, const eC_UByte ubBottomLeft, const eC_UByte ubBottomRight, const eC_UByte ubTopRight)
virtual eC_Bool DrawToScreen()
eC_Bool m_bComplete
is bitmap-plane complete
Definition: GUIBitmapPlane_GL.h:90
The bitmap plane base class.
Definition: GUIBitmapPlane.h:152
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
OpenGL graphic wrapper base class. This is the base class for all OpenGL related graphic wrappers (Op...
Definition: GfxWrapGL.h:61
eC_Value m_vDepthCorrection
depth-corretion
Definition: GfxWrapGL.h:708
eC_UByte m_ubAlpha
Currently set global alpha value.
Definition: GfxWrap.h:1410