Kodi Development 22.0
for Binary and Script based Add-Ons
 
All Classes Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
CRendering

Inherits CAddonGUIControlBase.

Public Member Functions

virtual bool Create (int x, int y, int w, int h, kodi::HardwareContext device)
 To create rendering control on Add-on.
 
 CRendering (CWindow *window, int controlId)
 Construct a new control.
 
virtual bool Dirty ()
 Call from Kodi where add-on becomes asked about dirty rendering region.
 
virtual void Render ()
 Render process call from Kodi.
 
void SetIndependentCallbacks (kodi::gui::ClientHandle cbhdl, bool(*CBCreate)(kodi::gui::ClientHandle cbhdl, int x, int y, int w, int h, kodi::HardwareContext device), void(*CBRender)(kodi::gui::ClientHandle cbhdl), void(*CBStop)(kodi::gui::ClientHandle cbhdl), bool(*CBDirty)(kodi::gui::ClientHandle 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!
 
virtual void Stop ()
 Call from Kodi to stop rendering process.
 
 ~CRendering () override
 Destructor.
 
- Public Member Functions inherited from CAddonGUIControlBase
KODI_GUI_LISTITEM_HANDLE GetControlHandle () const
 

Additional Inherited Members

- Protected Member Functions inherited from CAddonGUIControlBase
 CAddonGUIControlBase (CAddonGUIControlBase *window)
 
- Protected Attributes inherited from CAddonGUIControlBase
KODI_GUI_LISTITEM_HANDLE m_controlHandle
 
AddonToKodiFuncTable_Addonm_interface
 
CAddonGUIControlBasem_Window
 

The documentation for this class was generated from the following file: