11 #include "../../c-api/gui/controls/button.h"
12 #include "../Window.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);
Definition: ListItem.h:26
@ ADDON_LOG_FATAL
4 : To notify fatal unrecoverable errors, which can may also indicate upcoming crashes.
Definition: addon_base.h:187
void ATTRIBUTE_HIDDEN Log(const AddonLog loglevel, const char *format,...)
Add a message to Kodi's log.
Definition: AddonBase.h:749