Introduce RenderRect for easy access to the full screen rect

This commit is contained in:
Flamefire committed 2014-09-26 15:05:19 +02:00
1 parent 25653ee55f
commit 19f81943d6
11 files changed
+48 -56

No files matched your search

+2 -1
View File
@@ -70,6 +70,7 @@ namespace VocaluxeLib
{
int GetRenderW();
int GetRenderH();
SRectF GetRenderRect();
bool IsTabNavigation();
float GetZFar();
@@ -147,7 +148,7 @@ namespace VocaluxeLib
void DrawTexture(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, bool mirrored = false);
void DrawTexture(CTextureRef textureRef, SRectF bounds, EAspect aspect);
void DrawTexture(CTextureRef textureRef, SRectF bounds, EAspect aspect, SColorF color);
void DrawTextureReflection(CTextureRef texture, SRectF rect, SColorF color, float reflectionSpace, float reflectionHeight);
void DrawTextureReflection(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, float reflectionSpace, float reflectionHeight);
CTextureRef AddTexture(string fileName);
void RemoveTexture(ref CTextureRef texture);