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:
@@ -885,11 +885,11 @@ return Leave current function or event handler
|
||||
# Comment
|
||||
[one_sided_delimiter .8, .3, .15]
|
||||
// Comment:Non-functional commentary or disabled code
|
||||
[two_sided_delimiter_esc .8, .3, .15]
|
||||
[two_sided_delimiter .8, .3, .15]
|
||||
/* */ Comment:Non-functional commentary or disabled code
|
||||
|
||||
# String literals
|
||||
[two_sided_delimiter_esc 0, .2, 0]
|
||||
" " String literal
|
||||
[double_quotation_marks 0, .2, 0]
|
||||
" String literal
|
||||
|
||||
#functions are supplied by the program now
|
||||
|
||||
@@ -689,6 +689,7 @@ bool LLAppViewer::init()
|
||||
|
||||
// Widget construction depends on LLUI being initialized
|
||||
LLUI::initClass(&gSavedSettings,
|
||||
&gSavedPerAccountSettings,
|
||||
&gSavedSettings,
|
||||
&gColors,
|
||||
LLUIImageList::getInstance(),
|
||||
|
||||
@@ -160,7 +160,6 @@ void LLFloaterStats::buildStats()
|
||||
stat_barp->mPerSec = FALSE;
|
||||
|
||||
stat_barp = render_statviewp->addStat("New Objs", &(LLViewerStats::getInstance()->mNumNewObjectsStat), "DebugStatModeNewObjs");
|
||||
stat_barp->setLabel("New Objs");
|
||||
stat_barp->setUnitLabel("/sec");
|
||||
stat_barp->mMinBar = 0.f;
|
||||
stat_barp->mMaxBar = 1000.f;
|
||||
@@ -169,7 +168,6 @@ void LLFloaterStats::buildStats()
|
||||
stat_barp->mPerSec = TRUE;
|
||||
|
||||
stat_barp = render_statviewp->addStat("Object Cache Hit Rate", &(LLViewerStats::getInstance()->mNumNewObjectsStat), std::string(), false, true);
|
||||
stat_barp->setLabel("Object Cache Hit Rate");
|
||||
stat_barp->setUnitLabel("%");
|
||||
stat_barp->mMinBar = 0.f;
|
||||
stat_barp->mMaxBar = 100.f;
|
||||
@@ -186,7 +184,6 @@ void LLFloaterStats::buildStats()
|
||||
LLStatView *texture_statviewp = render_statviewp->addStatView(params);
|
||||
|
||||
stat_barp = texture_statviewp->addStat("Cache Hit Rate", &(LLTextureFetch::sCacheHitRate), std::string(), false, true);
|
||||
stat_barp->setLabel("Cache Hit Rate");
|
||||
stat_barp->setUnitLabel("%");
|
||||
stat_barp->mMinBar = 0.f;
|
||||
stat_barp->mMaxBar = 100.f;
|
||||
|
||||
@@ -597,11 +597,11 @@ void LLScriptEdCore::updateDynamicHelp(BOOL immediate)
|
||||
}
|
||||
|
||||
const LLTextSegment* segment = NULL;
|
||||
std::vector<const LLTextSegment*> selected_segments;
|
||||
std::vector<const LLTextSegmentPtr> selected_segments;
|
||||
mEditor->getSelectedSegments(selected_segments);
|
||||
|
||||
// try segments in selection range first
|
||||
std::vector<const LLTextSegment*>::iterator segment_iter;
|
||||
std::vector<const LLTextSegmentPtr>::iterator segment_iter;
|
||||
for (segment_iter = selected_segments.begin(); segment_iter != selected_segments.end(); ++segment_iter)
|
||||
{
|
||||
if((*segment_iter)->getToken() && (*segment_iter)->getToken()->getType() == LLKeywordToken::WORD)
|
||||
|
||||
@@ -869,7 +869,7 @@ BOOL LLViewerTextEditor::handleHover(S32 x, S32 y, MASK mask)
|
||||
// Check to see if we're over an HTML-style link
|
||||
if( !mSegments.empty() )
|
||||
{
|
||||
const LLTextSegment* cur_segment = getSegmentAtLocalPos( x, y );
|
||||
LLTextSegment* cur_segment = getSegmentAtLocalPos( x, y );
|
||||
if( cur_segment )
|
||||
{
|
||||
if(cur_segment->getStyle()->isLink())
|
||||
|
||||
Reference in New Issue
Block a user