aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-06-15 19:42:24 -0700
committerJacek Antonelli2010-06-19 02:43:40 -0500
commitb7bc9fab9f56debe3a59666c7bd82f84f8f5bb55 (patch)
tree6aa1dbc0a762eecbeddde3928e51c09a284ce372 /linden
parentMoved 'Share language with objects' to Preferences > Advanced (diff)
downloadmeta-impy-b7bc9fab9f56debe3a59666c7bd82f84f8f5bb55.zip
meta-impy-b7bc9fab9f56debe3a59666c7bd82f84f8f5bb55.tar.gz
meta-impy-b7bc9fab9f56debe3a59666c7bd82f84f8f5bb55.tar.bz2
meta-impy-b7bc9fab9f56debe3a59666c7bd82f84f8f5bb55.tar.xz
Little cleanup of the AO menu check
Diffstat (limited to 'linden')
-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)