Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
dce1ed0a
Commit
dce1ed0a
authored
3 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Small optimization to LLTabContainer update and construction
parent
8f8d5219
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llui/lltabcontainer.cpp
+1
-1
1 addition, 1 deletion
indra/llui/lltabcontainer.cpp
indra/llui/lltabcontainer.h
+1
-1
1 addition, 1 deletion
indra/llui/lltabcontainer.h
with
2 additions
and
2 deletions
indra/llui/lltabcontainer.cpp
+
1
−
1
View file @
dce1ed0a
...
...
@@ -928,7 +928,7 @@ void LLTabContainer::addTabPanel(LLPanel* panelp)
}
// function to update images
void
LLTabContainer
::
update_images
(
LLTabTuple
*
tuple
,
TabParams
params
,
LLTabContainer
::
TabPosition
pos
)
void
LLTabContainer
::
update_images
(
LLTabTuple
*
tuple
,
const
TabParams
&
params
,
LLTabContainer
::
TabPosition
pos
)
{
if
(
tuple
&&
tuple
->
mButton
)
{
...
...
This diff is collapsed.
Click to expand it.
indra/llui/lltabcontainer.h
+
1
−
1
View file @
dce1ed0a
...
...
@@ -261,7 +261,7 @@ class LLTabContainer : public LLPanel
void
commitHoveredButton
(
S32
x
,
S32
y
);
// updates tab button images given the tuple, tab position and the corresponding params
void
update_images
(
LLTabTuple
*
tuple
,
TabParams
params
,
LLTabContainer
::
TabPosition
pos
);
void
update_images
(
LLTabTuple
*
tuple
,
const
TabParams
&
params
,
LLTabContainer
::
TabPosition
pos
);
void
reshapeTuple
(
LLTabTuple
*
tuple
);
// Variables
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment