Kodi Development  20.0
for Binary and Script based Add-Ons

Inherits Control.

Public Member Functions

bool canAcceptMessages (int actionId) override
 
 ControlRadioButton (long x, long y, long width, long height, const String &label, const char *focusOnTexture=NULL, const char *noFocusOnTexture=NULL, const char *focusOffTexture=NULL, const char *noFocusOffTexture=NULL, const char *focusTexture=NULL, const char *noFocusTexture=NULL, long textOffsetX=CONTROL_TEXT_OFFSET_X, long textOffsetY=CONTROL_TEXT_OFFSET_Y, long _alignment=(XBFONT_LEFT|XBFONT_CENTER_Y), const char *font=NULL, const char *textColor=NULL, const char *disabledColor=NULL, long angle=0, const char *shadowColor=NULL, const char *focusedColor=NULL, const char *disabledOnTexture=NULL, const char *disabledOffTexture=NULL)
 
CGUIControl * Create () override
 
 isSelected ()
 

Function: isSelected()


Returns the radio buttons's selected status. More...
 
 setLabel (...)
 

Function: setLabel(label[, font, textColor, disabledColor, shadowColor, focusedColor])


Sets the radio buttons text attributes. More...
 
 setRadioDimension (...)
 

Function: setRadioDimension(x, y, width, height)


Sets the radio buttons's radio texture's position and size. More...
 
 setSelected (...)
 

Function: setSelected(selected)


Sets the radio buttons's selected status. More...
 
- Public Member Functions inherited from Control
 controlDown (...)
 

Function: controlDown(control)


Sets the controls down navigation. More...
 
 controlLeft (...)
 

Function: controlLeft(control)


Sets the controls left navigation. More...
 
 controlRight (...)
 

Function: controlRight(control)


Sets the controls right navigation. More...
 
 controlUp (...)
 

Function: controlUp(control)


Sets the controls up navigation. More...
 
 getHeight ()
 

Function: getHeight()


Returns the control's current height as an integer. More...
 
 getId () inline bool operator
 

Function: getId()


Returns the control's current id as an integer. More...
 
 getWidth ()
 

Function: getWidth()


Returns the control's current width as an integer. More...
 
 getX ()
 

Function: getX()


Returns the control's current X position. More...
 
 getY ()
 

Function: getY()


Returns the control's current Y position. More...
 
 isVisible (...)
 

Function: isVisible()


Get the control's visible/hidden state with respect to the container/window More...
 
 setAnimations (...)
 

Function: setAnimations([(event, attr,)*])


Sets the control's animations. More...
 
 setEnableCondition (...)
 

Function: setEnableCondition(enable)


Sets the control's enabled condition. More...
 
 setEnabled (...)
 

Function: setEnabled(enabled)


Sets the control's enabled/disabled state. More...
 
 setHeight (...)
 

Function: setHeight(height)


Sets the controls height. More...
 
 setNavigation (...)
 

Function: setNavigation(up, down, left, right)


Sets the controls navigation. More...
 
 setPosition (...)
 

Function: setPosition(x, y)


Sets the controls position. More...
 
 setVisible (...)
 

Function: setVisible(visible)


Sets the control's visible/hidden state. More...
 
 setVisibleCondition (...)
 

Function: setVisibleCondition(visible[,allowHiddenFocus])


Sets the control's visible condition. More...
 
 setWidth (...)
 

Function: setWidth(width)


Sets the controls width. More...
 

Public Attributes

uint32_t align
 
UTILS::COLOR::Color disabledColor
 
UTILS::COLOR::Color focusedColor
 
int iAngle = 0
 
UTILS::COLOR::Color shadowColor
 
std::string strFont
 
std::string strText
 
std::string strTextureFocus
 
std::string strTextureNoFocus
 
std::string strTextureRadioOffDisabled
 
std::string strTextureRadioOffFocus
 
std::string strTextureRadioOffNoFocus
 
std::string strTextureRadioOnDisabled
 
std::string strTextureRadioOnFocus
 
std::string strTextureRadioOnNoFocus
 
UTILS::COLOR::Color textColor
 
int textOffsetX = 0
 
int textOffsetY = 0
 
- Public Attributes inherited from Control
int dwHeight = 0
 
int dwPosX = 0
 
int dwPosY = 0
 
int dwWidth = 0
 
int iControlDown = 0
 
int iControlId = 0
 
int iControlLeft = 0
 
int iControlRight = 0
 
int iControlUp = 0
 
int iParentId = 0
 
std::string m_label {}
 
bool m_visible {true}
 
CGUIControl * pGUIControl = nullptr
 

The documentation for this class was generated from the following file: