11#include "../../c-api/gui/controls/fade_label.h"
58 m_controlHandle = m_interface->kodi_gui->window->get_control_fade_label(
59 m_interface->kodiBase, m_Window->GetControlHandle(), controlId);
62 "kodi::gui::controls::CFadeLabel can't create control class from Kodi !!!");
81 m_interface->kodi_gui->control_fade_label->set_visible(m_interface->kodiBase, m_controlHandle,
94 m_interface->kodi_gui->control_fade_label->add_label(m_interface->kodiBase, m_controlHandle,
108 char* ret = m_interface->kodi_gui->control_fade_label->get_label(m_interface->kodiBase,
112 if (std::strlen(ret))
114 m_interface->free_string(m_interface->kodiBase, ret);
128 m_interface->kodi_gui->control_fade_label->set_scrolling(m_interface->kodiBase, m_controlHandle,
139 m_interface->kodi_gui->control_fade_label->reset(m_interface->kodiBase, m_controlHandle);
Definition FadeLabel.h:47
@ ADDON_LOG_FATAL
4 : To notify fatal unrecoverable errors, which can may also indicate upcoming crashes.
Definition addon_base.h:197
void SetScrolling(bool scroll)
To enable or disable scrolling on fade label.
Definition FadeLabel.h:126
CFadeLabel(CWindow *window, int controlId)
Construct a new control.
Definition FadeLabel.h:56
~CFadeLabel() override=default
Destructor.
void Reset()
To reset al inserted labels.
Definition FadeLabel.h:137
void AddLabel(const std::string &label)
To add additional text string on fade label.
Definition FadeLabel.h:92
std::string GetLabel() const
Get the used text from button.
Definition FadeLabel.h:105
void SetVisible(bool visible)
Set the control on window to visible.
Definition FadeLabel.h:79
void ATTR_DLL_LOCAL Log(const ADDON_LOG loglevel, const char *format,...)
Add a message to Kodi's log.
Definition AddonBase.h:1938