10#if !defined GUIBASEBITMAP__H_
11#define GUIBASEBITMAP__H_
15#include "GUICommonEnums.h"
145typedef eC_UInt GUIBitmapPlaneID_t;
201 void SetPos3D(eC_Value vXPos, eC_Value vYPos, eC_Value vZPos)
328 virtual void SetWidth(eC_Value vWidth, eC_Bool bExpandCentered =
false);
347 virtual void SetHeight(eC_Value vHeight, eC_Bool bExpandCentered =
false);
416 virtual void GetData(eC_TArray<eC_UByte>* pkData) {}
426 const eC_UByte ubRed = 0,
427 const eC_UByte ubGreen = 0,
428 const eC_UByte ubBlue = 0,
429 const eC_UByte ubAlpha = 0)
437 return m_rkParentObject;
447 const eC_UByte ubTopLeft,
const eC_UByte ubBottomLeft,
448 const eC_UByte ubBottomRight,
const eC_UByte ubTopRight)
657 m_bDepthTest =
false;
755 void SetTexUsed(eC_Value vNewTexUsedU, eC_Value vNewTexUsedV);
784 GUIBitmapPlaneID_t m_uiID;
801 eC_Bool m_bDepthTest;
804 static eC_Value ms_vNear;
805 static eC_Value ms_vFar;
The bitmap plane base class.
Definition: GUIBitmapPlane.h:152
void SetBottomRightUV(eC_Value vU, eC_Value vV)
Definition: GUIBitmapPlane.h:585
eC_Value GetHeight() const
Definition: GUIBitmapPlane.h:352
void DisableDepthTest()
Definition: GUIBitmapPlane.h:655
eC_Value GetZPos() const
Definition: GUIBitmapPlane.h:254
void SetAlphaValue(const eC_UByte ubAlpha)
Definition: GUIBitmapPlane.h:456
virtual eC_Value GetTopRightU()
void SetTexUsed(eC_Value vNewTexUsedU, eC_Value vNewTexUsedV)
virtual void SetBottomRightU(eC_Value vU)
virtual eC_Value GetBottomRightU()
GUIBitmapPlaneID_t GetID() const
Definition: GUIBitmapPlane.h:318
eC_Bool IsYFlipped() const
Definition: GUIBitmapPlane.h:706
eC_Value GetCenterOfProjectionAbsX() const
virtual eC_Bool DrawToBitmap()
Definition: GUIBitmapPlane.h:732
virtual void SetBottomLeftV(eC_Value vV)
eC_Value GetYPos2D() const
virtual eC_Value GetBottomLeftU()
CGUIBitmapPlane(GUIBitmapPlaneID_t uiNewBitmapID, const CGUIObject &rkParentObject, eC_Value vWidth=0, eC_Value vHeight=0)
eC_Value GetFOV() const
Definition: GUIBitmapPlane.h:676
void SetFOV(const eC_Value vFOV)
Definition: GUIBitmapPlane.h:682
void SetFormat(const CGUICommonEnums::ImageType_t &eFormat)
Definition: GUIBitmapPlane.h:381
virtual eC_Value GetBottomLeftV()
virtual eC_Value GetTopRightV()
void RotateZ(const eC_Value vZAngle)
Definition: GUIBitmapPlane.h:281
eC_Value GetNear() const
Definition: GUIBitmapPlane.h:694
void SetBottomLeftUV(eC_Value vU, eC_Value vV)
Definition: GUIBitmapPlane.h:542
void SetPos2D(eC_Value vXPos, eC_Value vYPos)
eC_Value GetHeightCorrected() const
eC_UByte GetBytesPerPixel() const
Definition: GUIBitmapPlane.h:373
virtual void SetHeight(eC_Value vHeight, eC_Bool bExpandCentered=false)
eC_Value m_vTexUsedU
Used space/unused space in x direction in the Bitmap, due to Power of two limitations [0 1].
Definition: GUIBitmapPlane.h:768
void RotateY(const eC_Value vYAngle)
Definition: GUIBitmapPlane.h:273
eC_Value GetFar() const
Definition: GUIBitmapPlane.h:700
virtual eC_Value GetTopLeftU()
void EnableDepthTest()
Definition: GUIBitmapPlane.h:644
virtual void GetData(eC_TArray< eC_UByte > *pkData)
Definition: GUIBitmapPlane.h:416
virtual void SetTopLeftV(eC_Value vV)
void SetBytesPerPixel(const eC_UByte &ubBPP)
Definition: GUIBitmapPlane.h:365
void SetXPos2D(eC_Value vXPos)
void SetXPos3D(const eC_Value vXPos)
Definition: GUIBitmapPlane.h:212
virtual eC_Value GetBottomRightV()
virtual void SetTopRightU(eC_Value vU)
eC_TArray< eC_Value > m_avUVValues
array containing the uv values for all four plane corners
Definition: GUIBitmapPlane.h:765
void SetTopLeftUV(eC_Value vU, eC_Value vV)
Definition: GUIBitmapPlane.h:499
eC_Value GetXPos() const
Definition: GUIBitmapPlane.h:238
virtual void Clear(const eC_UByte ubRed=0, const eC_UByte ubGreen=0, const eC_UByte ubBlue=0, const eC_UByte ubAlpha=0)
Definition: GUIBitmapPlane.h:425
eC_Value GetYPos() const
Definition: GUIBitmapPlane.h:246
void SetAutoScale(const eC_Bool bAutoScale)
Definition: GUIBitmapPlane.h:399
eC_Bool m_bYFlipped
if data is upside down
Definition: GUIBitmapPlane.h:776
eC_Value GetXPos2D() const
eC_UInt m_uiScreenWidth
screen width, used to identify screen changes on calculation of 2DPlaneDistance
Definition: GUIBitmapPlane.h:772
void RotateX(const eC_Value vXAngle)
Definition: GUIBitmapPlane.h:265
eC_Value GetZAngle() const
Definition: GUIBitmapPlane.h:305
eC_Bool IsDepthTestEnabled() const
Definition: GUIBitmapPlane.h:665
void SetPos3D(eC_Value vXPos, eC_Value vYPos, eC_Value vZPos)
Definition: GUIBitmapPlane.h:201
void SetZPos3D(const eC_Value vZPos)
Definition: GUIBitmapPlane.h:230
virtual eC_Value GetTopLeftV()
virtual void SetBottomRightV(eC_Value vV)
virtual void SetWidth(eC_Value vWidth, eC_Bool bExpandCentered=false)
virtual void SetBottomLeftU(eC_Value vU)
void SetTopRightUV(eC_Value vU, eC_Value vV)
Definition: GUIBitmapPlane.h:628
virtual eC_Bool FinishDrawToBitmap()
Definition: GUIBitmapPlane.h:727
void SetYPos2D(eC_Value vYPos)
virtual eC_Bool DrawToScreen()
Definition: GUIBitmapPlane.h:737
virtual void SetAlphaValues(const eC_UByte ubTopLeft, const eC_UByte ubBottomLeft, const eC_UByte ubBottomRight, const eC_UByte ubTopRight)
Definition: GUIBitmapPlane.h:446
eC_Value m_v2DPlaneDistance
2DPlaneDistance
Definition: GUIBitmapPlane.h:774
eC_Value GetWidth() const
Definition: GUIBitmapPlane.h:333
virtual void SetTopLeftU(eC_Value vU)
virtual eC_Value Get2DPlaneDistance()
eC_UInt m_uiScreenHeight
screen height, used to identify screen changes on calculation of 2DPlaneDistance
Definition: GUIBitmapPlane.h:773
void SetYPos3D(const eC_Value vYPos)
Definition: GUIBitmapPlane.h:221
eC_Value m_vGUIObjectInitHeight
Height of the GUIObject at creation time of this BitmapPlane.
Definition: GUIBitmapPlane.h:761
eC_Value GetYAngle() const
Definition: GUIBitmapPlane.h:297
eC_Value GetCenterOfProjectionAbsY() const
const CGUIObject & GetParentGUIObject() const
Definition: GUIBitmapPlane.h:435
eC_Value m_vGUIObjectInitWidth
Width of the GUIObject at creation time of this BitmapPlane.
Definition: GUIBitmapPlane.h:758
CGUICommonEnums::ImageType_t GetFormat() const
Definition: GUIBitmapPlane.h:389
eC_Bool m_bAutoScale
flag describing a bitmap plane will be automatically be scaled on GUIObject scale
Definition: GUIBitmapPlane.h:763
virtual void SetTopRightV(eC_Value vV)
eC_Value GetWidthCorrected() const
eC_Value GetXAngle() const
Definition: GUIBitmapPlane.h:289
eC_Value m_vTexUsedV
Used space/unused space in y direction in the Bitmap, due to Power of two limitations [0 1].
Definition: GUIBitmapPlane.h:770
ImageType_t
Definition: GUICommonEnums.h:80
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
The graphics wrapper base class.
Definition: GfxWrap.h:84