Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
General.h File Reference
#include "../AddonBase.h"
#include "../c-api/gui/general.h"


namespace  kodi
namespace  kodi::gui


void ATTR_DLL_LOCAL kodi::gui::Lock ()
 Performs a graphical lock of rendering engine.
void ATTR_DLL_LOCAL kodi::gui::Unlock ()
 Performs a graphical unlock of previous locked rendering engine.
int ATTR_DLL_LOCAL kodi::gui::GetScreenHeight ()
 Return the the current screen height with pixel.
int ATTR_DLL_LOCAL kodi::gui::GetScreenWidth ()
 Return the the current screen width with pixel.
int ATTR_DLL_LOCAL kodi::gui::GetVideoResolution ()
 Return the the current screen rendering resolution.
int ATTR_DLL_LOCAL kodi::gui::GetCurrentWindowDialogId ()
 Returns the id for the current 'active' dialog as an integer.
int ATTR_DLL_LOCAL kodi::gui::GetCurrentWindowId ()
 Returns the id for the current 'active' window as an integer.
kodi::HardwareContext kodi::gui::GetHWContext ()
 To get hardware specific device context interface.
AdjustRefreshRateStatus ATTR_DLL_LOCAL kodi::gui::GetAdjustRefreshRateStatus ()
 Get Adjust refresh rate setting status.