11#include "../../c-api/gui/controls/radio_button.h"
108 m_controlHandle = m_interface->kodi_gui->window->get_control_radio_button(
109 m_interface->kodiBase, m_Window->GetControlHandle(), controlId);
110 if (!m_controlHandle)
112 "kodi::gui::controls::CRadioButton can't create control class from Kodi !!!");
131 m_interface->kodi_gui->control_radio_button->set_visible(m_interface->kodiBase, m_controlHandle,
144 m_interface->kodi_gui->control_radio_button->set_enabled(m_interface->kodiBase, m_controlHandle,
157 m_interface->kodi_gui->control_radio_button->set_label(m_interface->kodiBase, m_controlHandle,
171 char* ret = m_interface->kodi_gui->control_radio_button->get_label(m_interface->kodiBase,
175 if (std::strlen(ret))
177 m_interface->free_string(m_interface->kodiBase, ret);
191 m_interface->kodi_gui->control_radio_button->set_selected(m_interface->kodiBase,
192 m_controlHandle, selected);
204 return m_interface->kodi_gui->control_radio_button->is_selected(m_interface->kodiBase,
@ 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