From f8137f68a0f157c7dc7766a695a62d59b4198291 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 23 Jun 2020 16:16:11 +0300 Subject: Reverted SL-6109 keybinding changes Changes were moved to DRTVWR-514 --- indra/llui/llscrolllistcell.h | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) (limited to 'indra/llui/llscrolllistcell.h') diff --git a/indra/llui/llscrolllistcell.h b/indra/llui/llscrolllistcell.h index 19576fb247..d625ebddcc 100644 --- a/indra/llui/llscrolllistcell.h +++ b/indra/llui/llscrolllistcell.h @@ -59,8 +59,7 @@ public: visible; Optional userdata; - Optional value; // state of checkbox, icon id/name, date - Optional label; // description or text + Optional value; Optional tool_tip; Optional font; @@ -76,7 +75,6 @@ public: enabled("enabled", true), visible("visible", true), value("value"), - label("label"), tool_tip("tool_tip", ""), font("font", LLFontGL::getFontSansSerifSmall()), font_color("font_color", LLColor4::black), @@ -154,12 +152,11 @@ public: void setText(const LLStringExplicit& text); void setFontStyle(const U8 font_style); -protected: +private: LLUIString mText; S32 mTextWidth; const LLFontGL* mFont; LLColor4 mColor; - LLColor4 mHighlightColor; U8 mUseColor; LLFontGL::HAlign mFontAlignment; BOOL mVisible; @@ -172,7 +169,7 @@ protected: }; /* - * Cell displaying an image. AT the moment, this is specifically UI image + * Cell displaying an image. */ class LLScrollListIcon : public LLScrollListCell { @@ -226,26 +223,4 @@ private: LLDate mDate; }; -/* -* Cell displaying icon and text. -*/ - -class LLScrollListIconText : public LLScrollListText -{ -public: - LLScrollListIconText(const LLScrollListCell::Params& p); - /*virtual*/ ~LLScrollListIconText(); - /*virtual*/ void draw(const LLColor4& color, const LLColor4& highlight_color) const; - /*virtual*/ const LLSD getValue() const; - /*virtual*/ void setValue(const LLSD& value); - - - S32 getIconWidth() const; - /*virtual*/ void setWidth(S32 width);/* { LLScrollListCell::setWidth(width); mTextWidth = width - ; }*/ - -private: - LLPointer mIcon; - S32 mPad; -}; - #endif -- cgit v1.2.3