aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 55123d0..8ae37f3 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -8101,6 +8101,26 @@ class LLViewCheckHUDAttachments : public view_listener_t
8101 } 8101 }
8102}; 8102};
8103 8103
8104
8105class LLViewToggleAO : public view_listener_t
8106{
8107 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8108 {
8109 LLFloaterAO::show(NULL);
8110 return true;
8111 }
8112};
8113
8114class LLViewCheckAO: public view_listener_t
8115{
8116 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8117 {
8118 gMenuHolder->findControl(userdata["control"].asString())->setValue(LLFloaterAO::getInstance());
8119 return true;
8120 }
8121};
8122
8123
8104class LLEditEnableTakeOff : public view_listener_t 8124class LLEditEnableTakeOff : public view_listener_t
8105{ 8125{
8106 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 8126 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -8649,26 +8669,6 @@ class LLAdvancedTogglePhantom: public view_listener_t
8649 8669
8650}; 8670};
8651 8671
8652
8653class LLViewToggleAO : public view_listener_t
8654{
8655 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8656 {
8657 LLFloaterAO::show(NULL);
8658 return true;
8659 }
8660};
8661
8662class LLViewCheckAO: public view_listener_t
8663{
8664 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8665 {
8666 gMenuHolder->findControl(userdata["control"].asString())->setValue(LLFloaterAO::getInstance());
8667 return true;
8668 }
8669};
8670
8671
8672class LLAdvancedCheckPhantom: public view_listener_t 8672class LLAdvancedCheckPhantom: public view_listener_t
8673{ 8673{
8674 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 8674 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)