Updated LLResizeBar and LLResizeHandle to use LLView::Param based ctors.

Cleaned up LLKeyWords
Cleaned up LLStatBar
Added per-account setting access to ui library
Added LLUICachedControl
Updated LLUIString
This commit is contained in:
Shyotl
2013-05-20 00:36:34 -05:00
parent df404c42d0
commit c5fc945f33
24 changed files with 628 additions and 329 deletions

View File

@@ -3888,11 +3888,14 @@ LLScrollColumnHeader::LLScrollColumnHeader(const std::string& label, const LLRec
// resize handles on left and right
const S32 RESIZE_BAR_THICKNESS = 3;
mResizeBar = new LLResizeBar(
std::string("resizebar"),
this,
LLRect( getRect().getWidth() - RESIZE_BAR_THICKNESS, getRect().getHeight(), getRect().getWidth(), 0),
MIN_COLUMN_WIDTH, S32_MAX, LLResizeBar::RIGHT );
LLResizeBar::Params p;
p.name = "resizebar";
p.resizing_view = this;
p.rect = LLRect( getRect().getWidth() - RESIZE_BAR_THICKNESS, getRect().getHeight(), getRect().getWidth(), 0);
p.min_size = MIN_COLUMN_WIDTH;
p.max_size = S32_MAX;
p.side = LLResizeBar::RIGHT;
mResizeBar = LLUICtrlFactory::create<LLResizeBar>(p);
addChild(mResizeBar);
mResizeBar->setEnabled(FALSE);