void FloaterLocalAssetBrowser::onChooseBitmapList()
{
	bool button_status = !mBitmapList->isEmpty() && mBitmapList->getFirstSelected();
	mDelBtn->setEnabled(button_status);
	mUploadBtn->setEnabled(button_status);

	UpdateRightSide();
}
void FloaterLocalAssetBrowser::onClickUpdateChkbox()
{
	std::string temp_str = mBitmapList->getSelectedItemLabel(BITMAPLIST_COL_ID);
	if ( !temp_str.empty() )
	{
		gLocalBrowser->onUpdateBool( (LLUUID)temp_str );
		UpdateRightSide();
	}
}
void FloaterLocalAssetBrowser::FloaterResize(bool expand)
{
	mMoreBtn->setVisible(!expand);
	mLessBtn->setVisible(expand);
	mTextureView->setVisible(expand);
	mUpdateChkBox->setVisible(expand);
	mCaptionPathTxt->setVisible(expand);
	mCaptionUUIDTxt->setVisible(expand);
	mCaptionLinkTxt->setVisible(expand);
	mCaptionNameTxt->setVisible(expand);
	mCaptionTimeTxt->setVisible(expand);
	mTypeComboBox->setVisible(expand);

	mTimeTxt->setVisible(expand);
	mPathTxt->setVisible(expand);
	mUUIDTxt->setVisible(expand);
	mLinkTxt->setVisible(expand);
	mNameTxt->setVisible(expand);

	reshape(expand ? LF_FLOATER_EXPAND_WIDTH : LF_FLOATER_CONTRACT_WIDTH, LF_FLOATER_HEIGHT);
	setResizeLimits(expand ? LF_FLOATER_EXPAND_WIDTH : LF_FLOATER_CONTRACT_WIDTH, LF_FLOATER_HEIGHT);
	if (expand) UpdateRightSide();
}