44#ifndef _orxVIEWPORT_H_
45#define _orxVIEWPORT_H_
57#define orxVIEWPORT_KU32_FLAG_ALIGN_CENTER 0x00000000
58#define orxVIEWPORT_KU32_FLAG_ALIGN_LEFT 0x10000000
59#define orxVIEWPORT_KU32_FLAG_ALIGN_RIGHT 0x20000000
60#define orxVIEWPORT_KU32_FLAG_ALIGN_TOP 0x40000000
61#define orxVIEWPORT_KU32_FLAG_ALIGN_BOTTOM 0x80000000
62#define orxVIEWPORT_KU32_FLAG_NO_DEBUG 0x01000000
67#define orxVIEWPORT_KU32_MAX_TEXTURE_NUMBER 8
76typedef enum __orxVIEWPORT_EVENT_t
#define orxCAMERA(STRUCTURE)
#define orxSHADER(STRUCTURE)
#define orxVIEWPORT(STRUCTURE)
#define orxTEXTURE(STRUCTURE)
orxDLLAPI void orxFASTCALL orxViewport_SetTextureList(orxVIEWPORT *_pstViewport, orxU32 _u32TextureNumber, orxTEXTURE **_apstTextureList)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetRelativePosition(orxVIEWPORT *_pstViewport, orxU32 _u32AlignFlags)
orxDLLAPI void orxFASTCALL orxViewport_SetSize(orxVIEWPORT *_pstViewport, orxFLOAT _fWidth, orxFLOAT _fHeight)
orxDLLAPI orxFLOAT orxFASTCALL orxViewport_GetCorrectionRatio(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxU32 orxFASTCALL orxViewport_GetTextureCount(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxBOOL orxFASTCALL orxViewport_HasBackgroundColor(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxCOLOR *orxFASTCALL orxViewport_GetBackgroundColor(const orxVIEWPORT *_pstViewport, orxCOLOR *_pstColor)
orxDLLAPI const orxSHADER *orxFASTCALL orxViewport_GetShader(const orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_GetSize(const orxVIEWPORT *_pstViewport, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight)
orxDLLAPI orxBOOL orxFASTCALL orxViewport_IsShaderEnabled(const orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_EnableShader(orxVIEWPORT *_pstViewport, orxBOOL _bEnable)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetBlendMode(orxVIEWPORT *_pstViewport, orxDISPLAY_BLEND_MODE _eBlendMode)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_ClearBackgroundColor(orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_SetPosition(orxVIEWPORT *_pstViewport, orxFLOAT _fX, orxFLOAT _fY)
orxDLLAPI orxBOOL orxFASTCALL orxViewport_IsEnabled(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetBackgroundColor(orxVIEWPORT *_pstViewport, const orxCOLOR *_pstColor)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetShaderFromConfig(orxVIEWPORT *_pstViewport, const orxSTRING _zShaderID)
orxDLLAPI void orxFASTCALL orxViewport_Exit()
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_Init()
orxDLLAPI const orxSTRING orxFASTCALL orxViewport_GetName(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxViewport_GetBlendMode(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_GetTextureList(const orxVIEWPORT *_pstViewport, orxU32 _u32TextureNumber, orxTEXTURE **_apstTextureList)
orxDLLAPI orxAABOX *orxFASTCALL orxViewport_GetBox(const orxVIEWPORT *_pstViewport, orxAABOX *_pstBox)
orxDLLAPI void orxFASTCALL orxViewport_GetPosition(const orxVIEWPORT *_pstViewport, orxFLOAT *_pfX, orxFLOAT *_pfY)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetShader(orxVIEWPORT *_pstViewport, orxSHADER *_pstShader)
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_CreateFromConfig(const orxSTRING _zConfigID)
orxDLLAPI void orxFASTCALL orxViewport_Enable(orxVIEWPORT *_pstViewport, orxBOOL _bEnable)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetRelativeSize(orxVIEWPORT *_pstViewport, orxFLOAT _fWidth, orxFLOAT _fHeight)
orxDLLAPI orxCAMERA *orxFASTCALL orxViewport_GetCamera(const orxVIEWPORT *_pstViewport)
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_Get(const orxSTRING _zName)
orxDLLAPI void orxFASTCALL orxViewport_SetCamera(orxVIEWPORT *_pstViewport, orxCAMERA *_pstCamera)
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_Create()
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_Delete(orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_Setup()
orxDLLAPI void orxFASTCALL orxViewport_GetRelativeSize(const orxVIEWPORT *_pstViewport, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight)
@ orxVIEWPORT_EVENT_NUMBER
@ orxVIEWPORT_EVENT_RESIZE