Пример #1
0
LLIconCtrl::LLIconCtrl(const LLIconCtrl::Params& p)
:	LLUICtrl(p),
	mColor(p.color()),
	mImagep(p.image),
	mPriority(0),
	mDrawWidth(0),
	mDrawHeight(0)
{
	if (mImagep.notNull())
	{
		LLUICtrl::setValue(mImagep->getName());
	}
}
Пример #2
0
LLIconCtrl::LLIconCtrl(const LLIconCtrl::Params& p)
:	LLUICtrl(p),
	mColor(p.color()),
	mImagep(p.image),
	mUseDrawContextAlpha(p.use_draw_context_alpha),
	mPriority(0),
	mDrawWidth(0),
	mDrawHeight(0)
{
	if (mImagep.notNull())
	{
		LLUICtrl::setValue(mImagep->getName());
	}
}
Пример #3
0
LLIconCtrl::LLIconCtrl(const LLIconCtrl::Params& p)
:	LLUICtrl(p),
	mColor(p.color()),
	mImagep(p.image),
//	mUseDrawContextAlpha(p.use_draw_context_alpha),
	mPriority(0),
	mMinWidth(p.min_width),
	mMinHeight(p.min_height)
{
	if (mImagep.notNull())
	{
		LLUICtrl::setValue(mImagep->getName());
	}
	setTabStop(false);
}