11#include "../../c-api/gui/controls/button.h"
53 m_controlHandle = m_interface->kodi_gui->window->get_control_button(
54 m_interface->kodiBase, m_Window->GetControlHandle(), controlId);
75 m_interface->kodi_gui->control_button->set_visible(m_interface->kodiBase, m_controlHandle,
88 m_interface->kodi_gui->control_button->set_enabled(m_interface->kodiBase, m_controlHandle,
101 m_interface->kodi_gui->control_button->set_label(m_interface->kodiBase, m_controlHandle,
116 m_interface->kodi_gui->control_button->get_label(m_interface->kodiBase, m_controlHandle);
119 if (std::strlen(ret))
121 m_interface->free_string(m_interface->kodiBase, ret);
135 m_interface->kodi_gui->control_button->set_label2(m_interface->kodiBase, m_controlHandle,
150 m_interface->kodi_gui->control_button->get_label2(m_interface->kodiBase, m_controlHandle);
153 if (std::strlen(ret))
155 m_interface->free_string(m_interface->kodiBase, ret);
@ ADDON_LOG_FATAL
4 : To notify fatal unrecoverable errors, which can may also indicate upcoming crashes.
Definition addon_base.h:197
void ATTR_DLL_LOCAL Log(const ADDON_LOG loglevel, const char *format,...)
Add a message to Kodi's log.
Definition AddonBase.h:1938