Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
GUITexture.h File Reference
#include "TextureManager.h"
#include "guiinfo/GUIInfoColor.h"
#include "utils/ColorUtils.h"
#include "utils/Geometry.h"
#include <functional>

Classes

class  CAspectRatio
 
class  CTextureInfo
 
class  CGUITexture
 

Macros

#define ASPECT_ALIGN_CENTER   0
 
#define ASPECT_ALIGN_LEFT   1
 
#define ASPECT_ALIGN_RIGHT   2
 
#define ASPECT_ALIGNY_CENTER   0
 
#define ASPECT_ALIGNY_TOP   4
 
#define ASPECT_ALIGNY_BOTTOM   8
 
#define ASPECT_ALIGN_MASK   3
 
#define ASPECT_ALIGNY_MASK   ~3
 

Typedefs

using CreateGUITextureFunc
 
using DrawQuadFunc
 

Macro Definition Documentation

◆ ASPECT_ALIGN_CENTER

#define ASPECT_ALIGN_CENTER   0

◆ ASPECT_ALIGN_LEFT

#define ASPECT_ALIGN_LEFT   1

◆ ASPECT_ALIGN_MASK

#define ASPECT_ALIGN_MASK   3

◆ ASPECT_ALIGN_RIGHT

#define ASPECT_ALIGN_RIGHT   2

◆ ASPECT_ALIGNY_BOTTOM

#define ASPECT_ALIGNY_BOTTOM   8

◆ ASPECT_ALIGNY_CENTER

#define ASPECT_ALIGNY_CENTER   0

◆ ASPECT_ALIGNY_MASK

#define ASPECT_ALIGNY_MASK   ~3

◆ ASPECT_ALIGNY_TOP

#define ASPECT_ALIGNY_TOP   4

Typedef Documentation

◆ CreateGUITextureFunc

Initial value:
std::function<CGUITexture*(
float posX, float posY, float width, float height, const CTextureInfo& texture)>
Definition GUITexture.h:78
Definition GUITexture.h:52
const char const uint8_t size_t unsigned int unsigned int * height
Definition kodi-dev-kit/include/kodi/c-api/addon-instance/ImageDecoder.h:417
const char const uint8_t size_t unsigned int * width
Definition kodi-dev-kit/include/kodi/c-api/addon-instance/ImageDecoder.h:416

◆ DrawQuadFunc

using DrawQuadFunc
Initial value:
std::function<void(const CRect& coords,
CTexture* texture,
const CRect* texCoords,
const float depth,
const bool blending)>
Texture loader class, subclasses of which depend on the render spec (DX, GL etc.)
Definition Texture.h:30
typedef void(ATTR_APIENTRYP PFN_KODI_ADDON_SCREENSAVER_STOP_V1)(const KODI_ADDON_SCREENSAVER_HDL hdl)
color
Definition modules_cpp_peripheral_lifetime_diagram_1.dox:7
uint32_t Color
Definition ColorUtils.h:23