13#include "GUIComponentManager.h"
21#include "GUIImageData.h"
22#include "GUICommonEnums.h"
26#include "GUIImageCache.h"
28#include "GUINinePatch.h"
29#include "GUIPerfMon.h"
31#include "GUILayerConfig.h"
35#define GETGFX CGUIComponentManager::GetInstance().GetGfxWrap()
36#define GETFNT CGUIComponentManager::GetInstance().GetFntWrap()
63inline static eC_UInt UINT_FROM_RGB(
const eC_UByte& R,
const eC_UByte& G,
const eC_UByte& B);
64inline static eC_UInt UINT_FROM_ARGB(
const eC_UByte& A,
const eC_UByte& R,
const eC_UByte& G,
const eC_UByte& B);
65inline static eC_UByte GET_A_VAL32(
const eC_UInt& argb);
66inline static eC_UByte GET_R_VAL32(
const eC_UInt& argb);
67inline static eC_UByte GET_G_VAL32(
const eC_UInt& argb);
68inline static eC_UByte GET_B_VAL32(
const eC_UInt& argb);
148 const eC_UInt &uiWidth,
149 const eC_UInt &uiHeight);
211 const eC_UByte &ubRed,
212 const eC_UByte &ubGreen,
213 const eC_UByte &ubBlue,
214 const eC_UByte &ubAlpha = 255)
322 const eC_Value& vStartAngle,
323 const eC_Value& vEndAngle,
324 const eC_Value& vRotationAngle,
325 const eC_Bool &bFilled);
338 const eC_Value& vRingWidth,
339 const eC_Value& vStartAngle,
340 const eC_Value& vEndAngle,
341 const eC_Value& vRotationAngle,
342 const eC_Bool &bFilled);
350 const eC_Value& vAbsX1,
const eC_Value& vAbsY1,
351 const eC_String *
const lpString);
409 const eC_Value& vAbsX1,
const eC_Value& vAbsY1,
410 const eC_Value& vAbsX2,
const eC_Value& vAbsY2)
448 const eC_Value& vAbsDestX,
449 const eC_Value& vAbsDestY);
460 const eC_Value& vAbsDestX,
461 const eC_Value& vAbsDestY)
480 const eC_Value& vAbsDestX,
481 const eC_Value& vAbsDestY,
482 const eC_Value& vWidth,
483 const eC_Value& vHeight,
484 const eC_Bool &bStretch =
true,
485 const eC_UByte &ubAlpha = 255);
505 const eC_UInt uiTopBorder,
506 const eC_UInt uiBottomBorder,
507 const eC_UInt uiLeftBorder,
508 const eC_UInt uiRightBorder,
509 const eC_UByte &ubAlpha = 255);
522 const eC_UByte &ubAlpha = 255);
536 const eC_Bool &bStretch =
true,
537 const eC_UByte &ubAlpha = 255);
552 const eC_UByte &ubAlpha = 255);
579 const eC_UInt &uiAbsSrcX,
const eC_UInt &uiAbsSrcY,
580 const eC_UInt &uiSrcWidth,
const eC_UInt &uiSrcHeight,
581 const eC_Value& vAbsDestX,
const eC_Value& vAbsDestY,
582 const eC_Value& vDestWidth,
const eC_Value& vDestHeight,
583 const eC_UByte &ubAlpha = 255,
584 const eC_Value& vAngle = eC_FromFloat(0),
585 const eC_Value& vRotCenterX = eC_FromFloat(0.5),
586 const eC_Value& vRotCenterY = eC_FromFloat(0.5));
659 void SetZoom(
const eC_Value& vZoomFactor,
const CGUIRect& kZoomRect)
661 m_vZoomFactor = vZoomFactor;
662 m_kZoomArea = kZoomRect;
663 m_bZoomActive =
true;
666 void GetZoom(eC_Value& vZoomFactor,
CGUIRect& kZoomRect)
const
668 vZoomFactor = m_vZoomFactor;
669 kZoomRect = m_kZoomArea;
674 m_vZoomFactor = eC_FromInt(1);
675 m_bZoomActive =
false;
678 eC_Bool IsZoomActive()
const
680 return m_bZoomActive;
693 const eC_Value& vWidth,
694 const eC_Value& vHeight);
745 void RequiredSpace(
const eC_String *
const pkText, eC_Value& vWidth, eC_Value& vHeight);
755 const eC_String*
const pkText,
758 const eC_Bool& bStartAtEnd =
false);
825 const eC_Char*
const pcPath,
826 const eC_UInt &uiFontSize,
853 const eC_UInt& uiGlyphWidth,
854 const eC_UInt& uiGlyphHeight,
855 eC_UByte* pkGlyphBitmap);
885#if defined NON_POWER_OF_2_TEXTURES
886 return eC_ToInt(eC_Ceil(vValue));
888 eC_UInt uiPOW = eC_ToInt(vValue);
890 uiPOW |= uiPOW >> 16;
921 inline void EnableDebugOutput()
923 m_bDebugOutput =
true;
927 inline void DisableDebugOutput()
929 m_bDebugOutput =
false;
1001 const eC_Value& vAbsX1,
1002 const eC_Value& vAbsY1,
1003 const eC_Value& vAbsX2,
1004 const eC_Value& vAbsY2) = 0;
1018 const eC_Value& vAbsX1,
const eC_Value& vAbsY1,
1019 const eC_Value& vAbsX2,
const eC_Value& vAbsY2) = 0;
1033 const eC_Value& vAbsX1,
1034 const eC_Value& vAbsY1,
1035 const eC_Value& vAbsX2,
1036 const eC_Value& vAbsY2) = 0;
1049 const eC_Value& vAbsX1,
1050 const eC_Value& vAbsY1,
1051 const eC_Value& vAbsX2,
1052 const eC_Value& vAbsY2,
1053 const eC_Bool &bFilled) = 0;
1073 const eC_Value& vX1,
1074 const eC_Value& vY1,
1075 const eC_Value& vX2,
1076 const eC_Value& vY2,
1077 const eC_Value& vStartAngle,
1078 const eC_Value& vEndAngle,
1079 const eC_Value& vRotationAngle,
1080 const eC_Bool &bFilled) = 0;
1101 const eC_Value& vX1,
1102 const eC_Value& vY1,
1103 const eC_Value& vX2,
1104 const eC_Value& vY2,
1105 const eC_Value& vRingWidth,
1106 const eC_Value& vStartAngle,
1107 const eC_Value& vEndAngle,
1108 const eC_Value& vRotationAngle,
1109 const eC_Bool & bFilled) = 0;
1176 const eC_String& kPath,
1190 const eC_UInt& uiWidth,
1191 const eC_UInt& uiHeight,
1192 const eC_UInt& eImageType,
1201 const eC_String& kPath,
1214 const eC_UInt& uiWidth,
1215 const eC_UInt& uiHeight,
1216 const eC_UInt& eImageType,
1283 const eC_UInt &uiAbsSrcX,
const eC_UInt &uiAbsSrcY,
1284 const eC_UInt &uiSrcWidth,
const eC_UInt &uiSrcHeight,
1285 const eC_Value& vAbsDestX,
const eC_Value& vAbsDestY,
1286 const eC_Value& vDestWidth,
const eC_Value& vDestHeight,
1287 const eC_UByte &ubAlpha = 255,
1288 const eC_Value& vAngle = eC_FromFloat(0),
1289 const eC_Value& vRotCenterX = eC_FromFloat(0.5),
const eC_Value& vRotCenterY = eC_FromFloat(0.5)) = 0;
1310 const eC_UByte &ubRed,
1311 const eC_UByte &ubGreen,
1312 const eC_UByte &ubBlue,
1313 const eC_UByte &ubAlpha = 255) = 0;
1324 void SetInvalidatedRect(
const eC_Value& vAbsX1,
const eC_Value& vAbsY1,
const eC_Value& vAbsX2,
const eC_Value& vAbsY2);
1356 GUIBitmapPlaneID_t uiNewBitmapID,
1358 const eC_Value& vWidth,
const eC_Value& vHeight);
1443 eC_Bool m_bZoomActive;
1444 eC_Value m_vZoomFactor;
1450 eC_UInt m_uiRedrawGUICounter;
1451 eC_UInt m_uiRefreshGUICounter;
1458 GUIBitmapPlaneID_t GetFreeBitmapID();
1461 void ResetInvalidation();
1480 eC_Bool m_bForceRefresh;
1492 eC_TArray<CGUIBitmapPlane*> m_apBitmaps;
1499 GUIBitmapPlaneID_t m_uiUsedRenderBitmapID;
1502 eC_Bool m_bCurrentlyRedrawing;
1506 eC_Bool m_bDebugOutput;
1510 static eC_Bool ms_bWatermark;
1514inline static eC_UInt UINT_FROM_RGB(
const eC_UByte& R,
const eC_UByte& G,
const eC_UByte& B)
1516 return (
static_cast<eC_UInt
>(B)) | ((
static_cast<eC_UInt
>(G)) << 8) | ((
static_cast<eC_UInt
>(R)) << 16);
1520inline static eC_UInt UINT_FROM_ARGB(
const eC_UByte& A,
const eC_UByte& R,
const eC_UByte& G,
const eC_UByte& B)
1522 return (
static_cast<eC_UInt
>(B)) | ((
static_cast<eC_UInt
>(G)) << 8) | ((
static_cast<eC_UInt
>(R)) << 16) | ((
static_cast<eC_UInt
>(A)) << 24);
1526inline static eC_UByte GET_A_VAL32(
const eC_UInt& argb)
1528 return static_cast<eC_UByte
>((argb >> 24) & 0xFF);
1531inline static eC_UByte GET_R_VAL32(
const eC_UInt& argb)
1533 return static_cast<eC_UByte
>((argb >> 16) & 0xFF);
1537inline static eC_UByte GET_G_VAL32(
const eC_UInt& argb)
1539 return static_cast<eC_UByte
>((argb >> 8) & 0xFF);
1543inline static eC_UByte GET_B_VAL32(
const eC_UInt& argb)
1545 return static_cast<eC_UByte
>(argb & 0xFF);
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
Helper Macros in Guiliani
ImageResource_t
Enumeration of image resource ids.
Definition: GUIImageResource.h:126
The font wrapper base class.
Definition: FntWrap.h:36
GUIFont_t
Definition: FntWrap.h:44
The bitmap plane base class.
Definition: GUIBitmapPlane.h:152
ImageType_t
Definition: GUICommonEnums.h:80
central component-manager
Definition: GUIComponentManager.h:62
GUI base class for any Guiliani application.
Definition: GUI.h:47
Implementation of Cache for Guiliani image resources.
Definition: GUIImageCacheImpl.h:23
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29
Helper class to for storing Nine-Patch images.
Definition: GUINinePatch.h:41
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
eC_Value GetY2() const
Definition: GUIRect.h:199
eC_Value GetX2() const
Definition: GUIRect.h:198
eC_Value GetX1() const
Definition: GUIRect.h:196
eC_Value GetY1() const
Definition: GUIRect.h:197
Manages resource ID mappings for fonts, images, sounds, etc.
Definition: GUIResourceManager.h:111
HorAligned_t
Possible horizontal alignments.
Definition: GUIText.h:124
VerAligned_t
Possible vertical alignments.
Definition: GUIText.h:116
The graphics wrapper base class.
Definition: GfxWrap.h:84
void FilledRect(const CGUIRect &kAbsRect)
virtual eC_Bool SupportCompressedFonts() const
Definition: GfxWrap.h:843
virtual eC_UInt GetVirtualScreenWidth()=0
void GetRenderingOffset(eC_Value &vOffsetX, eC_Value &vOffsetY)
virtual void LoadGlyphData(CGUIImageData *pkImageData, const eC_UInt &uiGlyphWidth, const eC_UInt &uiGlyphHeight, eC_UByte *pkGlyphBitmap)
CGUIBitmapPlane & GetBitmapPlane(const GUIBitmapPlaneID_t uiBitmapID)
void FittingNumChars(const eC_String *const pkText, eC_Value vWidthMax, eC_UInt &uiNumChars, const eC_Bool &bStartAtEnd=false)
void Ellipse(const CGUIRect &kAbsRect, const eC_Bool &bFilled)
void SetInvalidatedRect(const CGUIRect &NewAbsRect)
Definition: GfxWrap.h:1330
void SetGlobalAlpha(const eC_UByte &ubAlpha)
Definition: GfxWrap.h:253
void UnloadFont(const FontResource_t &eFontID)
virtual eC_Bool Refresh(const RefreshCall_t eRefreshCallType)=0
virtual CGUIBitmapPlane * CreateGfxDependentBitmap(GUIBitmapPlaneID_t uiNewBitmapID, const CGUIObject &rkParentObject, const eC_Value &vWidth, const eC_Value &vHeight)
virtual void ResetCliprect()
Resets the clipping rectangle.
virtual eC_UInt GetVirtualScreenHeight()=0
virtual void StartHandleDraw(const CGUIRect &crkClipRect)
void ChangeFont(const FontResource_t &eFontID, const eC_Char *const pcPath, const eC_UInt &uiFontSize, const CFntWrap::GUIFont_t &eFontStyle)
void SetGfxEnv(CGfxEnv *pkGfxEnv)
eC_Bool m_bOptimizedBlit
if optimized blit is active
Definition: GfxWrap.h:1434
virtual eC_Bool SetNOFImagesImpl(const eC_UInt uiNOFImages)
void BlitImgExt(const ImageResource_t &eID, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_Bool &bStretch=true, const eC_UByte &ubAlpha=255)
virtual eC_UInt GetScreenVerticalPPI() const
Definition: GfxWrap.h:169
virtual void BlitImgExtImpl(const ImageResource_t &eID, const eC_UInt &uiAbsSrcX, const eC_UInt &uiAbsSrcY, const eC_UInt &uiSrcWidth, const eC_UInt &uiSrcHeight, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vDestWidth, const eC_Value &vDestHeight, const eC_UByte &ubAlpha=255, const eC_Value &vAngle=eC_FromFloat(0), const eC_Value &vRotCenterX=eC_FromFloat(0.5), const eC_Value &vRotCenterY=eC_FromFloat(0.5))=0
void BlitImgExt(const ImageResource_t &eID, const CGUIRect &kAbsRect, const eC_Bool &bStretch=true, const eC_UByte &ubAlpha=255)
void Ring(const CGUIRect &kAbsRect, const eC_Value &vRingWidth, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)
eC_UInt m_uiScreenWidth
Screen width.
Definition: GfxWrap.h:1373
CGUIBitmapPlane & GetDummyBitmap()
virtual ~CGfxWrap(void)
Destructor.
virtual void StoreWrapperState()
Definition: GfxWrap.h:190
eC_Value GetTextXPosAdjustment(const CGUIText::HorAligned_t eHorAlignment)
CGUIRect GetImgOriginRect(const ImageResource_t &eID) const
Definition: GfxWrap.h:608
static eC_UInt GetNextPowerOf2(const eC_Value &vValue)
Definition: GfxWrap.h:883
eC_Bool m_bDoubleBufferingEnforcesFlipping
Definition: GfxWrap.h:1387
eC_Bool GetDoubleBufferingEnforcesFlipping()
Definition: GfxWrap.h:911
eC_Semaphore m_kGfxWrapSemaphore
Semaphore to lock access to methods used in a multi thread context.
Definition: GfxWrap.h:1423
void RequiredSpace(const eC_String *const pkText, eC_Value &vWidth, eC_Value &vHeight)
virtual void UnloadImg(const ImageResource_t &eID)
Definition: GfxWrap.h:1230
void SetFontSpacing(const eC_Float &fSpacing)
virtual void ClearInvalidRect()
Definition: GfxWrap.h:430
virtual eC_Value SetLineWidth(const eC_Value &vWidth)
void Arc(const CGUIRect &kAbsRect, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)
virtual void StartRedrawGUI()
Definition: GfxWrap.h:1135
virtual void Ellipse(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2, const eC_Bool &bFilled)=0
virtual eC_UInt GetPhysicalScreenWidth()=0
void Rect(const CGUIRect &kAbsRect)
eC_UInt m_uiNOFImages
total number of image-objects
Definition: GfxWrap.h:1404
CGUICommonEnums::ImageType_t GetScreenFormat() const
Definition: GfxWrap.h:180
CGfxEnv * m_pkGfxEnv
pointer to the graphics-environment
Definition: GfxWrap.h:1401
eC_UInt m_uiScreenHeight
Screen height.
Definition: GfxWrap.h:1376
eC_TListDoubleLinked< CGUIRect > m_kLastFrameInvalidatedRectList
This is the list of regions which have been invalidated during the LAST frame.
Definition: GfxWrap.h:1382
virtual void LoadImgImpl(void *pkMemory, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &eImageType, const ImageResource_t &eID)=0
void ForceRefresh()
Definition: GfxWrap.h:127
virtual GUIBitmapPlaneID_t CreateBitmapPlane(const CGUIObject &rkParentObject, const eC_Value &vWidth, const eC_Value &vHeight)
eC_TListDoubleLinked< CGUIRect > m_kInvalidatedRectList
This is the list of invalidated rectangular regions within the GUI.
Definition: GfxWrap.h:1379
virtual void SyncWorkingMemory()
void BlitImgExt(const ImageResource_t &eID, const eC_UInt &uiAbsSrcX, const eC_UInt &uiAbsSrcY, const eC_UInt &uiSrcWidth, const eC_UInt &uiSrcHeight, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vDestWidth, const eC_Value &vDestHeight, const eC_UByte &ubAlpha=255, const eC_Value &vAngle=eC_FromFloat(0), const eC_Value &vRotCenterX=eC_FromFloat(0.5), const eC_Value &vRotCenterY=eC_FromFloat(0.5))
virtual void SetScreenSize(const eC_UInt &uiWidth, const eC_UInt &uiHeight)
virtual eC_Bool FinishDrawToBitmap()
void SetForegroundColor(const eC_UInt &uiCol)
Definition: GfxWrap.h:225
void SetForegroundColor(const eC_UByte &ubRed, const eC_UByte &ubGreen, const eC_UByte &ubBlue, const eC_UByte &ubAlpha=255)
Definition: GfxWrap.h:210
virtual void ResetWorkingMemory()
virtual void LoadImgImpl(const eC_String &kPath, const ImageResource_t &eID)=0
void DeleteBitmapPlanes(const CGUIObject *pkObject)
virtual eC_UInt GetImgWidthImpl(const ImageResource_t &eID) const =0
eC_Bool SetNOFFonts(const eC_UInt uiNOFFonts)
CGUIRect m_kClippingRect
Definition: GfxWrap.h:1395
eC_UInt GetImgWidth(const ImageResource_t &eID) const
void SetDoubleBufferingEnforcesFlipping(const eC_Bool bDoubleBufferingEnforcesFlipping)
Definition: GfxWrap.h:903
virtual eC_UInt GetImageSize(const ImageResource_t &eID) const =0
void SetScreenFormat(const CGUICommonEnums::ImageType_t &uiScreenFormat)
Definition: GfxWrap.h:185
static const eC_Value cvTwoPi
constant for 2 PI
Definition: GfxWrap.h:1440
virtual void BlitImgNinePatch(const ImageResource_t &eID, const CGUIRect &kAbsRect, const eC_UInt uiTopBorder, const eC_UInt uiBottomBorder, const eC_UInt uiLeftBorder, const eC_UInt uiRightBorder, const eC_UByte &ubAlpha=255)
void BlitImgExt(const ImageResource_t &eID, const CGUIRect &kSrcAbsRect, const CGUIRect &kDstAbsRect, const eC_UByte &ubAlpha=255)
virtual eC_Bool DrawToBitmap(GUIBitmapPlaneID_t uiBitmapID)
eC_UByte GetGlobalAlpha() const
Definition: GfxWrap.h:273
eC_Bool m_bFilteredBlit
if filtered blit is active
Definition: GfxWrap.h:1437
virtual void Rect(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0
virtual eC_Bool ImageExists(const ImageResource_t eID) const =0
virtual void UnloadGlyphData(CGUIImageData *pkImageData)
eC_UInt GetForegroundColor() const
Definition: GfxWrap.h:268
friend class CGUIBackgroundImageLoaderThread
Definition: GfxWrap.h:86
eC_UByte ApplyGlobalAlpha(const eC_UByte ubAlpha) const
Definition: GfxWrap.h:280
void BlitImgNinePatch(const ImageResource_t &eID, const CGUIRect &kAbsRect, const CGUINinePatch &kNinePatch, const eC_UByte &ubAlpha=255)
void GetGlyphMetrics(const eC_Char cChar, CFntWrap::GlyphMetrics_t &kMetrics)
void DeleteBitmapPlane(const GUIBitmapPlaneID_t uiBitmapID)
eC_Int GetDescender() const
eC_Bool SetNOFImages(const eC_UInt uiNOFImages)
Definition: GfxWrap.h:1152
virtual void ReleaseWorkingMemory(eC_UByte *pkMemory)
virtual eC_UInt GetPhysicalScreenHeight()=0
void LoadFont(const FontResource_t &eFontID)
eC_Value m_vRenderingOffsetY
offset in y-direction
Definition: GfxWrap.h:1428
virtual void FilledRect(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0
eC_Value GetTextYPosAdjustment(const CGUIText::VerAligned_t eVerAlignment)
virtual void RestoreWrapperState()
Definition: GfxWrap.h:195
virtual eC_UByte * GetWorkingMemory(const eC_UInt &uiSize)
eC_Int GetInternalLeading() const
void SetFont(const FontResource_t &eID)
GUIBitmapPlaneID_t GetUsedBitmapPlaneID() const
Definition: GfxWrap.h:718
eC_Value m_vRenderingOffsetX
offset in x-direction
Definition: GfxWrap.h:1426
eC_Bool m_bInvalidationInLastFrame
Definition: GfxWrap.h:1420
void InvalidateRect(const CGUIRect &kInvalidRect)
virtual void Arc(const eC_Value &vX1, const eC_Value &vY1, const eC_Value &vX2, const eC_Value &vY2, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)=0
void Line(const CGUIRect &kAbsRect)
const CGUIRect & GetInvalidatedRect() const
Definition: GfxWrap.h:418
virtual void BlitImgExtImpl(const CGUIImageData &kImageData, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY)=0
virtual void DestroyScreen()
Method to clean and release the screen which was created via the CreateScreen Method.
Definition: GfxWrap.h:1141
virtual void SetForegroundColorImpl(const eC_UByte &ubRed, const eC_UByte &ubGreen, const eC_UByte &ubBlue, const eC_UByte &ubAlpha=255)=0
virtual void EndRedrawGUI()
Callback which is called at the end of RedrawGUI() after all Invalidated areas were drawn and refresh...
Definition: GfxWrap.h:1138
virtual eC_UInt GetImgHeightImpl(const ImageResource_t &eID) const =0
void SetInvalidatedRect(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)
eC_UByte m_ubAlpha
Currently set global alpha value.
Definition: GfxWrap.h:1410
void UpdateGlobalAlpha(const eC_UByte &ubAlpha)
Definition: GfxWrap.h:242
void LoadImg(const eC_String &kPath, const ImageResource_t &eID)
eC_String m_kWrapperName
name of the wrapper
Definition: GfxWrap.h:1431
virtual eC_TArray< eC_UByte > * GetBitmapPlaneData(const GUIBitmapPlaneID_t &eBitmapPlaneID)
virtual eC_UInt GetNOFImages()
Definition: GfxWrap.h:867
eC_Int GetAscender() const
virtual eC_UInt GetScreenHorizontalPPI() const
Definition: GfxWrap.h:175
virtual void Line(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0
the following methods are protected to prevent calling them directly
CGUIRect m_kInvalidatedRect
Definition: GfxWrap.h:1391
eC_Value m_vLineWidth
Line width in pixels.
Definition: GfxWrap.h:1398
RefreshCall_t
Definition: GfxWrap.h:109
@ LAST_REFRESH_OF_FRAME
The last refresh call in this frame.
Definition: GfxWrap.h:113
@ INTERMEDIATE_REFRESH
Any Refresh between the first and the last call.
Definition: GfxWrap.h:112
@ FORCED_REFRESH
Refresh was forced. A refresh of this type is used in addition to one of the others,...
Definition: GfxWrap.h:114
@ SINGLE_REFRESH
Only one refresh in this frame. So it is the first and the last call.
Definition: GfxWrap.h:110
@ FIRST_REFRESH_OF_FRAME
The first refresh call in this frame.
Definition: GfxWrap.h:111
void Text(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_String *const lpString)
virtual eC_Bool DrawToScreen()
virtual void SetFilteredBlit(const eC_Bool &bFilteredBlit)
Definition: GfxWrap.h:953
void DeInit()
Deinitialization.
virtual void GetCliprect(CGUIRect &AbsClipRect) const
void BlitImg(const ImageResource_t &eID, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY)
eC_Value m_vGlobalAlphaFactor
Definition: GfxWrap.h:1414
virtual void Ring(const eC_Value &vX1, const eC_Value &vY1, const eC_Value &vX2, const eC_Value &vY2, const eC_Value &vRingWidth, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)=0
virtual void SetTargetLayer(const eC_UInt &uiLayerID)
Definition: GfxWrap.h:644
virtual void SetCliprect(const CGUIRect &NewAbsClipRect)=0
virtual void SetRenderingOffset(const eC_Value &vOffsetX, const eC_Value &vOffsetY)
virtual void SetOptimizedBlit(const eC_Bool &bOptimizedBlit)
Definition: GfxWrap.h:945
virtual void SetWindowCaption(const eC_String &kText)
void LoadImg(void *pkMemory, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &eImageType, const ImageResource_t &eID)
void BlitImg(const CGUIImageData &kImageData, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY)
Definition: GfxWrap.h:458
eC_UInt GetImgHeight(const ImageResource_t &eID) const
eC_UInt m_uiColor
Currently set foreground color.
Definition: GfxWrap.h:1407
void InvalidateRect(const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)
Definition: GfxWrap.h:408
static void DeleteInstance()
Delete the graphics wrapper instance.
void ResetInvalidatedRect()
Resets the invalidated rectangle.
eC_String GetWrapperName() const
Definition: GfxWrap.h:937
virtual void RefreshImage(const ImageResource_t &eID, void *pkMemory)
Definition: GfxWrap.h:1223