Remove two unused LLScrollListItem::addColumn and LLScrollListIcon constructor via LLUIImagePtr.
This commit is contained in:
@@ -112,16 +112,6 @@ struct SortScrollListItem
|
||||
//
|
||||
// LLScrollListIcon
|
||||
//
|
||||
LLScrollListIcon::LLScrollListIcon(LLUIImagePtr icon, S32 width)
|
||||
: LLScrollListCell(width),
|
||||
mIcon(icon),
|
||||
// <edit>
|
||||
mCallback(NULL),
|
||||
// </edit>
|
||||
mColor(LLColor4::white)
|
||||
{
|
||||
}
|
||||
|
||||
LLScrollListIcon::LLScrollListIcon(const LLSD& value, S32 width)
|
||||
: LLScrollListCell(width),
|
||||
// <edit>
|
||||
|
||||
@@ -136,7 +136,6 @@ private:
|
||||
class LLScrollListIcon : public LLScrollListCell
|
||||
{
|
||||
public:
|
||||
LLScrollListIcon( LLUIImagePtr icon, S32 width = 0);
|
||||
LLScrollListIcon(const LLSD& value, S32 width = 0);
|
||||
/*virtual*/ ~LLScrollListIcon();
|
||||
/*virtual*/ void draw(const LLColor4& color, const LLColor4& highlight_color) const;
|
||||
@@ -304,12 +303,6 @@ public:
|
||||
void addColumn( const std::string& text, const LLFontGL* font, S32 width = 0 , U8 font_style = LLFontGL::NORMAL, LLFontGL::HAlign font_alignment = LLFontGL::LEFT, BOOL visible = TRUE)
|
||||
{ mColumns.push_back( new LLScrollListText(text, font, width, font_style, font_alignment, LLColor4::black, FALSE, visible) ); }
|
||||
|
||||
void addColumn( LLUIImagePtr icon, S32 width = 0 )
|
||||
{ mColumns.push_back( new LLScrollListIcon(icon, width) ); }
|
||||
|
||||
void addColumn( LLCheckBoxCtrl* check, S32 width = 0 )
|
||||
{ mColumns.push_back( new LLScrollListCheck(check,width) ); }
|
||||
|
||||
void setNumColumns(S32 columns);
|
||||
|
||||
void setColumn( S32 column, LLScrollListCell *cell );
|
||||
|
||||
Reference in New Issue
Block a user