![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <Rendering.h>
Public Member Functions | |
CRendering (CWindow *window, int controlId) | |
Construct a new control. More... | |
~CRendering () override | |
Destructor. More... | |
virtual bool | Create (int x, int y, int w, int h, void *device) |
To create rendering control on Add-on. More... | |
virtual void | Render () |
Render process call from Kodi. More... | |
virtual void | Stop () |
Call from Kodi to stop rendering process. More... | |
virtual bool | Dirty () |
Call from Kodi where add-on becomes asked about dirty rendering region. More... | |
void | SetIndependentCallbacks (GUIHANDLE cbhdl, bool(*CBCreate)(GUIHANDLE cbhdl, int x, int y, int w, int h, void *device), void(*CBRender)(GUIHANDLE cbhdl), void(*CBStop)(GUIHANDLE cbhdl), bool(*CBDirty)(GUIHANDLE cbhdl)) |
If the class is used independent (with "new CRendering") and not as parent (with "cCLASS_own : CRendering") from own must be the callback from Kodi to add-on overdriven with own functions! More... | |
![]() | |
GUIHANDLE | GetControlHandle () const |
Additional Inherited Members | |
![]() | |
CAddonGUIControlBase (CAddonGUIControlBase *window) | |
virtual | ~CAddonGUIControlBase ()=default |
![]() | |
GUIHANDLE | m_controlHandle |
AddonToKodiFuncTable_Addon * | m_interface |
CAddonGUIControlBase * | m_Window |