diff options
Diffstat (limited to 'xbmc/interfaces/legacy/Control.h')
-rw-r--r-- | xbmc/interfaces/legacy/Control.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/xbmc/interfaces/legacy/Control.h b/xbmc/interfaces/legacy/Control.h index b4f6da9aef..a21b614a11 100644 --- a/xbmc/interfaces/legacy/Control.h +++ b/xbmc/interfaces/legacy/Control.h @@ -328,13 +328,16 @@ namespace XBMCAddon */ virtual void setTextures(const char* up, const char* down, const char* upFocus, - const char* downFocus); + const char* downFocus, + const char* upDisabled, const char* downDisabled); #ifndef SWIG color_t color; std::string strTextureUp; std::string strTextureDown; std::string strTextureUpFocus; std::string strTextureDownFocus; + std::string strTextureUpDisabled; + std::string strTextureDownDisabled; #endif private: @@ -1360,13 +1363,14 @@ namespace XBMCAddon 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, + 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* shadowColor = NULL, const char* focusedColor = NULL, + const char* disabledOnTexture = NULL, const char* disabledOffTexture = NULL); // setSelected() Method /** @@ -1444,6 +1448,8 @@ namespace XBMCAddon std::string strTextureRadioOnNoFocus; std::string strTextureRadioOffFocus; std::string strTextureRadioOffNoFocus; + std::string strTextureRadioOnDisabled; + std::string strTextureRadioOffDisabled; color_t textColor; color_t disabledColor; int textOffsetX; |