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
52a8ea96
Commit
52a8ea96
authored
12 years ago
by
William Todd Stinson
Browse files
Options
Downloads
Patches
Plain Diff
Backed out changeset: 174fccc7016d
parent
f3ede9d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llui/llui.cpp
+6
-6
6 additions, 6 deletions
indra/llui/llui.cpp
with
6 additions
and
6 deletions
indra/llui/llui.cpp
+
6
−
6
View file @
52a8ea96
...
@@ -1629,10 +1629,10 @@ void LLUI::initClass(const settings_map_t& settings,
...
@@ -1629,10 +1629,10 @@ void LLUI::initClass(const settings_map_t& settings,
LLUICtrl
::
CommitCallbackRegistry
::
Registrar
&
reg
=
LLUICtrl
::
CommitCallbackRegistry
::
defaultRegistrar
();
LLUICtrl
::
CommitCallbackRegistry
::
Registrar
&
reg
=
LLUICtrl
::
CommitCallbackRegistry
::
defaultRegistrar
();
// Callbacks for associating controls with floater visibility:
// Callbacks for associating controls with floater visibility:
reg
.
add
(
"Floater.Toggle"
,
boost
::
bind
(
&
LLFloaterReg
::
toggleInstance
,
_2
,
LLSD
(
LLUUID
()
)));
reg
.
add
(
"Floater.Toggle"
,
boost
::
bind
(
&
LLFloaterReg
::
toggleInstance
,
_2
,
LLSD
()));
reg
.
add
(
"Floater.ToggleOrBringToFront"
,
boost
::
bind
(
&
LLFloaterReg
::
toggleInstanceOrBringToFront
,
_2
,
LLSD
(
LLUUID
()
)));
reg
.
add
(
"Floater.ToggleOrBringToFront"
,
boost
::
bind
(
&
LLFloaterReg
::
toggleInstanceOrBringToFront
,
_2
,
LLSD
()));
reg
.
add
(
"Floater.Show"
,
boost
::
bind
(
&
LLFloaterReg
::
showInstance
,
_2
,
LLSD
(
LLUUID
()
),
FALSE
));
reg
.
add
(
"Floater.Show"
,
boost
::
bind
(
&
LLFloaterReg
::
showInstance
,
_2
,
LLSD
(),
FALSE
));
reg
.
add
(
"Floater.Hide"
,
boost
::
bind
(
&
LLFloaterReg
::
hideInstance
,
_2
,
LLSD
(
LLUUID
()
)));
reg
.
add
(
"Floater.Hide"
,
boost
::
bind
(
&
LLFloaterReg
::
hideInstance
,
_2
,
LLSD
()));
// Button initialization callback for toggle buttons
// Button initialization callback for toggle buttons
reg
.
add
(
"Button.SetFloaterToggle"
,
boost
::
bind
(
&
LLButton
::
setFloaterToggle
,
_1
,
_2
));
reg
.
add
(
"Button.SetFloaterToggle"
,
boost
::
bind
(
&
LLButton
::
setFloaterToggle
,
_1
,
_2
));
...
@@ -1647,8 +1647,8 @@ void LLUI::initClass(const settings_map_t& settings,
...
@@ -1647,8 +1647,8 @@ void LLUI::initClass(const settings_map_t& settings,
reg
.
add
(
"Button.ToggleFloater"
,
boost
::
bind
(
&
LLButton
::
toggleFloaterAndSetToggleState
,
_1
,
_2
));
reg
.
add
(
"Button.ToggleFloater"
,
boost
::
bind
(
&
LLButton
::
toggleFloaterAndSetToggleState
,
_1
,
_2
));
// Used by menus along with Floater.Toggle to display visibility as a check-mark
// Used by menus along with Floater.Toggle to display visibility as a check-mark
LLUICtrl
::
EnableCallbackRegistry
::
defaultRegistrar
().
add
(
"Floater.Visible"
,
boost
::
bind
(
&
LLFloaterReg
::
instanceVisible
,
_2
,
LLSD
(
LLUUID
()
)));
LLUICtrl
::
EnableCallbackRegistry
::
defaultRegistrar
().
add
(
"Floater.Visible"
,
boost
::
bind
(
&
LLFloaterReg
::
instanceVisible
,
_2
,
LLSD
()));
LLUICtrl
::
EnableCallbackRegistry
::
defaultRegistrar
().
add
(
"Floater.IsOpen"
,
boost
::
bind
(
&
LLFloaterReg
::
instanceVisible
,
_2
,
LLSD
(
LLUUID
()
)));
LLUICtrl
::
EnableCallbackRegistry
::
defaultRegistrar
().
add
(
"Floater.IsOpen"
,
boost
::
bind
(
&
LLFloaterReg
::
instanceVisible
,
_2
,
LLSD
()));
// Parse the master list of commands
// Parse the master list of commands
LLCommandManager
::
load
();
LLCommandManager
::
load
();
...
...
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