aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llviewermenu.cpp2267
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml1710
2 files changed, 3523 insertions, 454 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 1ec71ac..a97ec18 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -751,10 +751,13 @@ void init_menus()
751 gLandmarkMenu = menu; 751 gLandmarkMenu = menu;
752 */ 752 */
753 753
754 // Advanced (Client) menu is XUI now! \o/
755 /*
754 menu = new LLMenuGL(CLIENT_MENU_NAME); 756 menu = new LLMenuGL(CLIENT_MENU_NAME);
755 init_client_menu(menu); 757 init_client_menu(menu);
756 gMenuBarView->appendMenu( menu ); 758 gMenuBarView->appendMenu( menu );
757 menu->updateParent(LLMenuGL::sMenuContainer); 759 menu->updateParent(LLMenuGL::sMenuContainer);
760 */
758 761
759 menu = new LLMenuGL(SERVER_MENU_NAME); 762 menu = new LLMenuGL(SERVER_MENU_NAME);
760 init_server_menu(menu); 763 init_server_menu(menu);
@@ -6240,6 +6243,7 @@ void queue_actions(LLFloaterScriptQueue* q, const std::string& noscriptmsg, cons
6240 } 6243 }
6241} 6244}
6242 6245
6246
6243class LLToolsSetBulkPerms : public view_listener_t 6247class LLToolsSetBulkPerms : public view_listener_t
6244{ 6248{
6245 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6249 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -7732,6 +7736,2118 @@ class LLWorldDayCycle : public view_listener_t
7732 7736
7733 7737
7734 7738
7739
7740//-------------------------------------------------------------------
7741// Advanced menu
7742//-------------------------------------------------------------------
7743
7744
7745///////////////////
7746// SHOW CONSOLES //
7747///////////////////
7748
7749
7750class LLAdvancedToggleConsole : public view_listener_t
7751{
7752 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7753 {
7754 LLString console_type = userdata.asString();
7755 if ("frame" == console_type)
7756 {
7757 toggle_visibility( (void*)gDebugView->mFrameStatView );
7758 }
7759 else if ("texture" == console_type)
7760 {
7761 toggle_visibility( (void*)gTextureView );
7762 }
7763 else if ("debug" == console_type)
7764 {
7765 toggle_visibility( (void*)((LLView*)gDebugView->mDebugConsolep) );
7766 }
7767 else if ("fast timers" == console_type)
7768 {
7769 toggle_visibility( (void*)gDebugView->mFastTimerView );
7770 }
7771 else if ("memory" == console_type)
7772 {
7773 toggle_visibility( (void*)gDebugView->mMemoryView );
7774 }
7775 return true;
7776 }
7777};
7778
7779
7780class LLAdvancedCheckConsole : public view_listener_t
7781{
7782 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7783 {
7784 LLString console_type = userdata["data"].asString();
7785 bool new_value = false;
7786 if ("frame" == console_type)
7787 {
7788 new_value = get_visibility( (void*)gDebugView->mFrameStatView );
7789 }
7790 else if ("texture" == console_type)
7791 {
7792 new_value = get_visibility( (void*)gTextureView );
7793 }
7794 else if ("debug" == console_type)
7795 {
7796 new_value = get_visibility( (void*)((LLView*)gDebugView->mDebugConsolep) );
7797 }
7798 else if ("fast timers" == console_type)
7799 {
7800 new_value = get_visibility( (void*)gDebugView->mFastTimerView );
7801 }
7802 else if ("memory" == console_type)
7803 {
7804 new_value = get_visibility( (void*)gDebugView->mMemoryView );
7805 }
7806
7807 LLString control_name = userdata["control"].asString();
7808 gMenuHolder->findControl(control_name)->setValue(new_value);
7809 return true;
7810 }
7811};
7812
7813
7814
7815//////////////////////////
7816// DUMP INFO TO CONSOLE //
7817//////////////////////////
7818
7819
7820class LLAdvancedDumpInfoToConsole : public view_listener_t
7821{
7822 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7823 {
7824 LLString info_type = userdata.asString();
7825 if ("region" == info_type)
7826 {
7827 handle_region_dump_settings(NULL);
7828 }
7829 else if ("group" == info_type)
7830 {
7831 handle_dump_group_info(NULL);
7832 }
7833 else if ("capabilities" == info_type)
7834 {
7835 handle_dump_capabilities_info(NULL);
7836 }
7837 return true;
7838 }
7839};
7840
7841
7842
7843///////////////////////////////
7844// RELOAD SETTINGS OVERRIDES //
7845///////////////////////////////
7846
7847
7848class LLAdvancedReloadSettingsOverrides : public view_listener_t
7849{
7850 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7851 {
7852 reload_personal_settings_overrides(NULL);
7853 return true;
7854 }
7855};
7856
7857
7858
7859//////////////
7860// HUD INFO //
7861//////////////
7862
7863
7864class LLAdvancedToggleHUDInfo : public view_listener_t
7865{
7866 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7867 {
7868 LLString info_type = userdata.asString();
7869 if ("velocity" == info_type)
7870 {
7871 toggle_visibility( (void*)gVelocityBar );
7872 }
7873 else if ("camera" == info_type)
7874 {
7875 gDisplayCameraPos = !(gDisplayCameraPos);
7876 }
7877 else if ("wind" == info_type)
7878 {
7879 gDisplayWindInfo = !(gDisplayWindInfo);
7880 }
7881 else if ("fov" == info_type)
7882 {
7883 gDisplayFOV = !(gDisplayFOV);
7884 }
7885 return true;
7886 }
7887};
7888
7889class LLAdvancedCheckHUDInfo : public view_listener_t
7890{
7891 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7892 {
7893 LLString info_type = userdata["data"].asString();
7894 bool new_value = false;
7895 if ("velocity" == info_type)
7896 {
7897 new_value = get_visibility( (void*)gVelocityBar );
7898 }
7899 else if ("camera" == info_type)
7900 {
7901 new_value = gDisplayCameraPos;
7902 }
7903 else if ("wind" == info_type)
7904 {
7905 new_value = gDisplayWindInfo;
7906 }
7907 else if ("fov" == info_type)
7908 {
7909 new_value = gDisplayFOV;
7910 }
7911
7912 LLString control_name = userdata["control"].asString();
7913 gMenuHolder->findControl(control_name)->setValue(new_value);
7914
7915 return true;
7916 }
7917};
7918
7919
7920
7921///////////////////////
7922// CLEAR GROUP CACHE //
7923///////////////////////
7924
7925
7926class LLAdvancedClearGroupCache : public view_listener_t
7927{
7928 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
7929 {
7930 LLGroupMgr::debugClearAllGroups(NULL);
7931 return true;
7932 }
7933};
7934
7935
7936
7937
7938/////////////////
7939// RENDER TYPE //
7940/////////////////
7941
7942
7943U32 render_type_from_string(LLString render_type)
7944{
7945 if ("simple" == render_type)
7946 {
7947 return LLPipeline::RENDER_TYPE_SIMPLE;
7948 }
7949 else if ("alpha" == render_type)
7950 {
7951 return LLPipeline::RENDER_TYPE_ALPHA;
7952 }
7953 else if ("tree" == render_type)
7954 {
7955 return LLPipeline::RENDER_TYPE_TREE;
7956 }
7957 else if ("avatar" == render_type)
7958 {
7959 return LLPipeline::RENDER_TYPE_AVATAR;
7960 }
7961 else if ("terrain" == render_type)
7962 {
7963 return LLPipeline::RENDER_TYPE_TERRAIN;
7964 }
7965 else if ("sky" == render_type)
7966 {
7967 return LLPipeline::RENDER_TYPE_SKY;
7968 }
7969 else if ("water" == render_type)
7970 {
7971 return LLPipeline::RENDER_TYPE_WATER;
7972 }
7973 else if ("ground" == render_type)
7974 {
7975 return LLPipeline::RENDER_TYPE_GROUND;
7976 }
7977 else if ("volume" == render_type)
7978 {
7979 return LLPipeline::RENDER_TYPE_VOLUME;
7980 }
7981 else if ("grass" == render_type)
7982 {
7983 return LLPipeline::RENDER_TYPE_GRASS;
7984 }
7985 else if ("clouds" == render_type)
7986 {
7987 return LLPipeline::RENDER_TYPE_CLOUDS;
7988 }
7989 else if ("particles" == render_type)
7990 {
7991 return LLPipeline::RENDER_TYPE_PARTICLES;
7992 }
7993 else if ("bump" == render_type)
7994 {
7995 return LLPipeline::RENDER_TYPE_BUMP;
7996 }
7997 else
7998 {
7999 return 0;
8000 }
8001}
8002
8003
8004class LLAdvancedToggleRenderType : public view_listener_t
8005{
8006 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8007 {
8008 U32 render_type = render_type_from_string( userdata.asString() );
8009 if ( render_type != 0 )
8010 {
8011 LLPipeline::toggleRenderTypeControl( (void*)render_type );
8012 }
8013 return true;
8014 }
8015};
8016
8017
8018class LLAdvancedCheckRenderType : public view_listener_t
8019{
8020 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8021 {
8022 U32 render_type = render_type_from_string( userdata["data"].asString() );
8023 bool new_value = false;
8024
8025 if ( render_type != 0 )
8026 {
8027 new_value = LLPipeline::hasRenderTypeControl( (void*)render_type );
8028 }
8029
8030 LLString control_name = userdata["control"].asString();
8031 gMenuHolder->findControl(control_name)->setValue(new_value);
8032 return true;
8033 }
8034};
8035
8036
8037
8038/////////////
8039// FEATURE //
8040/////////////
8041
8042
8043U32 feature_from_string(LLString feature)
8044{
8045 if ("ui" == feature)
8046 {
8047 return LLPipeline::RENDER_DEBUG_FEATURE_UI;
8048 }
8049 else if ("selected" == feature)
8050 {
8051 return LLPipeline::RENDER_DEBUG_FEATURE_SELECTED;
8052 }
8053 else if ("highlighted" == feature)
8054 {
8055 return LLPipeline::RENDER_DEBUG_FEATURE_HIGHLIGHTED;
8056 }
8057 else if ("dynamic textures" == feature)
8058 {
8059 return LLPipeline::RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES;
8060 }
8061 else if ("foot shadows" == feature)
8062 {
8063 return LLPipeline::RENDER_DEBUG_FEATURE_FOOT_SHADOWS;
8064 }
8065 else if ("fog" == feature)
8066 {
8067 return LLPipeline::RENDER_DEBUG_FEATURE_FOG;
8068 }
8069 else if ("palette" == feature)
8070 {
8071 return LLPipeline::RENDER_DEBUG_FEATURE_PALETTE;
8072 }
8073 else if ("fr info" == feature)
8074 {
8075 return LLPipeline::RENDER_DEBUG_FEATURE_FR_INFO;
8076 }
8077 else if ("flexible" == feature)
8078 {
8079 return LLPipeline::RENDER_DEBUG_FEATURE_FLEXIBLE;
8080 }
8081 else
8082 {
8083 return 0;
8084 }
8085};
8086
8087
8088class LLAdvancedToggleFeature : public view_listener_t
8089{
8090 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8091 {
8092 U32 feature = feature_from_string( userdata.asString() );
8093
8094 if ( feature != 0 )
8095 {
8096 LLPipeline::toggleRenderDebugFeature( (void*)feature );
8097 }
8098
8099 return true;
8100 }
8101};
8102
8103
8104class LLAdvancedCheckFeature : public view_listener_t
8105{
8106 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8107 {
8108 U32 feature = feature_from_string( userdata["data"].asString() );
8109 bool new_value = false;
8110
8111 if ( feature != 0 )
8112 {
8113 new_value = LLPipeline::toggleRenderDebugFeatureControl( (void*)feature );
8114 }
8115
8116 LLString control_name = userdata["control"].asString();
8117 gMenuHolder->findControl(control_name)->setValue(new_value);
8118 return true;
8119 }
8120};
8121
8122
8123
8124//////////////////
8125// INFO DISPLAY //
8126//////////////////
8127
8128
8129U32 info_display_from_string(LLString info_display)
8130{
8131 if ("verify" == info_display)
8132 {
8133 return LLPipeline::RENDER_DEBUG_VERIFY;
8134 }
8135 else if ("bboxes" == info_display)
8136 {
8137 return LLPipeline::RENDER_DEBUG_BBOXES;
8138 }
8139 else if ("points" == info_display)
8140 {
8141 return LLPipeline::RENDER_DEBUG_POINTS;
8142 }
8143 else if ("octree" == info_display)
8144 {
8145 return LLPipeline::RENDER_DEBUG_OCTREE;
8146 }
8147 else if ("occlusion" == info_display)
8148 {
8149 return LLPipeline::RENDER_DEBUG_OCCLUSION;
8150 }
8151 else if ("render batches" == info_display)
8152 {
8153 return LLPipeline::RENDER_DEBUG_BATCH_SIZE;
8154 }
8155 else if ("texture anim" == info_display)
8156 {
8157 return LLPipeline::RENDER_DEBUG_TEXTURE_ANIM;
8158 }
8159 else if ("texture priority" == info_display)
8160 {
8161 return LLPipeline::RENDER_DEBUG_TEXTURE_PRIORITY;
8162 }
8163 else if ("shame" == info_display)
8164 {
8165 return LLPipeline::RENDER_DEBUG_SHAME;
8166 }
8167 else if ("texture area" == info_display)
8168 {
8169 return LLPipeline::RENDER_DEBUG_TEXTURE_AREA;
8170 }
8171 else if ("face area" == info_display)
8172 {
8173 return LLPipeline::RENDER_DEBUG_FACE_AREA;
8174 }
8175 else if ("picking" == info_display)
8176 {
8177 return LLPipeline::RENDER_DEBUG_PICKING;
8178 }
8179 else if ("lights" == info_display)
8180 {
8181 return LLPipeline::RENDER_DEBUG_LIGHTS;
8182 }
8183 else if ("particles" == info_display)
8184 {
8185 return LLPipeline::RENDER_DEBUG_PARTICLES;
8186 }
8187 else if ("composition" == info_display)
8188 {
8189 return LLPipeline::RENDER_DEBUG_COMPOSITION;
8190 }
8191 else if ("glow" == info_display)
8192 {
8193 return LLPipeline::RENDER_DEBUG_GLOW;
8194 }
8195 else
8196 {
8197 return 0;
8198 }
8199};
8200
8201
8202class LLAdvancedToggleInfoDisplay : public view_listener_t
8203{
8204 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8205 {
8206 U32 info_display = info_display_from_string( userdata.asString() );
8207
8208 if ( info_display != 0 )
8209 {
8210 LLPipeline::toggleRenderDebug( (void*)info_display );
8211 }
8212
8213 return true;
8214 }
8215};
8216
8217
8218class LLAdvancedCheckInfoDisplay : public view_listener_t
8219{
8220 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8221 {
8222 U32 info_display = info_display_from_string( userdata["data"].asString() );
8223 bool new_value = false;
8224
8225 if ( info_display != 0 )
8226 {
8227 new_value = LLPipeline::toggleRenderDebugControl( (void*)info_display );
8228 }
8229
8230 LLString control_name = userdata["control"].asString();
8231 gMenuHolder->findControl(control_name)->setValue(new_value);
8232 return true;
8233 }
8234};
8235
8236
8237
8238///////////////////
8239// SELECT BUFFER //
8240///////////////////
8241
8242
8243class LLAdvancedToggleSelectBuffer : public view_listener_t
8244{
8245 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8246 {
8247 gDebugSelect = !(gDebugSelect);
8248 return true;
8249 }
8250};
8251
8252class LLAdvancedCheckSelectBuffer : public view_listener_t
8253{
8254 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8255 {
8256 bool new_value = gDebugSelect;
8257 LLString control_name = userdata["control"].asString();
8258 gMenuHolder->findControl(control_name)->setValue(new_value);
8259 return true;
8260 }
8261};
8262
8263
8264
8265/////////////////////////
8266// RANDOMIZE FRAMERATE //
8267/////////////////////////
8268
8269
8270class LLAdvancedToggleRandomizeFramerate : public view_listener_t
8271{
8272 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8273 {
8274 gRandomizeFramerate = !(gRandomizeFramerate);
8275 return true;
8276 }
8277};
8278
8279class LLAdvancedCheckRandomizeFramerate : public view_listener_t
8280{
8281 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8282 {
8283 bool new_value = gRandomizeFramerate;
8284 LLString control_name = userdata["control"].asString();
8285 gMenuHolder->findControl(control_name)->setValue(new_value);
8286 return true;
8287 }
8288};
8289
8290
8291
8292/////////////////////////
8293// PERIODIC SLOW FRAME //
8294/////////////////////////
8295
8296
8297class LLAdvancedTogglePeriodicSlowFrame : public view_listener_t
8298{
8299 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8300 {
8301 gPeriodicSlowFrame = !(gPeriodicSlowFrame);
8302 return true;
8303 }
8304};
8305
8306class LLAdvancedCheckPeriodicSlowFrame : public view_listener_t
8307{
8308 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8309 {
8310 bool new_value = gPeriodicSlowFrame;
8311 LLString control_name = userdata["control"].asString();
8312 gMenuHolder->findControl(control_name)->setValue(new_value);
8313 return true;
8314 }
8315};
8316
8317
8318
8319////////////////
8320// FRAME TEST //
8321////////////////
8322
8323
8324class LLAdvancedToggleFrameTest : public view_listener_t
8325{
8326 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8327 {
8328 LLPipeline::sRenderFrameTest = !(LLPipeline::sRenderFrameTest);
8329 return true;
8330 }
8331};
8332
8333class LLAdvancedCheckFrameTest : public view_listener_t
8334{
8335 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8336 {
8337 bool new_value = LLPipeline::sRenderFrameTest;
8338 LLString control_name = userdata["control"].asString();
8339 gMenuHolder->findControl(control_name)->setValue(new_value);
8340 return true;
8341 }
8342};
8343
8344
8345
8346///////////////////////////
8347// HIDE SELECTED OBJECTS //
8348///////////////////////////
8349
8350
8351class LLAdvancedToggleHideSelectedObjects : public view_listener_t
8352{
8353 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8354 {
8355 gHideSelectedObjects = !(gHideSelectedObjects);
8356 return true;
8357 }
8358};
8359
8360class LLAdvancedCheckHideSelectedObjects : public view_listener_t
8361{
8362 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8363 {
8364 bool new_value = gHideSelectedObjects;
8365 LLString control_name = userdata["control"].asString();
8366 gMenuHolder->findControl(control_name)->setValue(new_value);
8367 return true;
8368 }
8369};
8370
8371
8372
8373///////////////////////////
8374// SELECTED TEXTURE INFO //
8375///////////////////////////
8376
8377
8378class LLAdvancedSelectedTextureInfo : public view_listener_t
8379{
8380 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8381 {
8382 handle_selected_texture_info(NULL);
8383 return true;
8384 }
8385};
8386
8387
8388
8389//////////////////////
8390// TOGGLE WIREFRAME //
8391//////////////////////
8392
8393
8394class LLAdvancedToggleWireframe : public view_listener_t
8395{
8396 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8397 {
8398 gUseWireframe = !(gUseWireframe);
8399 return true;
8400 }
8401};
8402
8403class LLAdvancedCheckWireframe : public view_listener_t
8404{
8405 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8406 {
8407 bool new_value = gUseWireframe;
8408 LLString control_name = userdata["control"].asString();
8409 gMenuHolder->findControl(control_name)->setValue(new_value);
8410 return true;
8411 }
8412};
8413
8414
8415
8416//////////////////////
8417// DISABLE TEXTURES //
8418//////////////////////
8419
8420
8421class LLAdvancedToggleDisableTextures : public view_listener_t
8422{
8423 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8424 {
8425 menu_toggle_variable((void*)&LLViewerImage::sDontLoadVolumeTextures);
8426 return true;
8427 }
8428};
8429
8430class LLAdvancedCheckDisableTextures : public view_listener_t
8431{
8432 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8433 {
8434 bool new_value = menu_check_variable((void*)&LLViewerImage::sDontLoadVolumeTextures);
8435 LLString control_name = userdata["control"].asString();
8436 gMenuHolder->findControl(control_name)->setValue(new_value);
8437 return true;
8438 }
8439};
8440
8441
8442
8443//////////////////////////
8444// DUMP SCRIPTED CAMERA //
8445//////////////////////////
8446
8447
8448class LLAdvancedDumpScriptedCamera : public view_listener_t
8449{
8450 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8451 {
8452 handle_dump_followcam(NULL);
8453 return true;
8454 }
8455};
8456
8457
8458
8459//////////////////////////////
8460// DUMP REGION OBJECT CACHE //
8461//////////////////////////////
8462
8463
8464class LLAdvancedDumpRegionObjectCache : public view_listener_t
8465{
8466 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8467 {
8468 handle_dump_region_object_cache(NULL);
8469 return true;
8470 }
8471};
8472
8473
8474
8475////////////////
8476// SLURL TEST //
8477////////////////
8478
8479
8480class LLAdvancedSLURLTest : public view_listener_t
8481{
8482 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8483 {
8484 handle_slurl_test(NULL);
8485 return true;
8486 }
8487};
8488
8489
8490
8491////////////////////////
8492// TOGGLE EDITABLE UI //
8493////////////////////////
8494
8495
8496class LLAdvancedToggleEditableUI : public view_listener_t
8497{
8498 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8499 {
8500 edit_ui(NULL);
8501 return true;
8502 }
8503};
8504
8505// *TODO: Add corresponding "Check" for EditableUI, so it can
8506// become a menu_item_check. Need to add check_edit_ui(void*)
8507// or functional equivalent to do that.
8508
8509
8510
8511//////////////////////
8512// ASYNC KEYSTROKES //
8513//////////////////////
8514
8515
8516class LLAdvancedToggleAsyncKeystrokes : public view_listener_t
8517{
8518 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8519 {
8520 gHandleKeysAsync = !(gHandleKeysAsync);
8521 return true;
8522 }
8523};
8524
8525class LLAdvancedCheckAsyncKeystrokes : public view_listener_t
8526{
8527 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8528 {
8529 bool new_value = gHandleKeysAsync;
8530 LLString control_name = userdata["control"].asString();
8531 gMenuHolder->findControl(control_name)->setValue(new_value);
8532 return true;
8533 }
8534};
8535
8536
8537
8538/////////////////////
8539// DUMP SELECT MGR //
8540/////////////////////
8541
8542
8543class LLAdvancedDumpSelectMgr : public view_listener_t
8544{
8545 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8546 {
8547 dump_select_mgr(NULL);
8548 return true;
8549 }
8550};
8551
8552
8553
8554////////////////////
8555// DUMP INVENTORY //
8556////////////////////
8557
8558
8559class LLAdvancedDumpInventory : public view_listener_t
8560{
8561 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8562 {
8563 dump_inventory(NULL);
8564 return true;
8565 }
8566};
8567
8568
8569
8570///////////////////////
8571// DUMP FOCUS HOLDER //
8572///////////////////////
8573
8574
8575class LLAdvancedDumpFocusHolder : public view_listener_t
8576{
8577 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8578 {
8579 handle_dump_focus(NULL);
8580 return true;
8581 }
8582};
8583
8584
8585
8586////////////////////////////////
8587// PRINT SELECTED OBJECT INFO //
8588////////////////////////////////
8589
8590
8591class LLAdvancedPrintSelectedObjectInfo : public view_listener_t
8592{
8593 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8594 {
8595 print_object_info(NULL);
8596 return true;
8597 }
8598};
8599
8600
8601
8602//////////////////////
8603// PRINT AGENT INFO //
8604//////////////////////
8605
8606
8607class LLAdvancedPrintAgentInfo : public view_listener_t
8608{
8609 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8610 {
8611 print_agent_nvpairs(NULL);
8612 return true;
8613 }
8614};
8615
8616
8617
8618////////////////////////////////
8619// PRINT TEXTURE MEMORY STATS //
8620////////////////////////////////
8621
8622
8623class LLAdvancedPrintTextureMemoryStats : public view_listener_t
8624{
8625 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8626 {
8627 output_statistics(NULL);
8628 return true;
8629 }
8630};
8631
8632
8633
8634//////////////////////
8635// DEBUG SELECT MGR //
8636//////////////////////
8637
8638
8639class LLAdvancedToggleDebugSelectMgr : public view_listener_t
8640{
8641 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8642 {
8643 gDebugSelectMgr = !(gDebugSelectMgr);
8644 return true;
8645 }
8646};
8647
8648class LLAdvancedCheckDebugSelectMgr : public view_listener_t
8649{
8650 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8651 {
8652 bool new_value = gDebugSelectMgr;
8653 LLString control_name = userdata["control"].asString();
8654 gMenuHolder->findControl(control_name)->setValue(new_value);
8655 return true;
8656 }
8657};
8658
8659
8660
8661//////////////////
8662// DEBUG CLICKS //
8663//////////////////
8664
8665
8666class LLAdvancedToggleDebugClicks : public view_listener_t
8667{
8668 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8669 {
8670 gDebugClicks = !(gDebugClicks);
8671 return true;
8672 }
8673};
8674
8675class LLAdvancedCheckDebugClicks : public view_listener_t
8676{
8677 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8678 {
8679 bool new_value = gDebugClicks;
8680 LLString control_name = userdata["control"].asString();
8681 gMenuHolder->findControl(control_name)->setValue(new_value);
8682 return true;
8683 }
8684};
8685
8686
8687
8688/////////////////
8689// DEBUG VIEWS //
8690/////////////////
8691
8692
8693class LLAdvancedToggleDebugViews : public view_listener_t
8694{
8695 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8696 {
8697 LLView::sDebugRects = !(LLView::sDebugRects);
8698 return true;
8699 }
8700};
8701
8702class LLAdvancedCheckDebugViews : public view_listener_t
8703{
8704 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8705 {
8706 bool new_value = LLView::sDebugRects;
8707 LLString control_name = userdata["control"].asString();
8708 gMenuHolder->findControl(control_name)->setValue(new_value);
8709 return true;
8710 }
8711};
8712
8713
8714
8715///////////////////////
8716// XUI NAME TOOLTIPS //
8717///////////////////////
8718
8719
8720class LLAdvancedToggleXUINameTooltips : public view_listener_t
8721{
8722 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8723 {
8724 toggle_show_xui_names(NULL);
8725 return true;
8726 }
8727};
8728
8729class LLAdvancedCheckXUINameTooltips : public view_listener_t
8730{
8731 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8732 {
8733 bool new_value = check_show_xui_names(NULL);
8734 LLString control_name = userdata["control"].asString();
8735 gMenuHolder->findControl(control_name)->setValue(new_value);
8736 return true;
8737 }
8738};
8739
8740
8741
8742////////////////////////
8743// DEBUG MOUSE EVENTS //
8744////////////////////////
8745
8746
8747class LLAdvancedToggleDebugMouseEvents : public view_listener_t
8748{
8749 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8750 {
8751 LLView::sDebugMouseHandling = !(LLView::sDebugMouseHandling);
8752 return true;
8753 }
8754};
8755
8756class LLAdvancedCheckDebugMouseEvents : public view_listener_t
8757{
8758 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8759 {
8760 bool new_value = LLView::sDebugMouseHandling;
8761 LLString control_name = userdata["control"].asString();
8762 gMenuHolder->findControl(control_name)->setValue(new_value);
8763 return true;
8764 }
8765};
8766
8767
8768
8769////////////////
8770// DEBUG KEYS //
8771////////////////
8772
8773
8774class LLAdvancedToggleDebugKeys : public view_listener_t
8775{
8776 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8777 {
8778 LLView::sDebugKeys = !(LLView::sDebugKeys);
8779 return true;
8780 }
8781};
8782
8783class LLAdvancedCheckDebugKeys : public view_listener_t
8784{
8785 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8786 {
8787 bool new_value = LLView::sDebugKeys;
8788 LLString control_name = userdata["control"].asString();
8789 gMenuHolder->findControl(control_name)->setValue(new_value);
8790 return true;
8791 }
8792};
8793
8794
8795
8796///////////////////////
8797// DEBUG WINDOW PROC //
8798///////////////////////
8799
8800
8801class LLAdvancedToggleDebugWindowProc : public view_listener_t
8802{
8803 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8804 {
8805 gDebugWindowProc = !(gDebugWindowProc);
8806 return true;
8807 }
8808};
8809
8810class LLAdvancedCheckDebugWindowProc : public view_listener_t
8811{
8812 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8813 {
8814 bool new_value = gDebugWindowProc;
8815 LLString control_name = userdata["control"].asString();
8816 gMenuHolder->findControl(control_name)->setValue(new_value);
8817 return true;
8818 }
8819};
8820
8821
8822
8823////////////////////////////
8824// DEBUG TEXT EDITOR TIPS //
8825////////////////////////////
8826
8827
8828class LLAdvancedToggleDebugTextEditorTips : public view_listener_t
8829{
8830 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8831 {
8832 gDebugTextEditorTips = !(gDebugTextEditorTips);
8833 return true;
8834 }
8835};
8836
8837class LLAdvancedCheckDebugTextEditorTips : public view_listener_t
8838{
8839 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8840 {
8841 bool new_value = gDebugTextEditorTips;
8842 LLString control_name = userdata["control"].asString();
8843 gMenuHolder->findControl(control_name)->setValue(new_value);
8844 return true;
8845 }
8846};
8847
8848
8849
8850///////////////////////
8851// SHOW FLOATER TEST //
8852///////////////////////
8853
8854
8855class LLAdvancedShowFloaterTest : public view_listener_t
8856{
8857 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8858 {
8859 LLFloaterTest::show(NULL);
8860 return true;
8861 }
8862};
8863
8864
8865
8866/////////////////////////
8867// EXPORT MENUS TO XML //
8868/////////////////////////
8869
8870
8871class LLAdvancedExportMenusToXML : public view_listener_t
8872{
8873 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8874 {
8875 handle_export_menus_to_xml(NULL);
8876 return true;
8877 }
8878};
8879
8880
8881
8882/////////////
8883// EDIT UI //
8884/////////////
8885
8886
8887class LLAdvancedEditUI : public view_listener_t
8888{
8889 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8890 {
8891 LLFloaterEditUI::show(NULL);
8892 return true;
8893 }
8894};
8895
8896
8897
8898//////////////////////
8899// LOAD UI FROM XML //
8900//////////////////////
8901
8902
8903class LLAdvancedLoadUIFromXML : public view_listener_t
8904{
8905 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8906 {
8907 handle_load_from_xml(NULL);
8908 return true;
8909 }
8910};
8911
8912
8913
8914////////////////////
8915// SAVE UI TO XML //
8916////////////////////
8917
8918
8919class LLAdvancedSaveUIToXML : public view_listener_t
8920{
8921 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8922 {
8923 handle_save_to_xml(NULL);
8924 return true;
8925 }
8926};
8927
8928
8929
8930///////////////
8931// XUI NAMES //
8932///////////////
8933
8934
8935class LLAdvancedToggleXUINames : public view_listener_t
8936{
8937 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8938 {
8939 toggle_show_xui_names(NULL);
8940 return true;
8941 }
8942};
8943
8944class LLAdvancedCheckXUINames : public view_listener_t
8945{
8946 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8947 {
8948 bool new_value = check_show_xui_names(NULL);
8949 LLString control_name = userdata["control"].asString();
8950 gMenuHolder->findControl(control_name)->setValue(new_value);
8951 return true;
8952 }
8953};
8954
8955
8956
8957////////////////////////
8958// GRAB BAKED TEXTURE //
8959////////////////////////
8960
8961
8962class LLAdvancedGrabBakedTexture : public view_listener_t
8963{
8964 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8965 {
8966 LLString texture_type = userdata.asString();
8967 if ("eyes" == texture_type)
8968 {
8969 handle_grab_texture( (void*)LLVOAvatar::TEX_EYES_BAKED );
8970 }
8971 else if ("head" == texture_type)
8972 {
8973 handle_grab_texture( (void*)LLVOAvatar::TEX_HEAD_BAKED );
8974 }
8975 else if ("upper" == texture_type)
8976 {
8977 handle_grab_texture( (void*)LLVOAvatar::TEX_UPPER_BAKED );
8978 }
8979 else if ("lower" == texture_type)
8980 {
8981 handle_grab_texture( (void*)LLVOAvatar::TEX_SKIRT_BAKED );
8982 }
8983 else if ("skirt" == texture_type)
8984 {
8985 handle_grab_texture( (void*)LLVOAvatar::TEX_SKIRT_BAKED );
8986 }
8987
8988 return true;
8989 }
8990};
8991
8992class LLAdvancedEnableGrabBakedTexture : public view_listener_t
8993{
8994 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
8995 {
8996 LLString texture_type = userdata["data"].asString();
8997 bool new_value = false;
8998
8999 if ("iris" == texture_type)
9000 {
9001 new_value = enable_grab_texture( (void*)LLVOAvatar::TEX_EYES_BAKED );
9002 }
9003 else if ("head" == texture_type)
9004 {
9005 new_value = enable_grab_texture( (void*)LLVOAvatar::TEX_HEAD_BAKED );
9006 }
9007 else if ("upper" == texture_type)
9008 {
9009 new_value = enable_grab_texture( (void*)LLVOAvatar::TEX_UPPER_BAKED );
9010 }
9011 else if ("lower" == texture_type)
9012 {
9013 new_value = enable_grab_texture( (void*)LLVOAvatar::TEX_LOWER_BAKED );
9014 }
9015 else if ("skirt" == texture_type)
9016 {
9017 new_value = enable_grab_texture( (void*)LLVOAvatar::TEX_SKIRT_BAKED );
9018 }
9019
9020 LLString control_name = userdata["control"].asString();
9021 gMenuHolder->findControl(control_name)->setValue(new_value);
9022 return true;
9023 }
9024};
9025
9026
9027
9028//////////////////////
9029// ALLOW IDLE / AFK //
9030//////////////////////
9031
9032
9033class LLAdvancedToggleAllowIdleAFK : public view_listener_t
9034{
9035 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9036 {
9037 gAllowIdleAFK = !(gAllowIdleAFK);
9038 return true;
9039 }
9040};
9041
9042class LLAdvancedCheckAllowIdleAFK : public view_listener_t
9043{
9044 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9045 {
9046 bool new_value = gAllowIdleAFK;
9047 LLString control_name = userdata["control"].asString();
9048 gMenuHolder->findControl(control_name)->setValue(new_value);
9049 return true;
9050 }
9051};
9052
9053
9054
9055///////////////////////
9056// APPEARANCE TO XML //
9057///////////////////////
9058
9059
9060class LLAdvancedAppearanceToXML : public view_listener_t
9061{
9062 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9063 {
9064 LLVOAvatar::dumpArchetypeXML(NULL);
9065 return true;
9066 }
9067};
9068
9069
9070
9071///////////////////////////////
9072// TOGGLE CHARACTER GEOMETRY //
9073///////////////////////////////
9074
9075
9076class LLAdvancedToggleCharacterGeometry : public view_listener_t
9077{
9078 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9079 {
9080 handle_god_request_avatar_geometry(NULL);
9081 return true;
9082 }
9083};
9084
9085class LLAdvancedEnableCharacterGeometry : public view_listener_t
9086{
9087 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9088 {
9089 enable_god_customer_service(NULL);
9090 return true;
9091 }
9092};
9093
9094
9095
9096/////////////////////////////
9097// TEST MALE / TEST FEMALE //
9098/////////////////////////////
9099
9100
9101class LLAdvancedTestMale : public view_listener_t
9102{
9103 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9104 {
9105 handle_test_male(NULL);
9106 return true;
9107 }
9108};
9109
9110
9111class LLAdvancedTestFemale : public view_listener_t
9112{
9113 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9114 {
9115 handle_test_female(NULL);
9116 return true;
9117 }
9118};
9119
9120
9121
9122///////////////
9123// TOGGLE PG //
9124///////////////
9125
9126
9127class LLAdvancedTogglePG : public view_listener_t
9128{
9129 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9130 {
9131 handle_toggle_pg(NULL);
9132 return true;
9133 }
9134};
9135
9136
9137
9138/////////////////////////
9139// ALLOW SELECT AVATAR //
9140/////////////////////////
9141
9142
9143class LLAdvancedToggleAllowSelectAvatar : public view_listener_t
9144{
9145 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9146 {
9147 gAllowSelectAvatar = !(gAllowSelectAvatar);
9148 return true;
9149 }
9150};
9151
9152class LLAdvancedCheckAllowSelectAvatar : public view_listener_t
9153{
9154 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9155 {
9156 bool new_value = gAllowSelectAvatar;
9157 LLString control_name = userdata["control"].asString();
9158 gMenuHolder->findControl(control_name)->setValue(new_value);
9159 return true;
9160 }
9161};
9162
9163
9164
9165////////////////////////////
9166// ALLOW TAP-TAP-HOLD RUN //
9167////////////////////////////
9168
9169
9170class LLAdvancedToggleAllowTapTapHoldRun : public view_listener_t
9171{
9172 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9173 {
9174 gAllowTapTapHoldRun = !(gAllowTapTapHoldRun);
9175 return true;
9176 }
9177};
9178
9179class LLAdvancedCheckAllowTapTapHoldRun : public view_listener_t
9180{
9181 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9182 {
9183 bool new_value = gAllowTapTapHoldRun;
9184 LLString control_name = userdata["control"].asString();
9185 gMenuHolder->findControl(control_name)->setValue(new_value);
9186 return true;
9187 }
9188};
9189
9190
9191
9192/////////////////////////////
9193// FORCE PARAMS TO DEFAULT //
9194/////////////////////////////
9195
9196
9197class LLAdvancedForceParamsToDefault : public view_listener_t
9198{
9199 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9200 {
9201 LLAgent::clearVisualParams(NULL);
9202 return true;
9203 }
9204};
9205
9206
9207
9208//////////////////////////
9209// RELOAD VERTEX SHADER //
9210//////////////////////////
9211
9212
9213class LLAdvancedReloadVertexShader : public view_listener_t
9214{
9215 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9216 {
9217 reload_vertex_shader(NULL);
9218 return true;
9219 }
9220};
9221
9222
9223
9224////////////////////
9225// ANIMATION INFO //
9226////////////////////
9227
9228
9229class LLAdvancedToggleAnimationInfo : public view_listener_t
9230{
9231 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9232 {
9233 LLVOAvatar::sShowAnimationDebug = !(LLVOAvatar::sShowAnimationDebug);
9234 return true;
9235 }
9236};
9237
9238class LLAdvancedCheckAnimationInfo : public view_listener_t
9239{
9240 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9241 {
9242 bool new_value = LLVOAvatar::sShowAnimationDebug;
9243 LLString control_name = userdata["control"].asString();
9244 gMenuHolder->findControl(control_name)->setValue(new_value);
9245 return true;
9246 }
9247};
9248
9249
9250
9251////////////////////////////
9252// SLOW MOTION ANIMATIONS //
9253////////////////////////////
9254
9255
9256class LLAdvancedToggleSlowMotionAnimations : public view_listener_t
9257{
9258 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9259 {
9260 slow_mo_animations(NULL);
9261 return true;
9262 }
9263};
9264
9265// *TODO: Add a corresponding "Check" event for SlowMotionAnimations,
9266// so that it can become a menu_item_check with the "X" indicator.
9267// See indra/newview/skins/xui/en_us/menu_viewer.xml
9268
9269
9270
9271//////////////////
9272// SHOW LOOK AT //
9273//////////////////
9274
9275
9276class LLAdvancedToggleShowLookAt : public view_listener_t
9277{
9278 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9279 {
9280 LLHUDEffectLookAt::sDebugLookAt = !(LLHUDEffectLookAt::sDebugLookAt);
9281 return true;
9282 }
9283};
9284
9285class LLAdvancedCheckShowLookAt : public view_listener_t
9286{
9287 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9288 {
9289 bool new_value = LLHUDEffectLookAt::sDebugLookAt;
9290 LLString control_name = userdata["control"].asString();
9291 gMenuHolder->findControl(control_name)->setValue(new_value);
9292 return true;
9293 }
9294};
9295
9296
9297
9298///////////////////
9299// SHOW POINT AT //
9300///////////////////
9301
9302
9303class LLAdvancedToggleShowPointAt : public view_listener_t
9304{
9305 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9306 {
9307 LLHUDEffectPointAt::sDebugPointAt = !(LLHUDEffectPointAt::sDebugPointAt);
9308 return true;
9309 }
9310};
9311
9312class LLAdvancedCheckShowPointAt : public view_listener_t
9313{
9314 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9315 {
9316 bool new_value = LLHUDEffectPointAt::sDebugPointAt;
9317 LLString control_name = userdata["control"].asString();
9318 gMenuHolder->findControl(control_name)->setValue(new_value);
9319 return true;
9320 }
9321};
9322
9323
9324
9325/////////////////////////
9326// DEBUG JOINT UPDATES //
9327/////////////////////////
9328
9329
9330class LLAdvancedToggleDebugJointUpdates : public view_listener_t
9331{
9332 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9333 {
9334 LLVOAvatar::sJointDebug = !(LLVOAvatar::sJointDebug);
9335 return true;
9336 }
9337};
9338
9339class LLAdvancedCheckDebugJointUpdates : public view_listener_t
9340{
9341 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9342 {
9343 bool new_value = LLVOAvatar::sJointDebug;
9344 LLString control_name = userdata["control"].asString();
9345 gMenuHolder->findControl(control_name)->setValue(new_value);
9346 return true;
9347 }
9348};
9349
9350
9351
9352/////////////////
9353// DISABLE LOD //
9354/////////////////
9355
9356
9357class LLAdvancedToggleDisableLOD : public view_listener_t
9358{
9359 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9360 {
9361 LLViewerJoint::sDisableLOD = !(LLViewerJoint::sDisableLOD);
9362 return true;
9363 }
9364};
9365
9366class LLAdvancedCheckDisableLOD : public view_listener_t
9367{
9368 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9369 {
9370 bool new_value = LLViewerJoint::sDisableLOD;
9371 LLString control_name = userdata["control"].asString();
9372 gMenuHolder->findControl(control_name)->setValue(new_value);
9373 return true;
9374 }
9375};
9376
9377
9378
9379/////////////////////////
9380// DEBUG CHARACTER VIS //
9381/////////////////////////
9382
9383
9384class LLAdvancedToggleDebugCharacterVis : public view_listener_t
9385{
9386 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9387 {
9388 LLVOAvatar::sDebugInvisible = !(LLVOAvatar::sDebugInvisible);
9389 return true;
9390 }
9391};
9392
9393class LLAdvancedCheckDebugCharacterVis : public view_listener_t
9394{
9395 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9396 {
9397 bool new_value = LLVOAvatar::sDebugInvisible;
9398 LLString control_name = userdata["control"].asString();
9399 gMenuHolder->findControl(control_name)->setValue(new_value);
9400 return true;
9401 }
9402};
9403
9404
9405
9406//////////////////////////
9407// SHOW COLLISION PLANE //
9408//////////////////////////
9409
9410/***************************
9411 *
9412 * Disabled. See DEV-14477
9413 *
9414 ***************************
9415
9416class LLAdvancedToggleShowCollisionPlane : public view_listener_t
9417{
9418 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9419 {
9420 LLVOAvatar::sShowFootPlane = !(LLVOAvatar::sShowFootPlane);
9421 return true;
9422 }
9423};
9424
9425class LLAdvancedCheckShowCollisionPlane : public view_listener_t
9426{
9427 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9428 {
9429 bool new_value = LLVOAvatar::sShowFootPlane;
9430 LLString control_name = userdata["control"].asString();
9431 gMenuHolder->findControl(control_name)->setValue(new_value);
9432 return true;
9433 }
9434};
9435
9436***************************/
9437
9438
9439/////////////////////////////
9440// SHOW COLLISION SKELETON //
9441/////////////////////////////
9442
9443
9444class LLAdvancedToggleShowCollisionSkeleton : public view_listener_t
9445{
9446 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9447 {
9448 LLVOAvatar::sShowCollisionVolumes = !(LLVOAvatar::sShowCollisionVolumes);
9449 return true;
9450 }
9451};
9452
9453class LLAdvancedCheckShowCollisionSkeleton : public view_listener_t
9454{
9455 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9456 {
9457 bool new_value = LLVOAvatar::sShowCollisionVolumes;
9458 LLString control_name = userdata["control"].asString();
9459 gMenuHolder->findControl(control_name)->setValue(new_value);
9460 return true;
9461 }
9462};
9463
9464
9465
9466//////////////////////////
9467// DISPLAY AGENT TARGET //
9468//////////////////////////
9469
9470
9471class LLAdvancedToggleDisplayAgentTarget : public view_listener_t
9472{
9473 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9474 {
9475 LLAgent::sDebugDisplayTarget = !(LLAgent::sDebugDisplayTarget);
9476 return true;
9477 }
9478};
9479
9480class LLAdvancedCheckDisplayAgentTarget : public view_listener_t
9481{
9482 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9483 {
9484 bool new_value = LLAgent::sDebugDisplayTarget;
9485 LLString control_name = userdata["control"].asString();
9486 gMenuHolder->findControl(control_name)->setValue(new_value);
9487 return true;
9488 }
9489};
9490
9491
9492
9493///////////////////////////
9494// DEBUG AVATAR ROTATION //
9495///////////////////////////
9496
9497
9498class LLAdvancedToggleDebugAvatarRotation : public view_listener_t
9499{
9500 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9501 {
9502 gDebugAvatarRotation = !(gDebugAvatarRotation);
9503 return true;
9504 }
9505};
9506
9507class LLAdvancedCheckDebugAvatarRotation : public view_listener_t
9508{
9509 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9510 {
9511 bool new_value = gDebugAvatarRotation;
9512 LLString control_name = userdata["control"].asString();
9513 gMenuHolder->findControl(control_name)->setValue(new_value);
9514 return true;
9515 }
9516};
9517
9518
9519
9520//////////////////////
9521// DUMP ATTACHMENTS //
9522//////////////////////
9523
9524
9525class LLAdvancedDumpAttachments : public view_listener_t
9526{
9527 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9528 {
9529 handle_dump_attachments(NULL);
9530 return true;
9531 }
9532};
9533
9534
9535
9536/////////////////////
9537// REBAKE TEXTURES //
9538/////////////////////
9539
9540
9541class LLAdvancedRebakeTextures : public view_listener_t
9542{
9543 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9544 {
9545 handle_rebake_textures(NULL);
9546 return true;
9547 }
9548};
9549
9550
9551
9552///////////////////////////
9553// DEBUG AVATAR TEXTURES //
9554///////////////////////////
9555
9556
9557class LLAdvancedDebugAvatarTextures : public view_listener_t
9558{
9559 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9560 {
9561 handle_debug_avatar_textures(NULL);
9562 return true;
9563 }
9564};
9565
9566
9567
9568////////////////////////////////
9569// DUMP AVATAR LOCAL TEXTURES //
9570////////////////////////////////
9571
9572
9573class LLAdvancedDumpAvatarLocalTextures : public view_listener_t
9574{
9575 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9576 {
9577 handle_dump_avatar_local_textures(NULL);
9578 return true;
9579 }
9580};
9581
9582
9583
9584/////////////////
9585// MESSAGE LOG //
9586/////////////////
9587
9588
9589class LLAdvancedEnableMessageLog : public view_listener_t
9590{
9591 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9592 {
9593 handle_viewer_enable_message_log(NULL);
9594 return true;
9595 }
9596};
9597
9598class LLAdvancedDisableMessageLog : public view_listener_t
9599{
9600 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9601 {
9602 handle_viewer_disable_message_log(NULL);
9603 return true;
9604 }
9605};
9606
9607
9608
9609/////////////////
9610// DROP PACKET //
9611/////////////////
9612
9613
9614class LLAdvancedDropPacket : public view_listener_t
9615{
9616 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9617 {
9618 drop_packet(NULL);
9619 return true;
9620 }
9621};
9622
9623
9624
9625/////////////////////////
9626// FRAME STATS LOGGING //
9627/////////////////////////
9628
9629
9630class LLAdvancedFrameStatsLogging : public view_listener_t
9631{
9632 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9633 {
9634 LLString command = userdata.asString();
9635 if ("start logging" == command)
9636 {
9637 LLFrameStats::startLogging(NULL);
9638 }
9639 else if ("stop logging" == command)
9640 {
9641 LLFrameStats::stopLogging(NULL);
9642 }
9643 else if ("timed logging 10" == command)
9644 {
9645 LLFrameStats::timedLogging10(NULL);
9646 }
9647 else if ("timed logging 30" == command)
9648 {
9649 LLFrameStats::timedLogging30(NULL);
9650 }
9651 else if ("timed logging 60" == command)
9652 {
9653 LLFrameStats::timedLogging60(NULL);
9654 }
9655
9656 return true;
9657 }
9658};
9659
9660
9661
9662/////////////////
9663// AGENT PILOT //
9664/////////////////
9665
9666
9667class LLAdvancedAgentPilot : public view_listener_t
9668{
9669 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9670 {
9671 LLString command = userdata.asString();
9672 if ("start playback" == command)
9673 {
9674 LLAgentPilot::startPlayback(NULL);
9675 }
9676 else if ("stop playback" == command)
9677 {
9678 LLAgentPilot::stopPlayback(NULL);
9679 }
9680 else if ("start record" == command)
9681 {
9682 LLAgentPilot::startRecord(NULL);
9683 }
9684 else if ("stop record" == command)
9685 {
9686 LLAgentPilot::saveRecord(NULL);
9687 }
9688
9689 return true;
9690 }
9691};
9692
9693
9694
9695//////////////////////
9696// AGENT PILOT LOOP //
9697//////////////////////
9698
9699
9700class LLAdvancedToggleAgentPilotLoop : public view_listener_t
9701{
9702 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9703 {
9704 LLAgentPilot::sLoop = !(LLAgentPilot::sLoop);
9705 return true;
9706 }
9707};
9708
9709class LLAdvancedCheckAgentPilotLoop : public view_listener_t
9710{
9711 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9712 {
9713 bool new_value = LLAgentPilot::sLoop;
9714 LLString control_name = userdata["control"].asString();
9715 gMenuHolder->findControl(control_name)->setValue(new_value);
9716 return true;
9717 }
9718};
9719
9720
9721
9722/////////////////////////
9723// SHOW OBJECT UPDATES //
9724/////////////////////////
9725
9726
9727class LLAdvancedToggleShowObjectUpdates : public view_listener_t
9728{
9729 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9730 {
9731 gShowObjectUpdates = !(gShowObjectUpdates);
9732 return true;
9733 }
9734};
9735
9736class LLAdvancedCheckShowObjectUpdates : public view_listener_t
9737{
9738 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9739 {
9740 bool new_value = gShowObjectUpdates;
9741 LLString control_name = userdata["control"].asString();
9742 gMenuHolder->findControl(control_name)->setValue(new_value);
9743 return true;
9744 }
9745};
9746
9747
9748
9749////////////////////
9750// COMPRESS IMAGE //
9751////////////////////
9752
9753
9754class LLAdvancedCompressImage : public view_listener_t
9755{
9756 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9757 {
9758 handle_compress_image(NULL);
9759 return true;
9760 }
9761};
9762
9763
9764
9765//////////////////////
9766// CLOTHING FLOATER //
9767//////////////////////
9768
9769
9770class LLAdvancedToggleClothingFloater : public view_listener_t
9771{
9772 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9773 {
9774 handle_clothing(NULL);
9775 return true;
9776 }
9777};
9778
9779// There is no LLAdvancedCheckClothingFloater.
9780
9781
9782
9783/////////////////////////
9784// SHOW DEBUG SETTINGS //
9785/////////////////////////
9786
9787
9788class LLAdvancedShowDebugSettings : public view_listener_t
9789{
9790 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9791 {
9792 LLFloaterSettingsDebug::show(NULL);
9793 return true;
9794 }
9795};
9796
9797
9798
9799////////////////////////
9800// VIEW ADMIN OPTIONS //
9801////////////////////////
9802
9803
9804class LLAdvancedToggleViewAdminOptions : public view_listener_t
9805{
9806 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9807 {
9808 handle_admin_override_toggle(NULL);
9809 return true;
9810 }
9811};
9812
9813class LLAdvancedCheckViewAdminOptions : public view_listener_t
9814{
9815 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9816 {
9817 bool new_value = check_admin_override(NULL);
9818 LLString control_name = userdata["control"].asString();
9819 gMenuHolder->findControl(control_name)->setValue(new_value);
9820 return true;
9821 }
9822};
9823
9824
9825
9826//////////////////
9827// ADMIN STATUS //
9828//////////////////
9829
9830
9831class LLAdvancedRequestAdminStatus : public view_listener_t
9832{
9833 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9834 {
9835 handle_god_mode(NULL);
9836 return true;
9837 }
9838};
9839
9840class LLAdvancedLeaveAdminStatus : public view_listener_t
9841{
9842 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
9843 {
9844 handle_leave_god_mode(NULL);
9845 return true;
9846 }
9847};
9848
9849
9850
7735static void addMenu(view_listener_t *menu, const char *name) 9851static void addMenu(view_listener_t *menu, const char *name)
7736{ 9852{
7737 sMenus.push_back(menu); 9853 sMenus.push_back(menu);
@@ -7941,4 +10057,155 @@ void initialize_menus()
7941 addMenu(new LLSomethingSelected(), "SomethingSelected"); 10057 addMenu(new LLSomethingSelected(), "SomethingSelected");
7942 addMenu(new LLSomethingSelectedNoHUD(), "SomethingSelectedNoHUD"); 10058 addMenu(new LLSomethingSelectedNoHUD(), "SomethingSelectedNoHUD");
7943 addMenu(new LLEditableSelected(), "EditableSelected"); 10059 addMenu(new LLEditableSelected(), "EditableSelected");
10060
10061
10062 // Advanced (top level menu)
10063 addMenu(new LLAdvancedToggleConsole(), "Advanced.ToggleConsole");
10064 addMenu(new LLAdvancedCheckConsole(), "Advanced.CheckConsole");
10065 addMenu(new LLAdvancedDumpInfoToConsole(), "Advanced.DumpInfoToConsole");
10066 addMenu(new LLAdvancedReloadSettingsOverrides(), "Advanced.ReloadSettingsOverrides");
10067
10068 // Advanced > HUD Info
10069 addMenu(new LLAdvancedToggleHUDInfo(), "Advanced.ToggleHUDInfo");
10070 addMenu(new LLAdvancedCheckHUDInfo(), "Advanced.CheckHUDInfo");
10071
10072 addMenu(new LLAdvancedClearGroupCache(), "Advanced.ClearGroupCache");
10073
10074 // Advanced > Render > Types
10075 addMenu(new LLAdvancedToggleRenderType(), "Advanced.ToggleRenderType");
10076 addMenu(new LLAdvancedCheckRenderType(), "Advanced.CheckRenderType");
10077
10078 // Advanced > Render > Features
10079 addMenu(new LLAdvancedToggleFeature(), "Advanced.ToggleFeature");
10080 addMenu(new LLAdvancedCheckFeature(), "Advanced.CheckFeature");
10081
10082 // Advanced > Render > Info Displays
10083 addMenu(new LLAdvancedToggleInfoDisplay(), "Advanced.ToggleInfoDisplay");
10084 addMenu(new LLAdvancedCheckInfoDisplay(), "Advanced.CheckInfoDisplay");
10085 addMenu(new LLAdvancedToggleSelectBuffer(), "Advanced.ToggleSelectBuffer");
10086 addMenu(new LLAdvancedCheckSelectBuffer(), "Advanced.CheckSelectBuffer");
10087 addMenu(new LLAdvancedToggleRandomizeFramerate(), "Advanced.ToggleRandomizeFramerate");
10088 addMenu(new LLAdvancedCheckRandomizeFramerate(), "Advanced.CheckRandomizeFramerate");
10089 addMenu(new LLAdvancedTogglePeriodicSlowFrame(), "Advanced.TogglePeriodicSlowFrame");
10090 addMenu(new LLAdvancedCheckPeriodicSlowFrame(), "Advanced.CheckPeriodicSlowFrame");
10091 addMenu(new LLAdvancedToggleFrameTest(), "Advanced.ToggleFrameTest");
10092 addMenu(new LLAdvancedCheckFrameTest(), "Advanced.CheckFrameTest");
10093 addMenu(new LLAdvancedToggleHideSelectedObjects(), "Advanced.ToggleHideSelectedObjects");
10094 addMenu(new LLAdvancedCheckHideSelectedObjects(), "Advanced.CheckHideSelectedObjects");
10095 addMenu(new LLAdvancedSelectedTextureInfo(), "Advanced.SelectedTextureInfo");
10096 addMenu(new LLAdvancedToggleWireframe(), "Advanced.ToggleWireframe");
10097 addMenu(new LLAdvancedCheckWireframe(), "Advanced.CheckWireframe");
10098 addMenu(new LLAdvancedToggleDisableTextures(), "Advanced.ToggleDisableTextures");
10099 addMenu(new LLAdvancedCheckDisableTextures(), "Advanced.CheckDisableTextures");
10100
10101 // Advanced > World
10102 addMenu(new LLAdvancedDumpScriptedCamera(), "Advanced.DumpScriptedCamera");
10103 addMenu(new LLAdvancedDumpRegionObjectCache(), "Advanced.DumpRegionObjectCache");
10104
10105 // Advanced > UI
10106 addMenu(new LLAdvancedSLURLTest(), "Advanced.SLURLTest");
10107 addMenu(new LLAdvancedToggleEditableUI(), "Advanced.ToggleEditableUI");
10108 //addMenu(new LLAdvancedCheckEditableUI(), "Advanced.CheckEditableUI");
10109 addMenu(new LLAdvancedToggleAsyncKeystrokes(), "Advanced.ToggleAsyncKeystrokes");
10110 addMenu(new LLAdvancedCheckAsyncKeystrokes(), "Advanced.CheckAsyncKeystrokes");
10111 addMenu(new LLAdvancedDumpSelectMgr(), "Advanced.DumpSelectMgr");
10112 addMenu(new LLAdvancedDumpInventory(), "Advanced.DumpInventory");
10113 addMenu(new LLAdvancedDumpFocusHolder(), "Advanced.DumpFocusHolder");
10114 addMenu(new LLAdvancedPrintSelectedObjectInfo(), "Advanced.PrintSelectedObjectInfo");
10115 addMenu(new LLAdvancedPrintAgentInfo(), "Advanced.PrintAgentInfo");
10116 addMenu(new LLAdvancedPrintTextureMemoryStats(), "Advanced.PrintTextureMemoryStats");
10117 addMenu(new LLAdvancedToggleDebugSelectMgr(), "Advanced.ToggleDebugSelectMgr");
10118 addMenu(new LLAdvancedCheckDebugSelectMgr(), "Advanced.CheckDebugSelectMgr");
10119 addMenu(new LLAdvancedToggleDebugClicks(), "Advanced.ToggleDebugClicks");
10120 addMenu(new LLAdvancedCheckDebugClicks(), "Advanced.CheckDebugClicks");
10121 addMenu(new LLAdvancedCheckDebugViews(), "Advanced.CheckDebugViews");
10122 addMenu(new LLAdvancedToggleDebugViews(), "Advanced.ToggleDebugViews");
10123 addMenu(new LLAdvancedToggleXUINameTooltips(), "Advanced.ToggleXUINameTooltips");
10124 addMenu(new LLAdvancedCheckXUINameTooltips(), "Advanced.CheckXUINameTooltips");
10125 addMenu(new LLAdvancedToggleDebugMouseEvents(), "Advanced.ToggleDebugMouseEvents");
10126 addMenu(new LLAdvancedCheckDebugMouseEvents(), "Advanced.CheckDebugMouseEvents");
10127 addMenu(new LLAdvancedToggleDebugKeys(), "Advanced.ToggleDebugKeys");
10128 addMenu(new LLAdvancedCheckDebugKeys(), "Advanced.CheckDebugKeys");
10129 addMenu(new LLAdvancedToggleDebugWindowProc(), "Advanced.ToggleDebugWindowProc");
10130 addMenu(new LLAdvancedCheckDebugWindowProc(), "Advanced.CheckDebugWindowProc");
10131 addMenu(new LLAdvancedToggleDebugTextEditorTips(), "Advanced.ToggleDebugTextEditorTips");
10132 addMenu(new LLAdvancedCheckDebugTextEditorTips(), "Advanced.CheckDebugTextEditorTips");
10133
10134 // Advanced > XUI
10135 addMenu(new LLAdvancedShowFloaterTest(), "Advanced.ShowFloaterTest");
10136 addMenu(new LLAdvancedExportMenusToXML(), "Advanced.ExportMenusToXML");
10137 addMenu(new LLAdvancedEditUI(), "Advanced.EditUI");
10138 addMenu(new LLAdvancedLoadUIFromXML(), "Advanced.LoadUIFromXML");
10139 addMenu(new LLAdvancedSaveUIToXML(), "Advanced.SaveUIToXML");
10140 addMenu(new LLAdvancedToggleXUINames(), "Advanced.ToggleXUINames");
10141 addMenu(new LLAdvancedCheckXUINames(), "Advanced.CheckXUINames");
10142
10143 // Advanced > Character > Grab Baked Texture
10144 addMenu(new LLAdvancedGrabBakedTexture(), "Advanced.GrabBakedTexture");
10145 addMenu(new LLAdvancedEnableGrabBakedTexture(), "Advanced.EnableGrabBakedTexture");
10146
10147 // Advanced > Character > Character Tests
10148 addMenu(new LLAdvancedToggleAllowIdleAFK(), "Advanced.ToggleAllowIdleAFK");
10149 addMenu(new LLAdvancedCheckAllowIdleAFK(), "Advanced.CheckAllowIdleAFK");
10150 addMenu(new LLAdvancedAppearanceToXML(), "Advanced.AppearanceToXML");
10151 addMenu(new LLAdvancedToggleCharacterGeometry(), "Advanced.ToggleCharacterGeometry");
10152 addMenu(new LLAdvancedTestMale(), "Advanced.TestMale");
10153 addMenu(new LLAdvancedTestFemale(), "Advanced.TestFemale");
10154 addMenu(new LLAdvancedTogglePG(), "Advanced.TogglePG");
10155 addMenu(new LLAdvancedToggleAllowSelectAvatar(), "Advanced.ToggleAllowSelectAvatar");
10156 addMenu(new LLAdvancedCheckAllowSelectAvatar(), "Advanced.CheckAllowSelectAvatar");
10157
10158 // Advanced > Character (toplevel)
10159 addMenu(new LLAdvancedToggleAllowTapTapHoldRun(), "Advanced.ToggleAllowTapTapHoldRun");
10160 addMenu(new LLAdvancedCheckAllowTapTapHoldRun(), "Advanced.CheckAllowTapTapHoldRun");
10161 addMenu(new LLAdvancedForceParamsToDefault(), "Advanced.ForceParamsToDefault");
10162 addMenu(new LLAdvancedReloadVertexShader(), "Advanced.ReloadVertexShader");
10163 addMenu(new LLAdvancedToggleAnimationInfo(), "Advanced.ToggleAnimationInfo");
10164 addMenu(new LLAdvancedCheckAnimationInfo(), "Advanced.CheckAnimationInfo");
10165 addMenu(new LLAdvancedToggleSlowMotionAnimations(), "Advanced.ToggleSlowMotionAnimations");
10166 //addMenu(new LLAdvancedCheckSlowMotionAnimations(), "Advanced.CheckSlowMotionAnimations");
10167 addMenu(new LLAdvancedToggleShowLookAt(), "Advanced.ToggleShowLookAt");
10168 addMenu(new LLAdvancedCheckShowLookAt(), "Advanced.CheckShowLookAt");
10169 addMenu(new LLAdvancedToggleShowPointAt(), "Advanced.ToggleShowPointAt");
10170 addMenu(new LLAdvancedCheckShowPointAt(), "Advanced.CheckShowPointAt");
10171 addMenu(new LLAdvancedToggleDebugJointUpdates(), "Advanced.ToggleDebugJointUpdates");
10172 addMenu(new LLAdvancedCheckDebugJointUpdates(), "Advanced.CheckDebugJointUpdates");
10173 addMenu(new LLAdvancedToggleDisableLOD(), "Advanced.ToggleDisableLOD");
10174 addMenu(new LLAdvancedCheckDisableLOD(), "Advanced.CheckDisableLOD");
10175 addMenu(new LLAdvancedToggleDebugCharacterVis(), "Advanced.ToggleDebugCharacterVis");
10176 addMenu(new LLAdvancedCheckDebugCharacterVis(), "Advanced.CheckDebugCharacterVis");
10177// addMenu(new LLAdvancedToggleShowCollisionPlane(), "Advanced.ToggleShowCollisionPlane");
10178// addMenu(new LLAdvancedCheckShowCollisionPlane(), "Advanced.CheckShowCollisionPlane");
10179 addMenu(new LLAdvancedToggleShowCollisionSkeleton(), "Advanced.ToggleShowCollisionSkeleton");
10180 addMenu(new LLAdvancedCheckShowCollisionSkeleton(), "Advanced.CheckShowCollisionSkeleton");
10181 addMenu(new LLAdvancedToggleDisplayAgentTarget(), "Advanced.ToggleDisplayAgentTarget");
10182 addMenu(new LLAdvancedCheckDisplayAgentTarget(), "Advanced.CheckDisplayAgentTarget");
10183 addMenu(new LLAdvancedToggleDebugAvatarRotation(), "Advanced.ToggleDebugAvatarRotation");
10184 addMenu(new LLAdvancedCheckDebugAvatarRotation(), "Advanced.CheckDebugAvatarRotation");
10185 addMenu(new LLAdvancedDumpAttachments(), "Advanced.DumpAttachments");
10186 addMenu(new LLAdvancedRebakeTextures(), "Advanced.RebakeTextures");
10187 addMenu(new LLAdvancedDebugAvatarTextures(), "Advanced.DebugAvatarTextures");
10188 addMenu(new LLAdvancedDumpAvatarLocalTextures(), "Advanced.DumpAvatarLocalTextures");
10189
10190 // Advanced > Network
10191 addMenu(new LLAdvancedEnableMessageLog(), "Advanced.EnableMessageLog");
10192 addMenu(new LLAdvancedDisableMessageLog(), "Advanced.DisableMessageLog");
10193 addMenu(new LLAdvancedDropPacket(), "Advanced.DropPacket");
10194
10195 // Advanced > Recorder
10196 addMenu(new LLAdvancedFrameStatsLogging(), "Advanced.FrameStatsLogging");
10197 addMenu(new LLAdvancedAgentPilot(), "Advanced.AgentPilot");
10198 addMenu(new LLAdvancedToggleAgentPilotLoop(), "Advanced.ToggleAgentPilotLoop");
10199 addMenu(new LLAdvancedCheckAgentPilotLoop(), "Advanced.CheckAgentPilotLoop");
10200
10201 // Advanced (toplevel)
10202 addMenu(new LLAdvancedToggleShowObjectUpdates(), "Advanced.ToggleShowObjectUpdates");
10203 addMenu(new LLAdvancedCheckShowObjectUpdates(), "Advanced.CheckShowObjectUpdates");
10204 addMenu(new LLAdvancedCompressImage(), "Advanced.CompressImage");
10205 addMenu(new LLAdvancedToggleClothingFloater(), "Advanced.ToggleClothingFloater");
10206 addMenu(new LLAdvancedShowDebugSettings(), "Advanced.ShowDebugSettings");
10207 addMenu(new LLAdvancedToggleViewAdminOptions(), "Advanced.ToggleViewAdminOptions");
10208 addMenu(new LLAdvancedCheckViewAdminOptions(), "Advanced.CheckViewAdminOptions");
10209 addMenu(new LLAdvancedRequestAdminStatus(), "Advanced.RequestAdminStatus");
10210 addMenu(new LLAdvancedLeaveAdminStatus(), "Advanced.LeaveAdminStatus");
7944} 10211}
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
index eacd0ed..6627dec 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
@@ -1,861 +1,1663 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?> 1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<menu_bar bottom="-18" drop_shadow="false" enabled="true" follows="left|top|right" 2
3 height="18" left="0" mouse_opaque="true" name="Main Menu" opaque="false" 3<menu_bar name="Main Menu" drop_shadow="false" follows="left|top|right"
4 tear_off="false" width="802"> 4 opaque="false" tear_off="false">
5 <menu bottom="273" create_jump_keys="true" drop_shadow="true" enabled="true" 5
6 height="263" label="File" left="0" mouse_opaque="false" name="File" 6
7 opaque="true" tear_off="true" width="243"> 7 <!-- FILE -->
8 <tearoff_menu bottom="-10" enabled="true" height="10" label="~~~~~~~~~~~" left="0" 8
9 mouse_opaque="true" name="~~~~~~~~~~~" width="243" /> 9 <menu name="File" create_jump_keys="true" label="File"
10 <menu_item_call bottom="-29" enabled="true" height="19" label="Upload Image (L$[COST])..." 10 opaque="true" tear_off="true">
11 left="0" mouse_opaque="true" name="Upload Image" shortcut="control|U" 11 <menu_item_call name="Upload Image" label="Upload Image (L$[COST])..."
12 width="243"> 12 shortcut="control|U">
13 <on_click function="File.UploadImage" userdata="" /> 13 <on_click function="File.UploadImage" userdata="" />
14 <on_enable function="File.EnableUpload" /> 14 <on_enable function="File.EnableUpload" />
15 </menu_item_call> 15 </menu_item_call>
16 <menu_item_call bottom="-48" enabled="true" height="19" label="Upload Sound (L$[COST])..." 16 <menu_item_call name="Upload Sound" label="Upload Sound (L$[COST])...">
17 left="0" mouse_opaque="true" name="Upload Sound" width="243">
18 <on_click function="File.UploadSound" userdata="" /> 17 <on_click function="File.UploadSound" userdata="" />
19 <on_enable function="File.EnableUpload" /> 18 <on_enable function="File.EnableUpload" />
20 </menu_item_call> 19 </menu_item_call>
21 <menu_item_call bottom="-67" enabled="true" height="19" label="Upload Animation (L$[COST])..." 20 <menu_item_call name="Upload Animation"
22 left="0" mouse_opaque="true" name="Upload Animation" width="243"> 21 label="Upload Animation (L$[COST])...">
23 <on_click function="File.UploadAnim" userdata="" /> 22 <on_click function="File.UploadAnim" userdata="" />
24 <on_enable function="File.EnableUpload" /> 23 <on_enable function="File.EnableUpload" />
25 </menu_item_call> 24 </menu_item_call>
26 <menu_item_call bottom="-86" enabled="true" height="19" 25 <menu_item_call name="Bulk Upload"
27 label="Bulk Upload (L$[COST] per file)..." left="0" mouse_opaque="true" 26 label="Bulk Upload (L$[COST] per file)...">
28 name="Bulk Upload" width="243">
29 <on_click function="File.UploadBulk" userdata="" /> 27 <on_click function="File.UploadBulk" userdata="" />
30 </menu_item_call> 28 </menu_item_call>
31 <menu_item_separator bottom="-94" enabled="true" height="8" label="-----------" left="0" 29 <menu_item_separator />
32 mouse_opaque="true" name="separator" width="243" /> 30 <menu_item_call name="Close Window" label="Close Window"
33 <menu_item_call bottom="-113" enabled="true" height="19" label="Close Window" left="0" 31 shortcut="control|W">
34 mouse_opaque="true" name="Close Window" shortcut="control|W" width="243">
35 <on_click function="File.CloseWindow" userdata="" /> 32 <on_click function="File.CloseWindow" userdata="" />
36 <on_enable function="File.EnableCloseWindow" userdata="" /> 33 <on_enable function="File.EnableCloseWindow" userdata="" />
37 </menu_item_call> 34 </menu_item_call>
38 <menu_item_call bottom="-113" enabled="true" height="19" label="Close All Windows" left="0" 35 <menu_item_call name="Close All Windows" label="Close All Windows"
39 mouse_opaque="true" name="Close All Windows" shortcut="control|shift|W" 36 shortcut="control|shift|W">
40 width="243">
41 <on_click function="File.CloseAllWindows" userdata="" /> 37 <on_click function="File.CloseAllWindows" userdata="" />
42 <on_enable function="File.EnableCloseAllWindows" userdata="" /> 38 <on_enable function="File.EnableCloseAllWindows" userdata="" />
43 </menu_item_call> 39 </menu_item_call>
44 <menu_item_separator bottom="-121" enabled="true" height="8" label="-----------" left="0" 40 <menu_item_separator />
45 mouse_opaque="true" name="separator2" width="243" /> 41 <menu_item_call name="Save Texture As..." label="Save Texture As...">
46 <menu_item_call bottom="-140" enabled="true" height="19" label="Save Texture As..." left="0"
47 mouse_opaque="true" name="Save Texture As..." width="243">
48 <on_click function="File.SaveTexture" userdata="" /> 42 <on_click function="File.SaveTexture" userdata="" />
49 <on_enable function="File.EnableSaveAs" /> 43 <on_enable function="File.EnableSaveAs" />
50 </menu_item_call> 44 </menu_item_call>
51 <menu_item_separator bottom="-148" enabled="true" height="8" label="-----------" left="0" 45 <menu_item_separator />
52 mouse_opaque="true" name="separator3" width="243" /> 46 <menu_item_call name="Take Snapshot" label="Take Snapshot"
53 <menu_item_call bottom="-167" enabled="true" height="19" label="Take Snapshot" left="0" 47 shortcut="control|shift|S">
54 mouse_opaque="true" name="Take Snapshot" shortcut="control|shift|S"
55 width="243">
56 <on_click function="File.TakeSnapshot" userdata="" /> 48 <on_click function="File.TakeSnapshot" userdata="" />
57 </menu_item_call> 49 </menu_item_call>
58 <menu_item_call bottom="-186" enabled="true" height="19" label="Snapshot to Disk" left="0" 50 <menu_item_call name="Snapshot to Disk" label="Snapshot to Disk"
59 mouse_opaque="true" name="Snapshot to Disk" shortcut="control|`" 51 shortcut="control|`" useMacCtrl="true">
60 useMacCtrl="true" width="243">
61 <on_click function="File.TakeSnapshotToDisk" userdata="" /> 52 <on_click function="File.TakeSnapshotToDisk" userdata="" />
62 </menu_item_call> 53 </menu_item_call>
63 <menu_item_separator bottom="-194" enabled="true" height="8" label="-----------" left="0" 54 <menu_item_separator />
64 mouse_opaque="true" name="separator4" width="243" /> 55 <menu_item_call name="Quit" label="Quit" shortcut="control|Q">
65 <menu_item_call bottom="-259" enabled="true" height="19" label="Quit" left="0"
66 mouse_opaque="true" name="Quit" shortcut="control|Q" width="243">
67 <on_click function="File.Quit" userdata="" /> 56 <on_click function="File.Quit" userdata="" />
68 </menu_item_call> 57 </menu_item_call>
69 </menu> 58 </menu>
70 <menu bottom="97" create_jump_keys="true" drop_shadow="true" enabled="true" 59
71 height="439" label="Edit" left="38" mouse_opaque="false" name="Edit" 60
72 opaque="true" tear_off="true" width="153"> 61
73 <menu_item_call bottom="-29" enabled="false" height="19" label="Undo" left="0" 62 <!-- EDIT -->
74 mouse_opaque="true" name="Undo" shortcut="control|Z" width="153"> 63
64 <menu name="Edit" create_jump_keys="true" label="Edit"
65 opaque="true" tear_off="true">
66 <menu_item_call name="Undo" enabled="false" label="Undo"
67 shortcut="control|Z">
75 <on_click function="Edit.Undo" userdata="" /> 68 <on_click function="Edit.Undo" userdata="" />
76 <on_enable function="Edit.EnableUndo" /> 69 <on_enable function="Edit.EnableUndo" />
77 </menu_item_call> 70 </menu_item_call>
78 <menu_item_call bottom="-48" enabled="false" height="19" label="Redo" left="0" 71 <menu_item_call name="Redo" enabled="false" label="Redo"
79 mouse_opaque="true" name="Redo" shortcut="control|Y" width="153"> 72 shortcut="control|Y">
80 <on_click function="Edit.Redo" userdata="" /> 73 <on_click function="Edit.Redo" userdata="" />
81 <on_enable function="Edit.EnableRedo" /> 74 <on_enable function="Edit.EnableRedo" />
82 </menu_item_call> 75 </menu_item_call>
83 <menu_item_separator bottom="-56" enabled="true" height="8" label="-----------" left="0" 76 <menu_item_separator />
84 mouse_opaque="true" name="separator" width="153" /> 77 <menu_item_call name="Cut" enabled="false" label="Cut" shortcut="control|X">
85 <menu_item_call bottom="-75" enabled="false" height="19" label="Cut" left="0"
86 mouse_opaque="true" name="Cut" shortcut="control|X" width="153">
87 <on_click function="Edit.Cut" userdata="" /> 78 <on_click function="Edit.Cut" userdata="" />
88 <on_enable function="Edit.EnableCut" /> 79 <on_enable function="Edit.EnableCut" />
89 </menu_item_call> 80 </menu_item_call>
90 <menu_item_call bottom="-94" enabled="false" height="19" label="Copy" left="0" 81 <menu_item_call name="Copy" enabled="false" label="Copy"
91 mouse_opaque="true" name="Copy" shortcut="control|C" width="153"> 82 shortcut="control|C">
92 <on_click function="Edit.Copy" userdata="" /> 83 <on_click function="Edit.Copy" userdata="" />
93 <on_enable function="Edit.EnableCopy" /> 84 <on_enable function="Edit.EnableCopy" />
94 </menu_item_call> 85 </menu_item_call>
95 <menu_item_call bottom="-113" enabled="false" height="19" label="Paste" left="0" 86 <menu_item_call name="Paste" enabled="false" label="Paste"
96 mouse_opaque="true" name="Paste" shortcut="control|V" width="153"> 87 shortcut="control|V">
97 <on_click function="Edit.Paste" userdata="" /> 88 <on_click function="Edit.Paste" userdata="" />
98 <on_enable function="Edit.EnablePaste" /> 89 <on_enable function="Edit.EnablePaste" />
99 </menu_item_call> 90 </menu_item_call>
100 <menu_item_call bottom="-132" enabled="false" height="19" label="Delete" left="0" 91 <menu_item_call name="Delete" enabled="false" label="Delete" shortcut="Del">
101 mouse_opaque="true" name="Delete" shortcut="Del" width="153">
102 <on_click function="Edit.Delete" userdata="" /> 92 <on_click function="Edit.Delete" userdata="" />
103 <on_enable function="Edit.EnableDelete" /> 93 <on_enable function="Edit.EnableDelete" />
104 </menu_item_call> 94 </menu_item_call>
105 <menu_item_separator bottom="-140" enabled="true" height="8" label="-----------" left="0" 95 <menu_item_separator />
106 mouse_opaque="true" name="separator2" width="153" /> 96 <menu_item_call name="Search..." label="Search..." shortcut="control|F">
107 <menu_item_call bottom="-159" enabled="true" height="19" label="Search..." left="0"
108 mouse_opaque="true" name="Search..." shortcut="control|F" width="153">
109 <on_click function="Edit.Search" userdata="" /> 97 <on_click function="Edit.Search" userdata="" />
110 </menu_item_call> 98 </menu_item_call>
111 <menu_item_separator bottom="-167" enabled="true" height="8" label="-----------" left="0" 99 <menu_item_separator />
112 mouse_opaque="true" name="separator3" width="153" /> 100 <menu_item_call name="Select All" enabled="false" label="Select All"
113 <menu_item_call bottom="-186" enabled="false" height="19" label="Select All" left="0" 101 shortcut="control|A">
114 mouse_opaque="true" name="Select All" shortcut="control|A" width="153">
115 <on_click function="Edit.SelectAll" userdata="" /> 102 <on_click function="Edit.SelectAll" userdata="" />
116 <on_enable function="Edit.EnableSelectAll" /> 103 <on_enable function="Edit.EnableSelectAll" />
117 </menu_item_call> 104 </menu_item_call>
118 <menu_item_call bottom="-205" enabled="false" height="19" label="Deselect" left="0" 105 <menu_item_call name="Deselect" enabled="false" label="Deselect"
119 mouse_opaque="true" name="Deselect" shortcut="control|E" width="153"> 106 shortcut="control|E">
120 <on_click function="Edit.Deselect" userdata="" /> 107 <on_click function="Edit.Deselect" userdata="" />
121 <on_enable function="Edit.EnableDeselect" /> 108 <on_enable function="Edit.EnableDeselect" />
122 </menu_item_call> 109 </menu_item_call>
123 <menu_item_separator bottom="-213" enabled="true" height="8" label="-----------" left="0" 110 <menu_item_separator />
124 mouse_opaque="true" name="separator4" width="153" /> 111 <menu_item_call name="Duplicate" enabled="false" label="Duplicate"
125 <menu_item_call bottom="-232" enabled="false" height="19" label="Duplicate" left="0" 112 shortcut="control|D">
126 mouse_opaque="true" name="Duplicate" shortcut="control|D" width="153">
127 <on_click function="Edit.Duplicate" userdata="" /> 113 <on_click function="Edit.Duplicate" userdata="" />
128 <on_enable function="Edit.EnableDuplicate" /> 114 <on_enable function="Edit.EnableDuplicate" />
129 </menu_item_call> 115 </menu_item_call>
130 <menu_item_separator bottom="-240" enabled="true" height="8" label="-----------" left="0" 116 <menu_item_separator />
131 mouse_opaque="true" name="separator5" width="153" /> 117 <menu name="Attach Object" create_jump_keys="true" label="Attach Object"
132 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 118 opaque="true" tear_off="true" />
133 height="554" label="Attach Object" left="0" mouse_opaque="false" 119 <menu name="Detach Object" create_jump_keys="true" label="Detach Object"
134 name="Attach Object" opaque="true" tear_off="true" width="117" /> 120 opaque="true" tear_off="true" />
135 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 121 <menu name="Take Off Clothing" create_jump_keys="true"
136 height="554" label="Detach Object" left="191" mouse_opaque="false" 122 label="Take Off Clothing" opaque="true" tear_off="true">
137 name="Detach Object" opaque="true" tear_off="true" width="118" /> 123 <menu_item_call name="Shirt" enabled="false" label="Shirt">
138 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true"
139 height="204" label="Take Off Clothing" left="0" mouse_opaque="false"
140 name="Take Off Clothing" opaque="true" tear_off="true" width="118">
141 <menu_item_call bottom="-29" enabled="false" height="19" label="Shirt" left="0"
142 mouse_opaque="true" name="Shirt" width="118">
143 <on_click function="Edit.TakeOff" userdata="shirt" /> 124 <on_click function="Edit.TakeOff" userdata="shirt" />
144 <on_enable function="Edit.EnableTakeOff" userdata="shirt" /> 125 <on_enable function="Edit.EnableTakeOff" userdata="shirt" />
145 </menu_item_call> 126 </menu_item_call>
146 <menu_item_call bottom="-48" enabled="false" height="19" label="Pants" left="0" 127 <menu_item_call name="Pants" enabled="false" label="Pants">
147 mouse_opaque="true" name="Pants" width="118">
148 <on_click function="Edit.TakeOff" userdata="pants" /> 128 <on_click function="Edit.TakeOff" userdata="pants" />
149 <on_enable function="Edit.EnableTakeOff" userdata="pants" /> 129 <on_enable function="Edit.EnableTakeOff" userdata="pants" />
150 </menu_item_call> 130 </menu_item_call>
151 <menu_item_call bottom="-67" enabled="false" height="19" label="Shoes" left="0" 131 <menu_item_call name="Shoes" enabled="false" label="Shoes">
152 mouse_opaque="true" name="Shoes" width="118">
153 <on_click function="Edit.TakeOff" userdata="shoes" /> 132 <on_click function="Edit.TakeOff" userdata="shoes" />
154 <on_enable function="Edit.EnableTakeOff" userdata="shoes" /> 133 <on_enable function="Edit.EnableTakeOff" userdata="shoes" />
155 </menu_item_call> 134 </menu_item_call>
156 <menu_item_call bottom="-86" enabled="false" height="19" label="Socks" left="0" 135 <menu_item_call name="Socks" enabled="false" label="Socks">
157 mouse_opaque="true" name="Socks" width="118">
158 <on_click function="Edit.TakeOff" userdata="socks" /> 136 <on_click function="Edit.TakeOff" userdata="socks" />
159 <on_enable function="Edit.EnableTakeOff" userdata="socks" /> 137 <on_enable function="Edit.EnableTakeOff" userdata="socks" />
160 </menu_item_call> 138 </menu_item_call>
161 <menu_item_call bottom="-105" enabled="false" height="19" label="Jacket" left="0" 139 <menu_item_call name="Jacket" enabled="false" label="Jacket">
162 mouse_opaque="true" name="Jacket" width="118">
163 <on_click function="Edit.TakeOff" userdata="jacket" /> 140 <on_click function="Edit.TakeOff" userdata="jacket" />
164 <on_enable function="Edit.EnableTakeOff" userdata="jacket" /> 141 <on_enable function="Edit.EnableTakeOff" userdata="jacket" />
165 </menu_item_call> 142 </menu_item_call>
166 <menu_item_call bottom="-124" enabled="false" height="19" label="Gloves" left="0" 143 <menu_item_call name="Gloves" enabled="false" label="Gloves">
167 mouse_opaque="true" name="Gloves" width="118">
168 <on_click function="Edit.TakeOff" userdata="gloves" /> 144 <on_click function="Edit.TakeOff" userdata="gloves" />
169 <on_enable function="Edit.EnableTakeOff" userdata="gloves" /> 145 <on_enable function="Edit.EnableTakeOff" userdata="gloves" />
170 </menu_item_call> 146 </menu_item_call>
171 <menu_item_call bottom="-143" enabled="false" height="19" label="Undershirt" left="0" 147 <menu_item_call name="Menu Undershirt" enabled="false" label="Undershirt">
172 mouse_opaque="true" name="Menu Undershirt" width="118">
173 <on_click function="Edit.TakeOff" userdata="undershirt" /> 148 <on_click function="Edit.TakeOff" userdata="undershirt" />
174 <on_enable function="Edit.EnableTakeOff" userdata="undershirt" /> 149 <on_enable function="Edit.EnableTakeOff" userdata="undershirt" />
175 </menu_item_call> 150 </menu_item_call>
176 <menu_item_call bottom="-162" enabled="false" height="19" label="Underpants" left="0" 151 <menu_item_call name="Menu Underpants" enabled="false" label="Underpants">
177 mouse_opaque="true" name="Menu Underpants" width="118">
178 <on_click function="Edit.TakeOff" userdata="underpants" /> 152 <on_click function="Edit.TakeOff" userdata="underpants" />
179 <on_enable function="Edit.EnableTakeOff" userdata="underpants" /> 153 <on_enable function="Edit.EnableTakeOff" userdata="underpants" />
180 </menu_item_call> 154 </menu_item_call>
181 <menu_item_call bottom="-181" enabled="false" height="19" label="Skirt" left="0" 155 <menu_item_call name="Skirt" enabled="false" label="Skirt">
182 mouse_opaque="true" name="Skirt" width="118">
183 <on_click function="Edit.TakeOff" userdata="skirt" /> 156 <on_click function="Edit.TakeOff" userdata="skirt" />
184 <on_enable function="Edit.EnableTakeOff" userdata="skirt" /> 157 <on_enable function="Edit.EnableTakeOff" userdata="skirt" />
185 </menu_item_call> 158 </menu_item_call>
186 <menu_item_call bottom="-200" enabled="true" height="19" label="All Clothes" left="0" 159 <menu_item_call name="All Clothes" label="All Clothes">
187 mouse_opaque="true" name="All Clothes" width="118">
188 <on_click function="Edit.TakeOff" userdata="all" /> 160 <on_click function="Edit.TakeOff" userdata="all" />
189 </menu_item_call> 161 </menu_item_call>
190 </menu> 162 </menu>
191 <menu_item_separator bottom="-305" enabled="true" height="8" label="-----------" left="0" 163 <menu_item_separator />
192 mouse_opaque="true" name="separator6" width="153" /> 164 <menu_item_call name="Gestures..." label="Gestures..." shortcut="control|G">
193 <menu_item_call bottom="-324" enabled="true" height="19" label="Gestures..." left="0"
194 mouse_opaque="true" name="Gestures..." shortcut="control|G" width="153">
195 <on_click function="ShowFloater" userdata="gestures" /> 165 <on_click function="ShowFloater" userdata="gestures" />
196 </menu_item_call> 166 </menu_item_call>
197 <menu_item_call bottom="-343" enabled="true" height="19" label="Profile..." left="0" 167 <menu_item_call name="Profile..." label="Profile...">
198 mouse_opaque="true" name="Profile..." width="153">
199 <on_click function="ShowAgentProfile" userdata="agent" /> 168 <on_click function="ShowAgentProfile" userdata="agent" />
200 </menu_item_call> 169 </menu_item_call>
201 <menu_item_call bottom="-362" enabled="true" height="19" label="Appearance..." left="0" 170 <menu_item_call name="Appearance..." label="Appearance...">
202 mouse_opaque="true" name="Appearance..." width="153">
203 <on_click function="ShowFloater" userdata="appearance" /> 171 <on_click function="ShowFloater" userdata="appearance" />
204 <on_enable function="Edit.EnableCustomizeAvatar" /> 172 <on_enable function="Edit.EnableCustomizeAvatar" />
205 </menu_item_call> 173 </menu_item_call>
206 <menu_item_separator bottom="-370" enabled="true" height="8" label="-----------" left="0" 174 <menu_item_separator />
207 mouse_opaque="true" name="separator7" width="153" /> 175 <menu_item_check name="Friends..." label="Friends..."
208 <menu_item_check bottom="-389" enabled="true" height="19" label="Friends..." left="0" 176 shortcut="control|shift|F">
209 mouse_opaque="true" name="Friends..." shortcut="control|shift|F"
210 width="153">
211 <on_click function="ShowFloater" userdata="friends" /> 177 <on_click function="ShowFloater" userdata="friends" />
212 <on_check function="FloaterVisible" userdata="friends" /> 178 <on_check function="FloaterVisible" userdata="friends" />
213 </menu_item_check> 179 </menu_item_check>
214 <menu_item_call bottom="-408" enabled="true" height="19" label="Groups..." left="0" 180 <menu_item_call name="Groups..." label="Groups...">
215 mouse_opaque="true" name="Groups..." width="153">
216 <on_click function="ShowAgentGroups" userdata="agent" /> 181 <on_click function="ShowAgentGroups" userdata="agent" />
217 </menu_item_call> 182 </menu_item_call>
218 <menu_item_separator bottom="-416" enabled="true" height="8" label="-----------" left="0" 183 <menu_item_separator />
219 mouse_opaque="true" name="separator8" width="153" /> 184 <menu_item_call name="Preferences..." label="Preferences..."
220 <menu_item_call bottom="-435" enabled="true" height="19" label="Preferences..." left="0" 185 shortcut="control|P">
221 mouse_opaque="true" name="Preferences..." shortcut="control|P" width="153">
222 <on_click function="ShowFloater" userdata="preferences" /> 186 <on_click function="ShowFloater" userdata="preferences" />
223 </menu_item_call> 187 </menu_item_call>
224 </menu> 188 </menu>
225 <menu bottom="-1" create_jump_keys="true" drop_shadow="true" enabled="true" 189
226 height="537" label="View" left="80" mouse_opaque="false" name="View" 190
227 opaque="true" tear_off="true" width="211"> 191
228 <tearoff_menu bottom="-10" enabled="true" height="10" label="~~~~~~~~~~~" left="0" 192 <!-- VIEW -->
229 mouse_opaque="true" name="~~~~~~~~~~~" width="211" /> 193
230 <menu_item_call bottom="-29" enabled="true" height="19" label="Mouselook" left="0" 194 <menu create_jump_keys="true" label="View" name="View"
231 mouse_opaque="true" name="Mouselook" shortcut="M" width="211"> 195 opaque="true" tear_off="true">
196 <menu_item_call name="Mouselook" label="Mouselook" shortcut="M">
232 <on_click function="View.Mouselook" userdata="" /> 197 <on_click function="View.Mouselook" userdata="" />
233 <on_enable function="View.EnableMouselook" /> 198 <on_enable function="View.EnableMouselook" />
234 </menu_item_call> 199 </menu_item_call>
235 <menu_item_check bottom="-48" enabled="true" height="19" label="Build" left="0" 200 <menu_item_check name="Build" label="Build" shortcut="B">
236 mouse_opaque="true" name="Build" shortcut="B" width="211">
237 <on_click function="View.BuildMode" userdata="" /> 201 <on_click function="View.BuildMode" userdata="" />
238 <on_check function="View.CheckBuildMode" /> 202 <on_check function="View.CheckBuildMode" />
239 </menu_item_check> 203 </menu_item_check>
240 <menu_item_check bottom="-48" enabled="true" height="19" label="Joystick Flycam" left="0" 204 <menu_item_check name="Joystick Flycam" label="Joystick Flycam"
241 mouse_opaque="true" name="Joystick Flycam" shortcut="alt|shift|F" 205 shortcut="alt|shift|F">
242 width="211">
243 <on_click function="View.JoystickFlycam" userdata="" /> 206 <on_click function="View.JoystickFlycam" userdata="" />
244 <on_check function="View.CheckJoystickFlycam" /> 207 <on_check function="View.CheckJoystickFlycam" />
245 </menu_item_check> 208 </menu_item_check>
246 <menu_item_call bottom="-67" enabled="true" height="19" label="Reset View" left="0" 209 <menu_item_call name="Reset View" label="Reset View" shortcut="Esc">
247 mouse_opaque="true" name="Reset View" shortcut="Esc" width="211">
248 <on_click function="View.ResetView" userdata="" /> 210 <on_click function="View.ResetView" userdata="" />
249 </menu_item_call> 211 </menu_item_call>
250 <menu_item_call bottom="-86" enabled="false" height="19" label="Look at Last Chatter" left="0" 212 <menu_item_call name="Look at Last Chatter" enabled="false"
251 mouse_opaque="true" name="Look at Last Chatter" shortcut="control|\" 213 label="Look at Last Chatter" shortcut="control|\">
252 width="211">
253 <on_click function="View.LookAtLastChatter" userdata="" /> 214 <on_click function="View.LookAtLastChatter" userdata="" />
254 <on_enable function="View.EnableLastChatter" /> 215 <on_enable function="View.EnableLastChatter" />
255 </menu_item_call> 216 </menu_item_call>
256 <menu_item_separator bottom="-94" enabled="true" height="8" label="-----------" left="0" 217 <menu_item_separator />
257 mouse_opaque="true" name="separator" width="211" /> 218 <menu_item_check name="Toolbar" label="Toolbar">
258 <menu_item_check bottom="-113" enabled="true" height="19" label="Toolbar" left="0"
259 mouse_opaque="true" name="Toolbar" width="211">
260 <on_click function="ShowFloater" userdata="toolbar" /> 219 <on_click function="ShowFloater" userdata="toolbar" />
261 <on_check function="FloaterVisible" userdata="toolbar" /> 220 <on_check function="FloaterVisible" userdata="toolbar" />
262 </menu_item_check> 221 </menu_item_check>
263 <menu_item_check bottom="-132" enabled="true" height="19" label="Local Chat" left="0" 222 <menu_item_check name="Chat History" label="Local Chat" shortcut="control|H">
264 mouse_opaque="true" name="Chat History" shortcut="control|H" width="211">
265 <on_click function="ShowFloater" userdata="chat history" /> 223 <on_click function="ShowFloater" userdata="chat history" />
266 <on_check function="FloaterVisible" userdata="chat history" /> 224 <on_check function="FloaterVisible" userdata="chat history" />
267 </menu_item_check> 225 </menu_item_check>
268 <menu_item_check bottom="-151" enabled="true" height="19" label="Communicate" left="0" 226 <menu_item_check name="Instant Message" label="Communicate"
269 mouse_opaque="true" name="Instant Message" shortcut="control|T" width="211"> 227 shortcut="control|T">
270 <on_click function="ShowFloater" userdata="im" /> 228 <on_click function="ShowFloater" userdata="im" />
271 <on_check function="FloaterVisible" userdata="im" /> 229 <on_check function="FloaterVisible" userdata="im" />
272 </menu_item_check> 230 </menu_item_check>
273 <menu_item_call bottom="-170" enabled="true" height="19" label="Inventory" left="0" 231 <menu_item_call name="Inventory" label="Inventory" shortcut="control|I">
274 mouse_opaque="true" name="Inventory" shortcut="control|I" width="211">
275 <on_click function="ShowFloater" userdata="inventory" /> 232 <on_click function="ShowFloater" userdata="inventory" />
276 </menu_item_call> 233 </menu_item_call>
277 <menu_item_check bottom="-189" enabled="true" height="19" label="Active Speakers" left="0" 234 <menu_item_check name="Active Speakers" label="Active Speakers">
278 mouse_opaque="true" name="Active Speakers" width="211">
279 <on_click function="ShowFloater" userdata="active speakers" /> 235 <on_click function="ShowFloater" userdata="active speakers" />
280 <on_check function="FloaterVisible" userdata="active speakers" /> 236 <on_check function="FloaterVisible" userdata="active speakers" />
281 </menu_item_check> 237 </menu_item_check>
282 <menu_item_check bottom="-189" enabled="true" height="19" label="Mute List" left="0" 238 <menu_item_check name="Mute List" label="Mute List">
283 mouse_opaque="true" name="Mute List" width="211">
284 <on_click function="ShowFloater" userdata="mute list" /> 239 <on_click function="ShowFloater" userdata="mute list" />
285 <on_check function="FloaterVisible" userdata="mute list" /> 240 <on_check function="FloaterVisible" userdata="mute list" />
286 </menu_item_check> 241 </menu_item_check>
287 <menu_item_separator bottom="-197" enabled="true" height="8" label="-----------" left="0" 242 <menu_item_separator />
288 mouse_opaque="true" name="separator2" width="211" /> 243 <menu_item_check name="Camera Controls" label="Camera Controls">
289 <menu_item_check bottom="-216" enabled="true" height="19" label="Camera Controls" left="0"
290 mouse_opaque="true" name="Camera Controls" width="211">
291 <on_click function="ShowFloater" userdata="camera controls" /> 244 <on_click function="ShowFloater" userdata="camera controls" />
292 <on_check function="FloaterVisible" userdata="camera controls" /> 245 <on_check function="FloaterVisible" userdata="camera controls" />
293 </menu_item_check> 246 </menu_item_check>
294 <menu_item_check bottom="-235" enabled="true" height="19" label="Movement Controls" left="0" 247 <menu_item_check name="Movement Controls" label="Movement Controls">
295 mouse_opaque="true" name="Movement Controls" width="211">
296 <on_click function="ShowFloater" userdata="movement controls" /> 248 <on_click function="ShowFloater" userdata="movement controls" />
297 <on_check function="FloaterVisible" userdata="movement controls" /> 249 <on_check function="FloaterVisible" userdata="movement controls" />
298 </menu_item_check> 250 </menu_item_check>
299 <menu_item_check bottom="-254" enabled="true" height="19" label="World Map" left="0" 251 <menu_item_check name="World Map" label="World Map" shortcut="control|M">
300 mouse_opaque="true" name="World Map" shortcut="control|M" width="211">
301 <on_click function="ShowFloater" userdata="world map" /> 252 <on_click function="ShowFloater" userdata="world map" />
302 <on_check control="ShowWorldMap" /> 253 <on_check control="ShowWorldMap" />
303 </menu_item_check> 254 </menu_item_check>
304 <menu_item_check bottom="-273" enabled="true" height="19" label="Mini-Map" left="0" 255 <menu_item_check name="Mini-Map" label="Mini-Map" shortcut="control|shift|M">
305 mouse_opaque="true" name="Mini-Map" shortcut="control|shift|M" width="211">
306 <on_click function="ShowFloater" userdata="mini map" /> 256 <on_click function="ShowFloater" userdata="mini map" />
307 <on_check control="ShowMiniMap" /> 257 <on_check control="ShowMiniMap" />
308 </menu_item_check> 258 </menu_item_check>
309 <menu_item_separator bottom="-281" enabled="true" height="8" label="-----------" left="0" 259 <menu_item_separator />
310 mouse_opaque="true" name="separator3" width="211" /> 260 <menu_item_check name="Statistics Bar" label="Statistics Bar"
311 <menu_item_check bottom="-300" enabled="true" height="19" label="Statistics Bar" left="0" 261 shortcut="control|shift|1">
312 mouse_opaque="true" name="Statistics Bar" shortcut="control|shift|1"
313 width="211">
314 <on_click function="ShowFloater" userdata="stat bar" /> 262 <on_click function="ShowFloater" userdata="stat bar" />
315 <on_check function="FloaterVisible" userdata="stat bar" /> 263 <on_check function="FloaterVisible" userdata="stat bar" />
316 </menu_item_check> 264 </menu_item_check>
317 <menu_item_check bottom="-319" enabled="true" height="19" label="Property Lines" left="0" 265 <menu_item_check name="Property Lines" label="Property Lines"
318 mouse_opaque="true" name="Property Lines" shortcut="control|alt|shift|P" 266 shortcut="control|alt|shift|P">
319 width="211">
320 <on_click function="ToggleControl" userdata="ShowPropertyLines" /> 267 <on_click function="ToggleControl" userdata="ShowPropertyLines" />
321 <on_check control="ShowPropertyLines" /> 268 <on_check control="ShowPropertyLines" />
322 </menu_item_check> 269 </menu_item_check>
323 <menu_item_check bottom="-338" enabled="true" height="19" label="Land Owners" left="0" 270 <menu_item_check name="Land Owners" label="Land Owners">
324 mouse_opaque="true" name="Land Owners" width="211">
325 <on_click function="ToggleControl" userdata="ShowParcelOwners" /> 271 <on_click function="ToggleControl" userdata="ShowParcelOwners" />
326 <on_check control="ShowParcelOwners" /> 272 <on_check control="ShowParcelOwners" />
327 </menu_item_check> 273 </menu_item_check>
328 <menu_item_separator bottom="-346" enabled="true" height="8" label="-----------" left="0" 274 <menu_item_separator />
329 mouse_opaque="true" name="separator4" width="211" /> 275 <menu name="Hover Tips" create_jump_keys="true" label="Hover Tips"
330 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 276 opaque="true" tear_off="true">
331 height="79" label="Hover Tips" left="0" mouse_opaque="false" 277 <menu_item_check name="Show Tips" label="Show Tips"
332 name="Hover Tips" opaque="true" tear_off="true" width="158"> 278 shortcut="control|shift|T">
333 <menu_item_check bottom="-29" enabled="true" height="19" label="Show Tips" left="0"
334 mouse_opaque="true" name="Show Tips" shortcut="control|shift|T" width="158">
335 <on_click function="View.ShowHoverTips" userdata="" /> 279 <on_click function="View.ShowHoverTips" userdata="" />
336 <on_check function="View.CheckShowHoverTips" /> 280 <on_check function="View.CheckShowHoverTips" />
337 </menu_item_check> 281 </menu_item_check>
338 <menu_item_separator bottom="-37" enabled="true" height="8" label="-----------" left="0" 282 <menu_item_separator />
339 mouse_opaque="true" name="separator" width="158" /> 283 <menu_item_check name="Land Tips" label="Land Tips">
340 <menu_item_check bottom="-56" enabled="true" height="19" label="Land Tips" left="0"
341 mouse_opaque="true" name="Land Tips" width="158">
342 <on_click function="ToggleControl" userdata="ShowLandHoverTip" /> 284 <on_click function="ToggleControl" userdata="ShowLandHoverTip" />
343 <on_enable function="View.CheckShowHoverTips" /> 285 <on_enable function="View.CheckShowHoverTips" />
344 <on_check control="ShowLandHoverTip" /> 286 <on_check control="ShowLandHoverTip" />
345 </menu_item_check> 287 </menu_item_check>
346 <menu_item_check bottom="-75" enabled="true" height="19" label="Tips On All Objects" left="0" 288 <menu_item_check name="Tips On All Objects" label="Tips On All Objects">
347 mouse_opaque="true" name="Tips On All Objects" width="158">
348 <on_click function="ToggleControl" userdata="ShowAllObjectHoverTip" /> 289 <on_click function="ToggleControl" userdata="ShowAllObjectHoverTip" />
349 <on_enable function="View.CheckShowHoverTips" /> 290 <on_enable function="View.CheckShowHoverTips" />
350 <on_check control="ShowAllObjectHoverTip" /> 291 <on_check control="ShowAllObjectHoverTip" />
351 </menu_item_check> 292 </menu_item_check>
352 </menu> 293 </menu>
353 <menu_item_check bottom="-403" enabled="true" height="19" label="Highlight Transparent" left="0" 294 <menu_item_check name="Highlight Transparent" label="Highlight Transparent"
354 mouse_opaque="true" name="Highlight Transparent" shortcut="control|alt|T" 295 shortcut="control|alt|T">
355 width="211">
356 <on_click function="View.HighlightTransparent" userdata="" /> 296 <on_click function="View.HighlightTransparent" userdata="" />
357 <on_check function="View.CheckHighlightTransparent" /> 297 <on_check function="View.CheckHighlightTransparent" />
358 </menu_item_check> 298 </menu_item_check>
359 <menu_item_check bottom="-384" enabled="true" height="19" label="Beacons Always On" left="0" 299 <menu_item_check name="Beacons Always On" label="Beacons Always On"
360 mouse_opaque="true" name="Beacons Always On" shortcut="control|N" 300 shortcut="control|N">
361 width="211">
362 <on_click function="ToggleControl" userdata="BeaconAlwaysOn" /> 301 <on_click function="ToggleControl" userdata="BeaconAlwaysOn" />
363 <on_check control="BeaconAlwaysOn" /> 302 <on_check control="BeaconAlwaysOn" />
364 </menu_item_check> 303 </menu_item_check>
365 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 304 <menu name="Beacons" create_jump_keys="true" label="Beacons"
366 height="117" label="Beacons" left="0" mouse_opaque="false" name="Beacons" 305 opaque="true" tear_off="true">
367 opaque="true" tear_off="true" width="129"> 306 <menu_item_check name="Scripted Objects With Touch Only"
368 <menu_item_check bottom="-29" enabled="true" height="19" 307 label="Scripted Objects with Touch Only">
369 label="Scripted Objects with Touch Only" left="0" mouse_opaque="true"
370 name="Scripted Objects With Touch Only" width="129">
371 <on_click function="View.ToggleBeacon" userdata="scripttouchbeacon" /> 308 <on_click function="View.ToggleBeacon" userdata="scripttouchbeacon" />
372 <on_check function="View.CheckBeaconEnabled" userdata="scripttouchbeacon" /> 309 <on_check function="View.CheckBeaconEnabled" userdata="scripttouchbeacon" />
373 </menu_item_check> 310 </menu_item_check>
374 <menu_item_check bottom="-48" enabled="true" height="19" label="Scripted Objects" left="0" 311 <menu_item_check name="Scripted Objects" label="Scripted Objects">
375 mouse_opaque="true" name="Scripted Objects" width="129">
376 <on_click function="View.ToggleBeacon" userdata="scriptsbeacon" /> 312 <on_click function="View.ToggleBeacon" userdata="scriptsbeacon" />
377 <on_check function="View.CheckBeaconEnabled" userdata="scriptsbeacon" /> 313 <on_check function="View.CheckBeaconEnabled" userdata="scriptsbeacon" />
378 </menu_item_check> 314 </menu_item_check>
379 <menu_item_check bottom="-67" enabled="true" height="19" label="Physical Objects" left="0" 315 <menu_item_check name="Physical Objects" label="Physical Objects">
380 mouse_opaque="true" name="Physical Objects" width="129">
381 <on_click function="View.ToggleBeacon" userdata="physicalbeacon" /> 316 <on_click function="View.ToggleBeacon" userdata="physicalbeacon" />
382 <on_check function="View.CheckBeaconEnabled" userdata="physicalbeacon" /> 317 <on_check function="View.CheckBeaconEnabled" userdata="physicalbeacon" />
383 </menu_item_check> 318 </menu_item_check>
384 <menu_item_check bottom="-86" enabled="true" height="19" label="Sound Sources" left="0" 319 <menu_item_check name="Sound Sources" label="Sound Sources">
385 mouse_opaque="true" name="Sound Sources" width="129">
386 <on_click function="View.ToggleBeacon" userdata="soundsbeacon" /> 320 <on_click function="View.ToggleBeacon" userdata="soundsbeacon" />
387 <on_check function="View.CheckBeaconEnabled" userdata="soundsbeacon" /> 321 <on_check function="View.CheckBeaconEnabled" userdata="soundsbeacon" />
388 </menu_item_check> 322 </menu_item_check>
389 <menu_item_check bottom="-105" enabled="true" height="19" label="Particle Sources" left="0" 323 <menu_item_check name="Particle Sources" label="Particle Sources">
390 mouse_opaque="true" name="Particle Sources" width="129">
391 <on_click function="View.ToggleBeacon" userdata="particlesbeacon" /> 324 <on_click function="View.ToggleBeacon" userdata="particlesbeacon" />
392 <on_check function="View.CheckBeaconEnabled" userdata="particlesbeacon" /> 325 <on_check function="View.CheckBeaconEnabled" userdata="particlesbeacon" />
393 </menu_item_check> 326 </menu_item_check>
394 <menu_item_separator bottom="-113" enabled="true" height="8" label="-----------" left="0" 327 <menu_item_separator />
395 mouse_opaque="true" name="separator" width="129" /> 328 <menu_item_check name="Render Highlights" label="Render Highlights">
396 <menu_item_check bottom="-121" enabled="true" height="19" label="Render Highlights" left="0"
397 mouse_opaque="true" name="Render Highlights" width="129">
398 <on_click function="View.ToggleBeacon" userdata="renderhighlights" /> 329 <on_click function="View.ToggleBeacon" userdata="renderhighlights" />
399 <on_check function="View.CheckBeaconEnabled" userdata="renderhighlights" /> 330 <on_check function="View.CheckBeaconEnabled" userdata="renderhighlights" />
400 </menu_item_check> 331 </menu_item_check>
401 <menu_item_check bottom="-140" enabled="true" height="19" label="Render Beacons" left="0" 332 <menu_item_check name="Render Beacons" label="Render Beacons">
402 mouse_opaque="true" name="Render Beacons" width="129">
403 <on_click function="View.ToggleBeacon" userdata="renderbeacons" /> 333 <on_click function="View.ToggleBeacon" userdata="renderbeacons" />
404 <on_check function="View.CheckBeaconEnabled" userdata="renderbeacons" /> 334 <on_check function="View.CheckBeaconEnabled" userdata="renderbeacons" />
405 </menu_item_check> 335 </menu_item_check>
406 <menu_item_separator bottom="-159" enabled="true" height="8" label="-----------" left="0" 336 <menu_item_separator />
407 mouse_opaque="true" name="separator2" width="129" /> 337 <menu_item_check name="Hide Particles" label="Hide Particles">
408 <menu_item_check bottom="-167" enabled="true" height="19" label="Hide Particles" left="0"
409 mouse_opaque="true" name="Hide Particles" width="129">
410 <on_click function="View.ToggleRenderType" userdata="hideparticles" /> 338 <on_click function="View.ToggleRenderType" userdata="hideparticles" />
411 <on_check function="View.CheckRenderType" userdata="hideparticles" /> 339 <on_check function="View.CheckRenderType" userdata="hideparticles" />
412 </menu_item_check> 340 </menu_item_check>
413 <menu_item_separator bottom="-186" enabled="true" height="8" label="-----------" left="0" 341 <menu_item_separator />
414 mouse_opaque="true" name="separator3" width="129" /> 342 <menu name="Beacon Width" color="0 0 0 1" create_jump_keys="true"
415 <menu bottom="-205" color="0 0 0 1" create_jump_keys="true" drop_shadow="true" 343 label="Beacon Width" opaque="true" tear_off="true">
416 enabled="true" height="117" label="Beacon Width" left="0" 344 <menu_item_call name="Beacon Width 1" label="1">
417 mouse_opaque="false" name="Beacon Width" opaque="true" tear_off="true"
418 width="129">
419 <menu_item_call bottom="-19" enabled="true" height="19" label="1" left="0" mouse_opaque="true"
420 name="Beacon Width 1" width="188">
421 <on_click function="View.BeaconWidth" userdata="1" /> 345 <on_click function="View.BeaconWidth" userdata="1" />
422 </menu_item_call> 346 </menu_item_call>
423 <menu_item_call bottom="-19" enabled="true" height="19" label="4" left="0" mouse_opaque="true" 347 <menu_item_call name="Beacon Width 4" label="4">
424 name="Beacon Width 4" width="188">
425 <on_click function="View.BeaconWidth" userdata="4" /> 348 <on_click function="View.BeaconWidth" userdata="4" />
426 </menu_item_call> 349 </menu_item_call>
427 <menu_item_call bottom="-19" enabled="true" height="19" label="16" left="0" mouse_opaque="true" 350 <menu_item_call name="Beacon Width 16" label="16">
428 name="Beacon Width 16" width="188">
429 <on_click function="View.BeaconWidth" userdata="16" /> 351 <on_click function="View.BeaconWidth" userdata="16" />
430 </menu_item_call> 352 </menu_item_call>
431 <menu_item_call bottom="-19" enabled="true" height="19" label="32" left="0" mouse_opaque="true" 353 <menu_item_call name="Beacon Width 32" label="32">
432 name="Beacon Width 32" width="188">
433 <on_click function="View.BeaconWidth" userdata="32" /> 354 <on_click function="View.BeaconWidth" userdata="32" />
434 </menu_item_call> 355 </menu_item_call>
435 </menu> 356 </menu>
436 </menu> 357 </menu>
437 <menu_item_check bottom="-441" enabled="true" height="19" label="Show HUD Attachments" left="0" 358 <menu_item_check name="Show HUD Attachments" label="Show HUD Attachments"
438 mouse_opaque="true" name="Show HUD Attachments" shortcut="alt|shift|H" 359 shortcut="alt|shift|H">
439 width="211">
440 <on_click function="View.ShowHUDAttachments" userdata="" /> 360 <on_click function="View.ShowHUDAttachments" userdata="" />
441 <on_check function="View.CheckHUDAttachments" /> 361 <on_check function="View.CheckHUDAttachments" />
442 </menu_item_check> 362 </menu_item_check>
443 <menu_item_separator bottom="-449" enabled="true" height="8" label="-----------" left="0" 363 <menu_item_separator />
444 mouse_opaque="true" name="separator5" width="211" /> 364 <menu_item_call name="Zoom In" label="Zoom In" shortcut="control|0">
445 <menu_item_call bottom="-468" enabled="true" height="19" label="Zoom In" left="0"
446 mouse_opaque="true" name="Zoom In" shortcut="control|0" width="211">
447 <on_click function="View.ZoomIn" userdata="" /> 365 <on_click function="View.ZoomIn" userdata="" />
448 </menu_item_call> 366 </menu_item_call>
449 <menu_item_call bottom="-487" enabled="true" height="19" label="Zoom Default" left="0" 367 <menu_item_call name="Zoom Default" label="Zoom Default"
450 mouse_opaque="true" name="Zoom Default" shortcut="control|9" width="211"> 368 shortcut="control|9">
451 <on_click function="View.ZoomDefault" userdata="" /> 369 <on_click function="View.ZoomDefault" userdata="" />
452 </menu_item_call> 370 </menu_item_call>
453 <menu_item_call bottom="-506" enabled="true" height="19" label="Zoom Out" left="0" 371 <menu_item_call name="Zoom Out" label="Zoom Out" shortcut="control|8">
454 mouse_opaque="true" name="Zoom Out" shortcut="control|8" width="211">
455 <on_click function="View.ZoomOut" userdata="" /> 372 <on_click function="View.ZoomOut" userdata="" />
456 </menu_item_call> 373 </menu_item_call>
457 <menu_item_separator bottom="-514" enabled="true" height="8" label="-----------" left="0" 374 <menu_item_separator />
458 mouse_opaque="true" name="separator6" width="211" /> 375 <menu_item_call name="Toggle Fullscreen" label="Toggle Fullscreen"
459 <menu_item_call bottom="-19" enabled="true" height="19" label="Toggle Fullscreen" left="0" 376 shortcut="alt|Enter">
460 mouse_opaque="true" name="Toggle Fullscreen" shortcut="alt|Enter"
461 width="188">
462 <on_click function="View.Fullscreen" userdata="" /> 377 <on_click function="View.Fullscreen" userdata="" />
463 </menu_item_call> 378 </menu_item_call>
464 <menu_item_call bottom="-38" enabled="true" height="19" label="Set UI Size to Default" left="0" 379 <menu_item_call name="Set UI Size to Default" label="Set UI Size to Default">
465 mouse_opaque="true" name="Set UI Size to Default" width="188">
466 <on_click function="View.DefaultUISize" userdata="" /> 380 <on_click function="View.DefaultUISize" userdata="" />
467 </menu_item_call> 381 </menu_item_call>
468 </menu> 382 </menu>
469 <menu bottom="-18" create_jump_keys="true" drop_shadow="true" enabled="true" 383
470 height="339" label="World" left="0" mouse_opaque="false" name="World" 384
471 opaque="true" tear_off="true" width="185"> 385
472 <menu_item_call bottom="-29" enabled="true" height="19" label="Chat" left="0" 386 <!-- WORLD -->
473 mouse_opaque="true" name="Chat" shortcut="" width="185"> 387
388 <menu name="World" create_jump_keys="true" label="World"
389 opaque="true" tear_off="true">
390 <menu_item_call name="Chat" label="Chat" shortcut="">
474 <on_click function="World.Chat" userdata="" /> 391 <on_click function="World.Chat" userdata="" />
475 </menu_item_call> 392 </menu_item_call>
476 <menu_item_check bottom="-67" enabled="true" height="19" label="Always Run" left="0" 393 <menu_item_check name="Always Run" label="Always Run" shortcut="control|R">
477 mouse_opaque="true" name="Always Run" shortcut="control|R" width="185">
478 <on_click function="World.AlwaysRun" userdata="" /> 394 <on_click function="World.AlwaysRun" userdata="" />
479 <on_check function="World.CheckAlwaysRun" userdata="" /> 395 <on_check function="World.CheckAlwaysRun" userdata="" />
480 </menu_item_check> 396 </menu_item_check>
481 <menu_item_check bottom="-86" enabled="true" height="19" label="Fly" left="0" 397 <menu_item_check name="Fly" label="Fly" shortcut="Home">
482 mouse_opaque="true" name="Fly" shortcut="Home" width="185">
483 <on_click function="World.Fly" userdata="" /> 398 <on_click function="World.Fly" userdata="" />
484 <on_enable function="World.EnableFly" /> 399 <on_enable function="World.EnableFly" />
485 <on_check control="FlyBtnState" /> 400 <on_check control="FlyBtnState" />
486 </menu_item_check> 401 </menu_item_check>
487 <menu_item_separator bottom="-94" enabled="true" height="8" label="-----------" left="0" 402 <menu_item_separator />
488 mouse_opaque="true" name="separator" width="185" /> 403 <menu_item_call name="Create Landmark Here" label="Create Landmark Here">
489 <menu_item_call bottom="-113" enabled="true" height="19" label="Create Landmark Here" left="0"
490 mouse_opaque="true" name="Create Landmark Here" width="185">
491 <on_click function="World.CreateLandmark" userdata="" /> 404 <on_click function="World.CreateLandmark" userdata="" />
492 <on_enable function="World.EnableCreateLandmark" userdata="" /> 405 <on_enable function="World.EnableCreateLandmark" userdata="" />
493 </menu_item_call> 406 </menu_item_call>
494 <menu_item_call bottom="-132" enabled="true" height="19" label="Set Home to Here" left="0" 407 <menu_item_call name="Set Home to Here" label="Set Home to Here">
495 mouse_opaque="true" name="Set Home to Here" width="185">
496 <on_click function="World.SetHomeLocation" userdata="" /> 408 <on_click function="World.SetHomeLocation" userdata="" />
497 <on_enable function="World.EnableSetHomeLocation" userdata="" /> 409 <on_enable function="World.EnableSetHomeLocation" userdata="" />
498 </menu_item_call> 410 </menu_item_call>
499 <menu_item_separator bottom="-140" enabled="true" height="8" label="-----------" left="0" 411 <menu_item_separator />
500 mouse_opaque="true" name="separator2" width="185" /> 412 <menu_item_call name="Teleport Home" label="Teleport Home"
501 <menu_item_call bottom="-159" enabled="true" height="19" label="Teleport Home" left="0" 413 shortcut="control|shift|H">
502 mouse_opaque="true" name="Teleport Home" shortcut="control|shift|H"
503 width="185">
504 <on_click function="World.TeleportHome" userdata="" /> 414 <on_click function="World.TeleportHome" userdata="" />
505 <on_enable function="World.EnableTeleportHome" userdata="" /> 415 <on_enable function="World.EnableTeleportHome" userdata="" />
506 </menu_item_call> 416 </menu_item_call>
507 <menu_item_separator bottom="-167" enabled="true" height="8" label="-----------" left="0" 417 <menu_item_separator />
508 mouse_opaque="true" name="separator3" width="185" /> 418 <menu_item_call name="Set Away" label="Set Away">
509 <menu_item_call bottom="-186" enabled="true" height="19" label="Set Away" left="0"
510 mouse_opaque="true" name="Set Away" width="185">
511 <on_click function="World.SetAway" userdata="" /> 419 <on_click function="World.SetAway" userdata="" />
512 </menu_item_call> 420 </menu_item_call>
513 <menu_item_call bottom="-205" enabled="true" height="19" label="Set Busy" left="0" 421 <menu_item_call name="Set Busy" label="Set Busy">
514 mouse_opaque="true" name="Set Busy" width="185">
515 <on_click function="World.SetBusy" userdata="" /> 422 <on_click function="World.SetBusy" userdata="" />
516 </menu_item_call> 423 </menu_item_call>
517 <menu_item_call bottom="-281" enabled="false" height="19" label="Stop All Animations" left="0" 424 <menu_item_call name="Stop All Animations" enabled="false"
518 mouse_opaque="true" name="Stop All Animations" width="250"> 425 label="Stop All Animations">
519 <on_click function="Tools.StopAllAnimations" userdata="" /> 426 <on_click function="Tools.StopAllAnimations" userdata="" />
520 </menu_item_call> 427 </menu_item_call>
521 <menu_item_separator bottom="-213" enabled="true" height="8" label="-----------" left="0" 428 <menu_item_separator />
522 mouse_opaque="true" name="separator4" width="185" /> 429 <menu_item_call name="Account History..." label="Account History...">
523 <menu_item_call bottom="-232" enabled="true" height="19" label="Account History..." left="0"
524 mouse_opaque="true" name="Account History..." width="185">
525 <on_click function="PromptShowURL" 430 <on_click function="PromptShowURL"
526 userdata="WebLaunchAccountHistory,http://secondlife.com/account/transactions.php" /> 431 userdata="WebLaunchAccountHistory,http://secondlife.com/account/transactions.php" />
527 </menu_item_call> 432 </menu_item_call>
528 <menu_item_call bottom="-267" enabled="true" height="19" label="Manage My Account..." left="0" 433 <menu_item_call name="Manage My Account..." label="Manage My Account...">
529 mouse_opaque="true" name="Manage My Account..." width="166">
530 <on_click function="PromptShowURL" 434 <on_click function="PromptShowURL"
531 userdata="WebLaunchJoinNow,http://secondlife.com/account/" /> 435 userdata="WebLaunchJoinNow,http://secondlife.com/account/" />
532 </menu_item_call> 436 </menu_item_call>
533 <menu_item_call bottom="-286" enabled="true" height="19" label="Buy L$..." left="0" 437 <menu_item_call name="Buy and Sell L$..." label="Buy L$...">
534 mouse_opaque="true" name="Buy and Sell L$..." width="166">
535 <on_click function="ShowFloater" userdata="buy currency" /> 438 <on_click function="ShowFloater" userdata="buy currency" />
536 </menu_item_call> 439 </menu_item_call>
537 <menu_item_separator bottom="-213" enabled="true" height="8" label="-----------" left="0" 440 <menu_item_separator />
538 mouse_opaque="true" name="separator5" width="185" /> 441 <menu_item_call name="My Land..." label="My Land...">
539 <menu_item_call bottom="-251" enabled="true" height="19" label="My Land..." left="0"
540 mouse_opaque="true" name="My Land..." width="185">
541 <on_click function="ShowFloater" userdata="my land" /> 442 <on_click function="ShowFloater" userdata="my land" />
542 </menu_item_call> 443 </menu_item_call>
543 <menu_item_call bottom="-270" enabled="true" height="19" label="About Land..." left="0" 444 <menu_item_call name="About Land..." label="About Land...">
544 mouse_opaque="true" name="About Land..." width="185">
545 <on_click function="ShowFloater" userdata="about land" /> 445 <on_click function="ShowFloater" userdata="about land" />
546 </menu_item_call> 446 </menu_item_call>
547 <menu_item_call bottom="-289" enabled="true" height="19" label="Buy Land..." left="0" 447 <menu_item_call name="Buy Land..." label="Buy Land...">
548 mouse_opaque="true" name="Buy Land..." width="185">
549 <on_click function="ShowFloater" userdata="buy land" /> 448 <on_click function="ShowFloater" userdata="buy land" />
550 <on_enable function="World.EnableBuyLand" /> 449 <on_enable function="World.EnableBuyLand" />
551 </menu_item_call> 450 </menu_item_call>
552 <menu_item_call bottom="-308" enabled="true" height="19" label="Region/Estate..." left="0" 451 <menu_item_call name="Region/Estate..." label="Region/Estate...">
553 mouse_opaque="true" name="Region/Estate..." width="185">
554 <on_click function="ShowFloater" userdata="about region" /> 452 <on_click function="ShowFloater" userdata="about region" />
555 </menu_item_call> 453 </menu_item_call>
556 <menu_item_separator bottom="-316" enabled="true" height="8" label="-----------" left="0" 454 <menu_item_separator />
557 mouse_opaque="true" name="separator6" width="185" /> 455 <menu name="Environment Settings" create_jump_keys="true"
558 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 456 label="Environment Settings" opaque="true" tear_off="true">
559 height="117" label="Environment Settings" left="0" mouse_opaque="false" 457 <menu_item_call name="Sunrise" label="Sunrise">
560 name="Environment Settings" opaque="true" tear_off="true" width="169">
561 <menu_item_call bottom="-29" enabled="true" height="19" label="Sunrise" left="0"
562 mouse_opaque="true" name="Sunrise" width="169">
563 <on_click function="World.EnvSettings" userdata="sunrise" /> 458 <on_click function="World.EnvSettings" userdata="sunrise" />
564 </menu_item_call> 459 </menu_item_call>
565 <menu_item_call bottom="-48" enabled="true" height="19" label="Midday" left="0" 460 <menu_item_call name="Noon" label="Midday" shortcut="control|shift|Y">
566 mouse_opaque="true" name="Noon" shortcut="control|shift|Y" width="169">
567 <on_click function="World.EnvSettings" userdata="noon" /> 461 <on_click function="World.EnvSettings" userdata="noon" />
568 </menu_item_call> 462 </menu_item_call>
569 <menu_item_call bottom="-67" enabled="true" height="19" label="Sunset" left="0" 463 <menu_item_call name="Sunset" label="Sunset" shortcut="control|shift|N">
570 mouse_opaque="true" name="Sunset" shortcut="control|shift|N" width="169">
571 <on_click function="World.EnvSettings" userdata="sunset" /> 464 <on_click function="World.EnvSettings" userdata="sunset" />
572 </menu_item_call> 465 </menu_item_call>
573 <menu_item_call bottom="-86" enabled="true" height="19" label="Midnight" left="0" 466 <menu_item_call name="Midnight" label="Midnight">
574 mouse_opaque="true" name="Midnight" width="169">
575 <on_click function="World.EnvSettings" userdata="midnight" /> 467 <on_click function="World.EnvSettings" userdata="midnight" />
576 </menu_item_call> 468 </menu_item_call>
577 <menu_item_call bottom="-105" enabled="false" height="19" label="Revert to Region Default" 469 <menu_item_call name="Revert to Region Default" enabled="false"
578 left="0" mouse_opaque="true" name="Revert to Region Default" width="169"> 470 label="Revert to Region Default">
579 <on_click function="World.EnvSettings" userdata="default" /> 471 <on_click function="World.EnvSettings" userdata="default" />
580 </menu_item_call> 472 </menu_item_call>
581 <menu_item_separator bottom="-113" enabled="true" height="8" label="-----------" left="0" 473 <menu_item_separator />
582 mouse_opaque="true" name="separator" width="169" /> 474 <menu_item_call name="Environment Editor" enabled="false"
583 <menu_item_call bottom="-132" enabled="false" height="19" label="Environment Editor" left="0" 475 label="Environment Editor">
584 mouse_opaque="true" name="Environment Editor" width="169">
585 <on_click function="World.EnvSettings" userdata="editor" /> 476 <on_click function="World.EnvSettings" userdata="editor" />
586 </menu_item_call> 477 </menu_item_call>
587 </menu> 478 </menu>
588 </menu> 479 </menu>
589 <menu bottom="-18" create_jump_keys="true" drop_shadow="true" enabled="true" 480
590 height="510" label="Tools" left="0" mouse_opaque="false" name="Tools" 481
591 opaque="true" tear_off="true" visible="false" width="250"> 482
592 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 483 <!-- TOOLS -->
593 height="109" label="Select Tool" left="0" mouse_opaque="false" 484
594 name="Select Tool" opaque="true" tear_off="true" width="118"> 485 <menu name="Tools" create_jump_keys="true" label="Tools"
595 <menu_item_call bottom="-29" enabled="true" height="19" label="Focus" left="0" 486 opaque="true" tear_off="true" visible="false">
596 mouse_opaque="true" name="Focus" shortcut="control|1" width="118"> 487 <menu name="Select Tool" create_jump_keys="true" label="Select Tool"
488 opaque="true" tear_off="true">
489 <menu_item_call name="Focus" label="Focus" shortcut="control|1">
597 <on_click function="Tools.SelectTool" userdata="focus" /> 490 <on_click function="Tools.SelectTool" userdata="focus" />
598 </menu_item_call> 491 </menu_item_call>
599 <menu_item_call bottom="-48" enabled="true" height="19" label="Move" left="0" 492 <menu_item_call name="Move" label="Move" shortcut="control|2">
600 mouse_opaque="true" name="Move" shortcut="control|2" width="118">
601 <on_click function="Tools.SelectTool" userdata="move" /> 493 <on_click function="Tools.SelectTool" userdata="move" />
602 </menu_item_call> 494 </menu_item_call>
603 <menu_item_call bottom="-67" enabled="true" height="19" label="Edit" left="0" 495 <menu_item_call name="Edit" label="Edit" shortcut="control|3">
604 mouse_opaque="true" name="Edit" shortcut="control|3" width="118">
605 <on_click function="Tools.SelectTool" userdata="edit" /> 496 <on_click function="Tools.SelectTool" userdata="edit" />
606 </menu_item_call> 497 </menu_item_call>
607 <menu_item_call bottom="-86" enabled="true" height="19" label="Create" left="0" 498 <menu_item_call name="Create" label="Create" shortcut="control|4">
608 mouse_opaque="true" name="Create" shortcut="control|4" width="118">
609 <on_click function="Tools.SelectTool" userdata="create" /> 499 <on_click function="Tools.SelectTool" userdata="create" />
610 </menu_item_call> 500 </menu_item_call>
611 <menu_item_call bottom="-105" enabled="true" height="19" label="Land" left="0" 501 <menu_item_call name="Land" label="Land" shortcut="control|5">
612 mouse_opaque="true" name="Land" shortcut="control|5" width="118">
613 <on_click function="Tools.SelectTool" userdata="land" /> 502 <on_click function="Tools.SelectTool" userdata="land" />
614 </menu_item_call> 503 </menu_item_call>
615 </menu> 504 </menu>
616 <menu_item_separator bottom="-37" enabled="true" height="8" label="-----------" left="0" 505 <menu_item_separator />
617 mouse_opaque="true" name="separator" width="250" /> 506 <menu_item_check name="Select Only My Objects"
618 <menu_item_check bottom="-56" enabled="true" height="19" label="Select Only My Objects" left="0" 507 label="Select Only My Objects">
619 mouse_opaque="true" name="Select Only My Objects" width="250">
620 <on_click function="Tools.SelectOnlyMyObjects" userdata="agents" /> 508 <on_click function="Tools.SelectOnlyMyObjects" userdata="agents" />
621 <on_check control="SelectOwnedOnly" /> 509 <on_check control="SelectOwnedOnly" />
622 </menu_item_check> 510 </menu_item_check>
623 <menu_item_check bottom="-75" enabled="true" height="19" label="Select Only Movable Objects" 511 <menu_item_check name="Select Only Movable Objects"
624 left="0" mouse_opaque="true" name="Select Only Movable Objects" width="250"> 512 label="Select Only Movable Objects">
625 <on_click function="Tools.SelectOnlyMovableObjects" userdata="movable" /> 513 <on_click function="Tools.SelectOnlyMovableObjects" userdata="movable" />
626 <on_check control="SelectMovableOnly" /> 514 <on_check control="SelectMovableOnly" />
627 </menu_item_check> 515 </menu_item_check>
628 <menu_item_check bottom="-94" enabled="true" height="19" label="Select By Surrounding" left="0" 516 <menu_item_check name="Select By Surrounding" label="Select By Surrounding">
629 mouse_opaque="true" name="Select By Surrounding" width="250">
630 <on_click function="Tools.SelectBySurrounding" userdata="" /> 517 <on_click function="Tools.SelectBySurrounding" userdata="" />
631 <on_check control="RectangleSelectInclusive" /> 518 <on_check control="RectangleSelectInclusive" />
632 </menu_item_check> 519 </menu_item_check>
633 <menu_item_check bottom="-113" enabled="true" height="19" label="Show Hidden Selection" left="0" 520 <menu_item_check name="Show Hidden Selection" label="Show Hidden Selection">
634 mouse_opaque="true" name="Show Hidden Selection" width="250">
635 <on_click function="Tools.ShowHiddenSelection" userdata="" /> 521 <on_click function="Tools.ShowHiddenSelection" userdata="" />
636 <on_check control="RenderHiddenSelections" /> 522 <on_check control="RenderHiddenSelections" />
637 </menu_item_check> 523 </menu_item_check>
638 <menu_item_check bottom="-132" enabled="true" height="19" 524 <menu_item_check name="Show Light Radius for Selection"
639 label="Show Light Radius for Selection" left="0" mouse_opaque="true" 525 label="Show Light Radius for Selection">
640 name="Show Light Radius for Selection" width="250">
641 <on_click function="Tools.ShowSelectionLightRadius" userdata="" /> 526 <on_click function="Tools.ShowSelectionLightRadius" userdata="" />
642 <on_check control="RenderLightRadius" /> 527 <on_check control="RenderLightRadius" />
643 </menu_item_check> 528 </menu_item_check>
644 <menu_item_check bottom="-151" enabled="true" height="19" label="Show Selection Beam" left="0" 529 <menu_item_check name="Show Selection Beam" label="Show Selection Beam">
645 mouse_opaque="true" name="Show Selection Beam" width="250">
646 <on_click function="ToggleControl" userdata="ShowSelectionBeam" /> 530 <on_click function="ToggleControl" userdata="ShowSelectionBeam" />
647 <on_check control="ShowSelectionBeam" /> 531 <on_check control="ShowSelectionBeam" />
648 </menu_item_check> 532 </menu_item_check>
649 <menu_item_separator bottom="-159" enabled="true" height="8" label="-----------" left="0" 533 <menu_item_separator />
650 mouse_opaque="true" name="separator2" width="250" /> 534 <menu_item_check name="Snap to Grid" enabled="false" label="Snap to Grid"
651 <menu_item_check bottom="-178" enabled="false" height="19" label="Snap to Grid" left="0" 535 shortcut="G">
652 mouse_opaque="true" name="Snap to Grid" shortcut="G" width="250">
653 <on_click function="ToggleControl" userdata="SnapEnabled" /> 536 <on_click function="ToggleControl" userdata="SnapEnabled" />
654 <on_check control="SnapEnabled" /> 537 <on_check control="SnapEnabled" />
655 <on_enable function="Tools.EnableToolNotPie" /> 538 <on_enable function="Tools.EnableToolNotPie" />
656 </menu_item_check> 539 </menu_item_check>
657 <menu_item_call bottom="-197" enabled="false" height="19" label="Snap Object XY to Grid" 540 <menu_item_call name="Snap Object XY to Grid" enabled="false"
658 left="0" mouse_opaque="true" name="Snap Object XY to Grid" 541 label="Snap Object XY to Grid" shortcut="shift|X">
659 shortcut="shift|X" width="250">
660 <on_click function="Tools.SnapObjectXY" userdata="" /> 542 <on_click function="Tools.SnapObjectXY" userdata="" />
661 <on_enable function="Tools.EnableToolNotPie" /> 543 <on_enable function="Tools.EnableToolNotPie" />
662 </menu_item_call> 544 </menu_item_call>
663 <menu_item_call bottom="-216" enabled="false" height="19" label="Use Selection for Grid" 545 <menu_item_call name="Use Selection for Grid" enabled="false"
664 left="0" mouse_opaque="true" name="Use Selection for Grid" 546 label="Use Selection for Grid" shortcut="shift|G">
665 shortcut="shift|G" width="250">
666 <on_click function="Tools.UseSelectionForGrid" userdata="" /> 547 <on_click function="Tools.UseSelectionForGrid" userdata="" />
667 <on_enable function="SomethingSelected" /> 548 <on_enable function="SomethingSelected" />
668 </menu_item_call> 549 </menu_item_call>
669 <menu_item_call bottom="-235" enabled="false" height="19" label="Grid Options..." left="0" 550 <menu_item_call name="Grid Options..." enabled="false"
670 mouse_opaque="true" name="Grid Options..." shortcut="control|shift|B" 551 label="Grid Options..." shortcut="control|shift|B">
671 width="250">
672 <on_click function="ShowFloater" userdata="grid options" /> 552 <on_click function="ShowFloater" userdata="grid options" />
673 <on_enable function="Tools.EnableToolNotPie" /> 553 <on_enable function="Tools.EnableToolNotPie" />
674 </menu_item_call> 554 </menu_item_call>
675 <menu_item_separator bottom="-243" enabled="true" height="8" label="-----------" left="0" 555 <menu_item_separator />
676 mouse_opaque="true" name="separator3" width="250" /> 556 <menu_item_check name="Edit Linked Parts" enabled="false"
677 <menu_item_check bottom="" enabled="false" height="" label="Edit Linked Parts" left="" 557 label="Edit Linked Parts" shortcut="">
678 mouse_opaque="true" name="Edit Linked Parts" shortcut="" width="">
679 <on_click function="ToggleControl" userdata="EditLinkedParts" /> 558 <on_click function="ToggleControl" userdata="EditLinkedParts" />
680 <on_click function="Tools.EditLinkedParts" userdata="" /> 559 <on_click function="Tools.EditLinkedParts" userdata="" />
681 <on_check control="EditLinkedParts" /> 560 <on_check control="EditLinkedParts" />
682 <on_enable function="Tools.EnableToolNotPie" /> 561 <on_enable function="Tools.EnableToolNotPie" />
683 </menu_item_check> 562 </menu_item_check>
684 <menu_item_call bottom="-262" enabled="false" height="19" label="Link" left="0" 563 <menu_item_call name="Link" enabled="false" label="Link"
685 mouse_opaque="true" name="Link" shortcut="control|L" width="250"> 564 shortcut="control|L">
686 <on_click function="Tools.Link" userdata="" /> 565 <on_click function="Tools.Link" userdata="" />
687 <on_enable function="Tools.EnableLink" /> 566 <on_enable function="Tools.EnableLink" />
688 </menu_item_call> 567 </menu_item_call>
689 <menu_item_call bottom="-281" enabled="false" height="19" label="Unlink" left="0" 568 <menu_item_call name="Unlink" enabled="false" label="Unlink"
690 mouse_opaque="true" name="Unlink" shortcut="control|shift|L" width="250"> 569 shortcut="control|shift|L">
691 <on_click function="Tools.Unlink" userdata="" /> 570 <on_click function="Tools.Unlink" userdata="" />
692 <on_enable function="Tools.EnableUnlink" /> 571 <on_enable function="Tools.EnableUnlink" />
693 </menu_item_call> 572 </menu_item_call>
694 <menu_item_separator bottom="-289" enabled="true" height="8" label="-----------" left="0" 573 <menu_item_separator />
695 mouse_opaque="true" name="separator4" width="250" /> 574 <menu_item_call name="Focus on Selection" enabled="false"
696 <menu_item_call bottom="-308" enabled="false" height="19" label="Focus on Selection" left="0" 575 label="Focus on Selection" shortcut="H">
697 mouse_opaque="true" name="Focus on Selection" shortcut="H" width="250">
698 <on_click function="Tools.LookAtSelection" userdata="focus" /> 576 <on_click function="Tools.LookAtSelection" userdata="focus" />
699 <on_enable function="Tools.SomethingSelectedNoHUD" /> 577 <on_enable function="Tools.SomethingSelectedNoHUD" />
700 </menu_item_call> 578 </menu_item_call>
701 <menu_item_call bottom="-327" enabled="false" height="19" label="Zoom to Selection" left="0" 579 <menu_item_call name="Zoom to Selection" enabled="false"
702 mouse_opaque="true" name="Zoom to Selection" shortcut="shift|H" width="250"> 580 label="Zoom to Selection" shortcut="shift|H">
703 <on_click function="Tools.LookAtSelection" userdata="zoom" /> 581 <on_click function="Tools.LookAtSelection" userdata="zoom" />
704 <on_enable function="Tools.SomethingSelectedNoHUD" /> 582 <on_enable function="Tools.SomethingSelectedNoHUD" />
705 </menu_item_call> 583 </menu_item_call>
706 <menu_item_call bottom="-346" enabled="false" height="19" label="Buy Object" left="0" 584 <menu_item_call name="Menu Object Take" enabled="false" label="Buy Object"
707 mouse_opaque="true" name="Menu Object Take" visible="false" width="250"> 585 visible="false">
708 <on_click function="Tools.BuyOrTake" userdata="" /> 586 <on_click function="Tools.BuyOrTake" userdata="" />
709 <on_enable function="Tools.EnableBuyOrTake" userdata="Buy,Take" /> 587 <on_enable function="Tools.EnableBuyOrTake" userdata="Buy,Take" />
710 </menu_item_call> 588 </menu_item_call>
711 <menu_item_call bottom="-365" enabled="false" height="19" label="Take Copy" left="0" 589 <menu_item_call name="Take Copy" enabled="false" label="Take Copy">
712 mouse_opaque="true" name="Take Copy" width="250">
713 <on_click function="Tools.TakeCopy" userdata="" /> 590 <on_click function="Tools.TakeCopy" userdata="" />
714 <on_enable function="Tools.EnableTakeCopy" /> 591 <on_enable function="Tools.EnableTakeCopy" />
715 </menu_item_call> 592 </menu_item_call>
716 <menu_item_call bottom="-384" enabled="false" height="19" 593 <menu_item_call name="Return..." enabled="false" label="Return Object">
717 label="Save Object Back to My Inventory" left="0" mouse_opaque="true" 594 <on_click function="Object.Return" />
718 name="Save Object Back to My Inventory" width="250"> 595 <on_enable function="Object.EnableReturn" />
596 </menu_item_call>
597 <menu_item_call name="Save Object Back to My Inventory" enabled="false"
598 label="Save Object Back to My Inventory">
719 <on_click function="Tools.SaveToInventory" userdata="" /> 599 <on_click function="Tools.SaveToInventory" userdata="" />
720 <on_enable function="Tools.EnableSaveToInventory" /> 600 <on_enable function="Tools.EnableSaveToInventory" />
721 </menu_item_call> 601 </menu_item_call>
722 <menu_item_call bottom="-403" enabled="false" height="19" 602 <menu_item_call name="Save Object Back to Object Contents" enabled="false"
723 label="Save Object Back to Object Contents" left="0" mouse_opaque="true" 603 label="Save Object Back to Object Contents">
724 name="Save Object Back to Object Contents" width="250">
725 <on_click function="Tools.SaveToObjectInventory" userdata="" /> 604 <on_click function="Tools.SaveToObjectInventory" userdata="" />
726 <on_enable function="Tools.EnableSaveToObjectInventory" /> 605 <on_enable function="Tools.EnableSaveToObjectInventory" />
727 </menu_item_call> 606 </menu_item_call>
728 <menu_item_separator bottom="-411" enabled="true" height="8" label="-----------" left="0" 607 <menu_item_separator />
729 mouse_opaque="true" name="separator6" width="250" /> 608 <menu_item_call name="Show Script Warning/Error Window"
730 <menu_item_call bottom="-430" enabled="true" height="19" 609 label="Show Script Warning/Error Window">
731 label="Show Script Warning/Error Window" left="0" mouse_opaque="true"
732 name="Show Script Warning/Error Window" width="250">
733 <on_click function="ShowFloater" userdata="script errors" /> 610 <on_click function="ShowFloater" userdata="script errors" />
734 </menu_item_call> 611 </menu_item_call>
735 <menu_item_call bottom="-449" enabled="false" height="19" 612 <menu_item_call name="Recompile Scripts in Selection" enabled="false"
736 label="Recompile Scripts in Selection" left="0" mouse_opaque="true" 613 label="Recompile Scripts in Selection">
737 name="Recompile Scripts in Selection" width="250">
738 <on_click function="Tools.SelectedScriptAction" userdata="compile" /> 614 <on_click function="Tools.SelectedScriptAction" userdata="compile" />
739 <on_enable function="EditableSelected" /> 615 <on_enable function="EditableSelected" />
740 </menu_item_call> 616 </menu_item_call>
741 <menu_item_call bottom="-468" enabled="false" height="19" label="Reset Scripts in Selection" 617 <menu_item_call name="Reset Scripts in Selection" enabled="false"
742 left="0" mouse_opaque="true" name="Reset Scripts in Selection" width="250"> 618 label="Reset Scripts in Selection">
743 <on_click function="Tools.SelectedScriptAction" userdata="reset" /> 619 <on_click function="Tools.SelectedScriptAction" userdata="reset" />
744 <on_enable function="EditableSelected" /> 620 <on_enable function="EditableSelected" />
745 </menu_item_call> 621 </menu_item_call>
746 <menu_item_call bottom="-487" enabled="false" height="19" 622 <menu_item_call name="Set Scripts to Running in Selection" enabled="false"
747 label="Set Scripts to Running in Selection" left="0" mouse_opaque="true" 623 label="Set Scripts to Running in Selection">
748 name="Set Scripts to Running in Selection" width="250">
749 <on_click function="Tools.SelectedScriptAction" userdata="start" /> 624 <on_click function="Tools.SelectedScriptAction" userdata="start" />
750 <on_enable function="EditableSelected" /> 625 <on_enable function="EditableSelected" />
751 </menu_item_call> 626 </menu_item_call>
752 <menu_item_call bottom="-506" enabled="false" height="19" 627 <menu_item_call name="Set Scripts to Not Running in Selection"
753 label="Set Scripts to Not Running in Selection" left="0" 628 enabled="false" label="Set Scripts to Not Running in Selection">
754 mouse_opaque="true" name="Set Scripts to Not Running in Selection"
755 width="250">
756 <on_click function="Tools.SelectedScriptAction" userdata="stop" /> 629 <on_click function="Tools.SelectedScriptAction" userdata="stop" />
757 <on_enable function="EditableSelected" /> 630 <on_enable function="EditableSelected" />
758 </menu_item_call> 631 </menu_item_call>
759 <menu_item_call bottom="-468" enabled="false" height="19" label="Set permissions on selected task inventory" 632 <menu_item_call name="Set permissions on selected task inventory"
760 left="0" mouse_opaque="true" name="Set permissions on selected task inventory" width="250"> 633 enabled="false" label="Set permissions on selected task inventory">
761 <on_click function="Tools.SetBulkPerms" userdata="" /> 634 <on_click function="Tools.SetBulkPerms" userdata="" />
762 <on_enable function="EditableSelected" /> 635 <on_enable function="EditableSelected" />
763 </menu_item_call> 636 </menu_item_call>
764 </menu> 637 </menu>
765 <menu bottom="219" create_jump_keys="true" drop_shadow="true" enabled="true" 638
766 height="317" label="Help" left="227" mouse_opaque="false" name="Help" 639
767 opaque="true" tear_off="true" width="166"> 640
768 <menu_item_call bottom="-29" enabled="true" height="19" label="Second Life Help" left="0" 641 <!-- HELP -->
769 mouse_opaque="true" name="Second Life Help" shortcut="F1" width="166"> 642
643 <menu create_jump_keys="true" label="Help" name="Help"
644 opaque="true" tear_off="true">
645 <menu_item_call name="Second Life Help" label="Second Life Help"
646 shortcut="F1">
770 <on_click function="ShowFloater" userdata="help f1" /> 647 <on_click function="ShowFloater" userdata="help f1" />
771 </menu_item_call> 648 </menu_item_call>
772 <menu_item_call bottom="-48" enabled="true" height="19" label="Tutorial" left="0" 649 <menu_item_call name="Tutorial" label="Tutorial">
773 mouse_opaque="true" name="Tutorial" width="166">
774 <on_click function="ShowFloater" userdata="help tutorial" /> 650 <on_click function="ShowFloater" userdata="help tutorial" />
775 </menu_item_call> 651 </menu_item_call>
776 <menu_item_separator bottom="-75" enabled="true" height="8" label="-----------" left="0" 652 <menu_item_separator />
777 mouse_opaque="true" name="separator" width="166" /> 653 <menu_item_call name="Official Linden Blog..."
778 <menu_item_call bottom="-94" enabled="true" height="19" label="Official Linden Blog..." 654 label="Official Linden Blog...">
779 left="0" mouse_opaque="true" name="Official Linden Blog..." width="166">
780 <on_click function="PromptShowURL" 655 <on_click function="PromptShowURL"
781 userdata="WebLaunchSupportWiki,http://blog.secondlife.com/" /> 656 userdata="WebLaunchSupportWiki,http://blog.secondlife.com/" />
782 </menu_item_call> 657 </menu_item_call>
783 <menu_item_separator bottom="-102" enabled="true" height="8" label="-----------" left="0" 658 <menu_item_separator />
784 mouse_opaque="true" name="separator2" width="166" /> 659 <menu_item_call name="Scripting Guide..." label="Scripting Guide...">
785 <menu_item_call bottom="-121" enabled="true" height="19" label="Scripting Guide..." left="0"
786 mouse_opaque="true" name="Scripting Guide..." width="166">
787 <on_click function="PromptShowFile" userdata="WebLaunchLSLGuide,lsl_guide.html" /> 660 <on_click function="PromptShowFile" userdata="WebLaunchLSLGuide,lsl_guide.html" />
788 </menu_item_call> 661 </menu_item_call>
789 <menu_item_call bottom="-140" enabled="true" height="19" label="Scripting Portal..." left="0" 662 <menu_item_call name="Scripting Portal..." label="Scripting Portal...">
790 mouse_opaque="true" name="Scripting Portal..." width="166">
791 <on_click function="PromptShowURL" 663 <on_click function="PromptShowURL"
792 userdata="WebLaunchLSLWiki,http://wiki.secondlife.com/wiki/LSL_Portal" /> 664 userdata="WebLaunchLSLWiki,http://wiki.secondlife.com/wiki/LSL_Portal" />
793 </menu_item_call> 665 </menu_item_call>
794 <menu_item_separator bottom="-148" enabled="true" height="8" label="-----------" left="0" 666 <menu_item_separator />
795 mouse_opaque="true" name="separator3" width="166" /> 667 <menu_item_call name="Report Abuse..." label="Report Abuse...">
796 <menu_item_call bottom="-194" enabled="true" height="19" label="Report Abuse..." left="0"
797 mouse_opaque="true" name="Report Abuse..." width="166">
798 <on_click function="ShowFloater" userdata="complaint reporter" /> 668 <on_click function="ShowFloater" userdata="complaint reporter" />
799 </menu_item_call> 669 </menu_item_call>
800 <menu_item_call bottom="-213" enabled="true" height="19" label="Bumps, Pushes &amp; Hits..." 670 <menu_item_call name="Bumps, Pushes &amp;amp; Hits..."
801 left="0" mouse_opaque="true" name="Bumps, Pushes &amp;amp; Hits..." 671 label="Bumps, Pushes &amp; Hits...">
802 width="166">
803 <on_click function="ShowFloater" userdata="mean events" /> 672 <on_click function="ShowFloater" userdata="mean events" />
804 </menu_item_call> 673 </menu_item_call>
805 <menu_item_call label="Lag Meter" name="Lag Meter"> 674 <menu_item_call name="Lag Meter" label="Lag Meter">
806 <on_click function="ShowFloater" userdata="lag meter" /> 675 <on_click function="ShowFloater" userdata="lag meter" />
807 </menu_item_call> 676 </menu_item_call>
808 <menu_item_separator bottom="-411" enabled="true" height="8" label="-----------" left="0" 677 <menu_item_separator />
809 mouse_opaque="true" name="separator7" width="250" /> 678 <menu name="Bug Reporting" create_jump_keys="true" label="Bug Reporting"
810 <menu bottom="-554" create_jump_keys="true" drop_shadow="true" enabled="true" 679 opaque="true" tear_off="true">
811 height="109" label="Bug Reporting" left="0" mouse_opaque="false" 680 <menu_item_call name="Public Issue Tracker..."
812 name="Bug Reporting" opaque="true" tear_off="true" width="118"> 681 label="Public Issue Tracker...">
813 <menu_item_call bottom="-94" enabled="true" height="19" label="Public Issue Tracker..."
814 left="0" mouse_opaque="true" name="Public Issue Tracker..." width="166">
815 <on_click function="PromptShowURL" 682 <on_click function="PromptShowURL"
816 userdata="WebLaunchPublicIssue,http://jira.secondlife.com" /> 683 userdata="WebLaunchPublicIssue,http://jira.secondlife.com" />
817 </menu_item_call> 684 </menu_item_call>
818 <menu_item_call bottom="-94" enabled="true" height="19" label="Public Issue Tracker Help..." 685 <menu_item_call name="Publc Issue Tracker Help..."
819 left="0" mouse_opaque="true" name="Publc Issue Tracker Help..." width="166"> 686 label="Public Issue Tracker Help...">
820 <on_click function="PromptShowURL" 687 <on_click function="PromptShowURL"
821 userdata="WebLaunchPublicIssueHelp,http://wiki.secondlife.com/wiki/Issue_tracker" /> 688 userdata="WebLaunchPublicIssueHelp,http://wiki.secondlife.com/wiki/Issue_tracker" />
822 </menu_item_call> 689 </menu_item_call>
823 <menu_item_separator bottom="-411" enabled="true" height="8" label="-----------" left="0" 690 <menu_item_separator />
824 mouse_opaque="true" name="separator7" width="250" /> 691 <menu_item_call name="Bug Reporing 101..." label="Bug Reporting 101...">
825 <menu_item_call bottom="-94" enabled="true" height="19" label="Bug Reporting 101..." left="0"
826 mouse_opaque="true" name="Bug Reporing 101..." width="166">
827 <on_click function="PromptShowURL" 692 <on_click function="PromptShowURL"
828 userdata="WebLaunchBugReport101,http://wiki.secondlife.com/wiki/Bug_Reporting_101" /> 693 userdata="WebLaunchBugReport101,http://wiki.secondlife.com/wiki/Bug_Reporting_101" />
829 </menu_item_call> 694 </menu_item_call>
830 <menu_item_call bottom="-94" enabled="true" height="19" label="Security Issues..." left="0" 695 <menu_item_call name="Security Issues..." label="Security Issues...">
831 mouse_opaque="true" name="Security Issues..." width="166">
832 <on_click function="PromptShowURL" 696 <on_click function="PromptShowURL"
833 userdata="WebLaunchSecurityIssues,http://wiki.secondlife.com/wiki/Security_issues" /> 697 userdata="WebLaunchSecurityIssues,http://wiki.secondlife.com/wiki/Security_issues" />
834 </menu_item_call> 698 </menu_item_call>
835 <menu_item_call bottom="-94" enabled="true" height="19" label="QA Wiki..." left="0" 699 <menu_item_call name="QA Wiki..." label="QA Wiki...">
836 mouse_opaque="true" name="QA Wiki..." width="166">
837 <on_click function="PromptShowURL" 700 <on_click function="PromptShowURL"
838 userdata="WebLaunchQAWiki,http://wiki.secondlife.com/wiki/QA_Portal" /> 701 userdata="WebLaunchQAWiki,http://wiki.secondlife.com/wiki/QA_Portal" />
839 </menu_item_call> 702 </menu_item_call>
840 <menu_item_separator bottom="-411" enabled="true" height="8" label="-----------" left="0" 703 <menu_item_separator />
841 mouse_opaque="true" name="separator9" width="250" /> 704 <menu_item_call name="Report Bug..." label="Report Bug...">
842 <menu_item_call bottom="-240" enabled="true" height="19" label="Report Bug..." left="0"
843 mouse_opaque="true" name="Report Bug..." width="166">
844 <on_click function="PromptShowURL" 705 <on_click function="PromptShowURL"
845 userdata="WebLaunchPublicIssue,http://jira.secondlife.com" /> 706 userdata="WebLaunchPublicIssue,http://jira.secondlife.com" />
846 </menu_item_call> 707 </menu_item_call>
847 </menu> 708 </menu>
848 <menu_item_separator bottom="-221" enabled="true" height="8" label="-----------" left="0" 709 <menu_item_separator />
849 mouse_opaque="true" name="separator5" width="166" /> 710 <menu_item_call name="Release Notes..." label="Release Notes...">
850 <menu_item_call bottom="-121" enabled="true" height="19" label="Release Notes..." left="0"
851 mouse_opaque="true" name="Release Notes..." width="166">
852 <on_click function="PromptShowFile" userdata="WebLaunchReleaseNotes,releasenotes.txt" /> 711 <on_click function="PromptShowFile" userdata="WebLaunchReleaseNotes,releasenotes.txt" />
853 </menu_item_call> 712 </menu_item_call>
854 <menu_item_separator bottom="-294" enabled="true" height="8" label="-----------" left="0" 713 <menu_item_separator />
855 mouse_opaque="true" name="separator6" width="166" /> 714 <menu_item_call name="About Second Life..." label="About Second Life...">
856 <menu_item_call bottom="-313" enabled="true" height="19" label="About Second Life..." left="0"
857 mouse_opaque="true" name="About Second Life..." width="166">
858 <on_click function="ShowFloater" userdata="about" /> 715 <on_click function="ShowFloater" userdata="about" />
859 </menu_item_call> 716 </menu_item_call>
860 </menu> 717 </menu>
718
719
720 <!-- ADVANCED -->
721
722 <menu name="Advanced" drop_shadow="true" opaque="true" tear_off="true">
723
724
725
726 <!-- CONSOLES -->
727
728 <menu name="Consoles" drop_shadow="true" opaque="true" tear_off="true">
729 <menu_item_check name="Frame Console" label="Frame Console"
730 shortcut="control|shift|2">
731 <on_click function="Advanced.ToggleConsole" userdata="frame" />
732 <on_check function="Advanced.CheckConsole" userdata="frame" />
733 </menu_item_check>
734 <menu_item_check name="Texture Console" label="Texture Console"
735 shortcut="control|shift|3">
736 <on_click function="Advanced.ToggleConsole" userdata="texture" />
737 <on_check function="Advanced.CheckConsole" userdata="texture" />
738 </menu_item_check>
739 <menu_item_check name="Debug Console" label="Debug Console"
740 shortcut="control|shift|4">
741 <on_click function="Advanced.ToggleConsole" userdata="debug" />
742 <on_check function="Advanced.CheckConsole" userdata="debug" />
743 </menu_item_check>
744 <menu_item_check name="Fast Timers" label="Fast Timers"
745 shortcut="control|shift|9">
746 <on_click function="Advanced.ToggleConsole" userdata="fast timers" />
747 <on_check function="Advanced.CheckConsole" userdata="fast timers" />
748 </menu_item_check>
749 <!-- Requires compiled-in support, I think?
750 <menu_item_check name="Memory" label="Memory"
751 shortcut="control|shift|0">
752 <on_click function="Advanced.ToggleConsole" userdata="memory" />
753 <on_check function="Advanced.CheckConsole" userdata="memory" />
754 </menu_item_check>
755 -->
756 <menu_item_separator />
757 <menu_item_call name="Region Info to Debug Console"
758 label="Region Info to Debug Console">
759 <on_click function="Advanced.DumpInfoToConsole" userdata="region" />
760 </menu_item_call>
761 <menu_item_call name="Group Info to Debug Console"
762 label="Group Info to Debug Console">
763 <on_click function="Advanced.DumpInfoToConsole" userdata="group" />
764 </menu_item_call>
765 <menu_item_call name="Capabilities Info to Debug Console"
766 label="Capabilities Info to Debug Console">
767 <on_click function="Advanced.DumpInfoToConsole"
768 userdata="capabilities" />
769 </menu_item_call>
770 </menu>
771
772
773 <menu_item_call name="Reload personal setting overrides"
774 label="Reload personal settings overrides"
775 shortcut="control|shift|F2">
776 <on_click function="Advanced.ReloadSettingsOverrides" userdata="" />
777 </menu_item_call>
778
779
780
781 <!-- HUD INFO -->
782
783 <menu name="HUD Info" drop_shadow="true" opaque="true" tear_off="true">
784 <menu_item_check name="Velocity" label="Velocity">
785 <on_click function="Advanced.ToggleHUDInfo" userdata="velocity" />
786 <on_check function="Advanced.CheckHUDInfo" userdata="velocity" />
787 </menu_item_check>
788 <menu_item_check name="Camera" label="Camera">
789 <on_click function="Advanced.ToggleHUDInfo" userdata="camera" />
790 <on_check function="Advanced.CheckHUDInfo" userdata="camera" />
791 </menu_item_check>
792 <menu_item_check name="Wind" label="Wind">
793 <on_click function="Advanced.ToggleHUDInfo" userdata="wind" />
794 <on_check function="Advanced.CheckHUDInfo" userdata="wind" />
795 </menu_item_check>
796 <menu_item_check name="FOV" label="FOV">
797 <on_click function="Advanced.ToggleHUDInfo" userdata="fov" />
798 <on_check function="Advanced.CheckHUDInfo" userdata="fov" />
799 </menu_item_check>
800 </menu>
801
802
803 <menu_item_separator />
804
805 <menu_item_check name="High-res Snapshot" label="High-res Snapshot">
806 <on_click function="ToggleControl" userdata="HighResSnapshot" />
807 <on_check control="HighResSnapshot" />
808 </menu_item_check>
809 <menu_item_check name="Quiet Snapshots to Disk"
810 label="Quiet Snapshots to Disk">
811 <on_click function="ToggleControl" userdata="QuietSnapshotsToDisk" />
812 <on_check control="QuietSnapshotsToDisk" />
813 </menu_item_check>
814 <menu_item_check name="Compress Snapshots to Disk"
815 label="Compress Snapshots to Disk">
816 <on_click function="ToggleControl" userdata="CompressSnapshotsToDisk" />
817 <on_check control="CompressSnapshotsToDisk" />
818 </menu_item_check>
819 <menu_item_check name="Show Mouselook Crosshairs"
820 label="Show Mouselook Crosshairs">
821 <on_click function="ToggleControl" userdata="ShowCrosshairs" />
822 <on_check control="ShowCrosshairs" />
823 </menu_item_check>
824 <menu_item_check name="Debug Permissions" label="Debug Permissions">
825 <on_click function="ToggleControl" userdata="DebugPermissions" />
826 <on_check control="DebugPermissions" />
827 </menu_item_check>
828 <menu_item_call name="Clear Group Cache" label="Clear Group Cache">
829 <on_click function="Advanced.ClearGroupCache" userdata="" />
830 </menu_item_call>
831 <menu_item_separator />
832
833
834
835 <!-- RENDERING -->
836
837 <menu name="Rendering" drop_shadow="true" opaque="true" tear_off="true">
838
839 <!-- TYPES -->
840 <menu name="Types" drop_shadow="true" opaque="true" tear_off="true">
841 <menu_item_check name="Simple" label="Simple"
842 shortcut="control|alt|shift|1">
843 <on_click function="Advanced.ToggleRenderType" userdata="simple" />
844 <on_check function="Advanced.CheckRenderType" userdata="simple" />
845 </menu_item_check>
846 <menu_item_check name="Alpha" label="Alpha"
847 shortcut="control|alt|shift|2">
848 <on_click function="Advanced.ToggleRenderType" userdata="alpha" />
849 <on_check function="Advanced.CheckRenderType" userdata="alpha" />
850 </menu_item_check>
851 <menu_item_check name="Tree" label="Tree"
852 shortcut="control|alt|shift|3">
853 <on_click function="Advanced.ToggleRenderType" userdata="tree" />
854 <on_check function="Advanced.CheckRenderType" userdata="tree" />
855 </menu_item_check>
856 <menu_item_check name="Character" label="Character"
857 shortcut="control|alt|shift|4">
858 <on_click function="Advanced.ToggleRenderType" userdata="avatar" />
859 <on_check function="Advanced.CheckRenderType" userdata="avatar" />
860 </menu_item_check>
861 <menu_item_check name="SurfacePatch" label="SurfacePatch"
862 shortcut="control|alt|shift|5">
863 <on_click function="Advanced.ToggleRenderType" userdata="terrain" />
864 <on_check function="Advanced.CheckRenderType" userdata="terrain" />
865 </menu_item_check>
866 <menu_item_check name="Sky" label="Sky"
867 shortcut="control|alt|shift|6">
868 <on_click function="Advanced.ToggleRenderType" userdata="sky" />
869 <on_check function="Advanced.CheckRenderType" userdata="sky" />
870 </menu_item_check>
871 <menu_item_check name="Water" label="Water"
872 shortcut="control|alt|shift|7">
873 <on_click function="Advanced.ToggleRenderType" userdata="water" />
874 <on_check function="Advanced.CheckRenderType" userdata="water" />
875 </menu_item_check>
876 <menu_item_check name="Ground" label="Ground"
877 shortcut="control|alt|shift|8">
878 <on_click function="Advanced.ToggleRenderType" userdata="ground" />
879 <on_check function="Advanced.CheckRenderType" userdata="ground" />
880 </menu_item_check>
881 <menu_item_check name="Volume" label="Volume"
882 shortcut="control|alt|shift|9">
883 <on_click function="Advanced.ToggleRenderType" userdata="volume" />
884 <on_check function="Advanced.CheckRenderType" userdata="volume" />
885 </menu_item_check>
886 <menu_item_check name="Grass" label="Grass"
887 shortcut="control|alt|shift|0">
888 <on_click function="Advanced.ToggleRenderType" userdata="grass" />
889 <on_check function="Advanced.CheckRenderType" userdata="grass" />
890 </menu_item_check>
891 <menu_item_check name="Clouds" label="Clouds"
892 shortcut="control|alt|shift|-">
893 <on_click function="Advanced.ToggleRenderType" userdata="clouds" />
894 <on_check function="Advanced.CheckRenderType" userdata="clouds" />
895 </menu_item_check>
896 <menu_item_check name="Particles" label="Particles"
897 shortcut="control|alt|shift|=">
898 <on_click function="Advanced.ToggleRenderType"
899 userdata="particles" />
900 <on_check function="Advanced.CheckRenderType"
901 userdata="particles" />
902 </menu_item_check>
903 <menu_item_check name="Bump" label="Bump"
904 shortcut="control|alt|shift|\">
905 <on_click function="Advanced.ToggleRenderType" userdata="bump" />
906 <on_check function="Advanced.CheckRenderType" userdata="bump" />
907 </menu_item_check>
908 </menu>
909
910
911 <!-- FEATURES -->
912 <menu drop_shadow="true" name="Features" opaque="true" tear_off="true">
913 <menu_item_check name="UI" label="UI" shortcut="control|alt|F1">
914 <on_click function="Advanced.ToggleFeature" userdata="ui" />
915 <on_check function="Advanced.CheckFeature" userdata="ui" />
916 </menu_item_check>
917 <menu_item_check name="Selected" label="Selected"
918 shortcut="control|alt|F2">
919 <on_click function="Advanced.ToggleFeature" userdata="selected" />
920 <on_check function="Advanced.CheckFeature" userdata="selected" />
921 </menu_item_check>
922 <menu_item_check name="Highlighted" label="Highlighted"
923 shortcut="control|alt|F3">
924 <on_click function="Advanced.ToggleFeature" userdata="highlighted" />
925 <on_check function="Advanced.CheckFeature" userdata="highlighted" />
926 </menu_item_check>
927 <menu_item_check name="Dynamic Textures" label="Dynamic Textures"
928 shortcut="control|alt|F4">
929 <on_click function="Advanced.ToggleFeature"
930 userdata="dynamic textures" />
931 <on_check function="Advanced.CheckFeature"
932 userdata="dynamic textures" />
933 </menu_item_check>
934 <menu_item_check name="Foot Shadows" label="Foot Shadows"
935 shortcut="control|alt|F5">
936 <on_click function="Advanced.ToggleFeature"
937 userdata="foot shadows" />
938 <on_check function="Advanced.CheckFeature"
939 userdata="foot shadows" />
940 </menu_item_check>
941 <menu_item_check name="Fog" label="Fog" shortcut="control|alt|F6">
942 <on_click function="Advanced.ToggleFeature" userdata="fog" />
943 <on_check function="Advanced.CheckFeature" userdata="fog" />
944 </menu_item_check>
945 <menu_item_check name="Palletized Textures"
946 label="Palletized Textures"
947 shortcut="control|alt|F7">
948 <on_click function="Advanced.ToggleFeature" userdata="palette" />
949 <on_check function="Advanced.CheckFeature" userdata="palette" />
950 </menu_item_check>
951 <menu_item_check name="Test FRInfo" label="Test FRInfo"
952 shortcut="control|alt|F8">
953 <on_click function="Advanced.ToggleFeature" userdata="fr info" />
954 <on_check function="Advanced.CheckFeature" userdata="fr info" />
955 </menu_item_check>
956 <menu_item_check name="Flexible Objects" label="Flexible Objects"
957 shortcut="control|alt|F9">
958 <on_click function="Advanced.ToggleFeature" userdata="flexible" />
959 <on_check function="Advanced.CheckFeature" userdata="flexible" />
960 </menu_item_check>
961 </menu>
962
963
964 <!-- INFO DISPLAYS -->
965 <menu drop_shadow="true" name="Info Displays"
966 opaque="true" tear_off="true">
967 <menu_item_check name="Verify" label="Verify">
968 <on_click function="Advanced.ToggleInfoDisplay" userdata="verify" />
969 <on_check function="Advanced.CheckInfoDisplay" userdata="verify" />
970 </menu_item_check>
971 <menu_item_check name="BBoxes" label="BBoxes">
972 <on_click function="Advanced.ToggleInfoDisplay" userdata="bboxes" />
973 <on_check function="Advanced.CheckInfoDisplay" userdata="bboxes" />
974 </menu_item_check>
975 <menu_item_check name="Points" label="Points">
976 <on_click function="Advanced.ToggleInfoDisplay" userdata="points" />
977 <on_check function="Advanced.CheckInfoDisplay" userdata="points" />
978 </menu_item_check>
979 <menu_item_check name="Octree" label="Octree">
980 <on_click function="Advanced.ToggleInfoDisplay" userdata="octree" />
981 <on_check function="Advanced.CheckInfoDisplay" userdata="octree" />
982 </menu_item_check>
983 <menu_item_check name="Occlusion" label="Occlusion">
984 <on_click function="Advanced.ToggleInfoDisplay"
985 userdata="occlusion" />
986 <on_check function="Advanced.CheckInfoDisplay"
987 userdata="occlusion" />
988 </menu_item_check>
989 <menu_item_check name="Render Batches" label="Render Batches">
990 <on_click function="Advanced.ToggleInfoDisplay"
991 userdata="render batches" />
992 <on_check function="Advanced.CheckInfoDisplay"
993 userdata="render batches" />
994 </menu_item_check>
995 <menu_item_check name="Animated Textures" label="Animated Textures">
996 <on_click function="Advanced.ToggleInfoDisplay"
997 userdata="texture anim" />
998 <on_check function="Advanced.CheckInfoDisplay"
999 userdata="texture anim" />
1000 </menu_item_check>
1001 <menu_item_check name="Texture Priority" label="Texture Priority">
1002 <on_click function="Advanced.ToggleInfoDisplay"
1003 userdata="texture priority" />
1004 <on_check function="Advanced.CheckInfoDisplay"
1005 userdata="texture priority" />
1006 </menu_item_check>
1007 <menu_item_check name="Avatar Rendering Cost"
1008 label="Avatar Rendering Cost">
1009 <on_click function="Advanced.ToggleInfoDisplay"
1010 userdata="shame" />
1011 <on_check function="Advanced.CheckInfoDisplay"
1012 userdata="shame" />
1013 </menu_item_check>
1014 <menu_item_check name="Texture Area (sqrt(A))"
1015 label="Texture Area (sqrt(A))">
1016 <on_click function="Advanced.ToggleInfoDisplay"
1017 userdata="texture area" />
1018 <on_check function="Advanced.CheckInfoDisplay"
1019 userdata="texture area" />
1020 </menu_item_check>
1021 <menu_item_check name="Face Area (sqrt(A))"
1022 label="Face Area (sqrt(A))">
1023 <on_click function="Advanced.ToggleInfoDisplay"
1024 userdata="face area" />
1025 <on_check function="Advanced.CheckInfoDisplay"
1026 userdata="face area" />
1027 </menu_item_check>
1028 <menu_item_check name="Pick Render" label="Pick Render">
1029 <on_click function="Advanced.ToggleInfoDisplay"
1030 userdata="picking" />
1031 <on_check function="Advanced.CheckInfoDisplay"
1032 userdata="picking" />
1033 </menu_item_check>
1034 <menu_item_check name="Lights" label="Lights">
1035 <on_click function="Advanced.ToggleInfoDisplay"
1036 userdata="lights" />
1037 <on_check function="Advanced.CheckInfoDisplay"
1038 userdata="lights" />
1039 </menu_item_check>
1040 <menu_item_check name="Particles" label="Particles">
1041 <on_click function="Advanced.ToggleInfoDisplay"
1042 userdata="particles" />
1043 <on_check function="Advanced.CheckInfoDisplay"
1044 userdata="particles" />
1045 </menu_item_check>
1046 <menu_item_check name="Composition" label="Composition">
1047 <on_click function="Advanced.ToggleInfoDisplay"
1048 userdata="composition" />
1049 <on_check function="Advanced.CheckInfoDisplay"
1050 userdata="composition" />
1051 </menu_item_check>
1052 <menu_item_check name="Glow" label="Glow">
1053 <on_click function="Advanced.ToggleInfoDisplay"
1054 userdata="glow" />
1055 <on_check function="Advanced.CheckInfoDisplay"
1056 userdata="glow" />
1057 </menu_item_check>
1058 <menu_item_check name="Show Depth Buffer" label="Show Depth Buffer">
1059 <on_click function="ToggleControl" userdata="ShowDepthBuffer" />
1060 <on_check control="ShowDepthBuffer" />
1061 </menu_item_check>
1062 <menu_item_check name="Show Select Buffer" label="Show Select Buffer">
1063 <on_click function="Advanced.ToggleSelectBuffer" userdata="" />
1064 <on_check function="Advanced.CheckSelectBuffer" userdata="" />
1065 </menu_item_check>
1066 <menu_item_check name="Vectorize Perf Test"
1067 label="Vectorize Perf Test">
1068 <on_click function="ToggleControl" userdata="VectorizePerfTest" />
1069 <on_check control="VectorizePerfTest" />
1070 </menu_item_check>
1071 </menu>
1072
1073
1074 <!-- RENDER TESTS -->
1075 <menu drop_shadow="true" name="Render Tests" opaque="true"
1076 tear_off="true">
1077 <menu_item_check name="Camera Offset" label="Camera Offset">
1078 <on_click function="ToggleControl" userdata="CameraOffset" />
1079 <on_check control="CameraOffset" />
1080 </menu_item_check>
1081 <menu_item_check name="Randomize Framerate"
1082 label="Randomize Framerate">
1083 <on_click function="Advanced.ToggleRandomizeFramerate"
1084 userdata="" />
1085 <on_check function="Advanced.CheckRandomizeFramerate"
1086 userdata="" />
1087 </menu_item_check>
1088 <menu_item_check name="Periodic Slow Frame"
1089 label="Periodic Slow Frame">
1090 <on_click function="Advanced.TogglePeriodicSlowFrame"
1091 userdata="" />
1092 <on_check function="Advanced.CheckPeriodicSlowFrame"
1093 userdata="" />
1094 </menu_item_check>
1095 <menu_item_check name="Frame Test" label="Frame Test">
1096 <on_click function="Advanced.ToggleFrameTest" userdata="" />
1097 <on_check function="Advanced.CheckFrameTest" userdata="" />
1098 </menu_item_check>
1099 </menu>
1100
1101
1102 <menu_item_separator />
1103
1104 <menu_item_check name="Axes" label="Axes">
1105 <on_click function="ToggleControl" userdata="ShowAxes" />
1106 <on_check control="ShowAxes" />
1107 </menu_item_check>
1108
1109 <menu_item_separator />
1110
1111 <menu_item_check name="Hide Selected" label="Hide Selected">
1112 <on_click function="Advanced.ToggleHideSelectedObjects"
1113 userdata="" />
1114 <on_check function="Advanced.CheckHideSelectedObjects"
1115 userdata="" />
1116 </menu_item_check>
1117
1118 <menu_item_separator />
1119
1120 <menu_item_check name="Tangent Basis" label="Tangent Basis">
1121 <on_click function="ToggleControl" userdata="ShowTangentBasis" />
1122 <on_check control="ShowTangentBasis" />
1123 </menu_item_check>
1124 <menu_item_call name="Selected Texture Info"
1125 label="Selected Texture Info"
1126 shortcut="control|alt|shift|T">
1127 <on_click function="Advanced.SelectedTextureInfo" userdata="" />
1128 </menu_item_call>
1129 <menu_item_check name="Wireframe" label="Wireframe"
1130 shortcut="control|shift|R">
1131 <on_click function="Advanced.ToggleWireframe" userdata="" />
1132 <on_check function="Advanced.CheckWireframe" userdata="" />
1133 </menu_item_check>
1134 <menu_item_check name="Object-Object Occlusion"
1135 label="Object-Object Occlusion"
1136 shortcut="control|shift|O">
1137 <on_click function="ToggleControl" userdata="UseOcclusion" />
1138 <on_check control="UseOcclusion" />
1139 </menu_item_check>
1140 <menu_item_check name="Debug GL" label="Debug GL">
1141 <on_click function="ToggleControl" userdata="RenderDebugGL" />
1142 <on_check control="RenderDebugGL" />
1143 </menu_item_check>
1144 <menu_item_check name="Debug Pipeline" label="Debug Pipeline">
1145 <on_click function="ToggleControl" userdata="RenderDebugPipeline" />
1146 <on_check control="RenderDebugPipeline" />
1147 </menu_item_check>
1148 <menu_item_check name="Fast Alpha" label="Fast Alpha">
1149 <on_click function="ToggleControl" userdata="RenderFastAlpha" />
1150 <on_check control="RenderFastAlpha" />
1151 </menu_item_check>
1152 <menu_item_check name="Animate Textures" label="Animate Textures">
1153 <on_click function="ToggleControl" userdata="AnimateTextures" />
1154 <on_check control="AnimateTextures" />
1155 </menu_item_check>
1156 <menu_item_check name="Disable Textures" label="Disable Textures">
1157 <on_click function="Advanced.ToggleDisableTextures" userdata="" />
1158 <on_check function="Advanced.CheckDisableTextures" userdata="" />
1159 </menu_item_check>
1160 <!-- Disabled because it doesn't seem to be used anymore.
1161 <menu_item_check name="HTTP Get Textures" label="HTTP Get Textures">
1162 <on_click function="ToggleControl"
1163 userdata="ImagePipelineUseHTTP" />
1164 <on_check control="ImagePipelineUseHTTP" />
1165 </menu_item_check>
1166 -->
1167 <menu_item_check name="Run Multiple Threads"
1168 label="Run Multiple Threads">
1169 <on_click function="ToggleControl"
1170 userdata="RunMultipleThreads" />
1171 <on_check control="RunMultipleThreads" />
1172 </menu_item_check>
1173 <!-- Disabled because it doesn't work very well?
1174 <menu_item_check name="Dynamic Reflections"
1175 label="Dynamic Reflections">
1176 <on_click function="ToggleControl"
1177 userdata="RenderDynamicReflections" />
1178 <on_check control="RenderDynamicReflections" />
1179 </menu_item_check>
1180 -->
1181 <menu_item_check name="Cheesy Beacon" label="Cheesy Beacon">
1182 <on_click function="ToggleControl"
1183 userdata="CheesyBeacon" />
1184 <on_check control="CheesyBeacon" />
1185 </menu_item_check>
1186 </menu>
1187
1188
1189
1190 <!-- WORLD -->
1191
1192 <menu drop_shadow="true" name="World" opaque="true" tear_off="true">
1193 <!-- Disabled because you can't do this in Windlight.
1194 <menu_item_check name="Mouse Moves Sun" label="Mouse Moves Sun"
1195 shortcut="control|alt|M">
1196 <on_click function="ToggleControl" userdata="MouseSun" />
1197 <on_check control="MouseSun" />
1198 </menu_item_check>
1199 -->
1200 <menu_item_check name="Sim Sun Override" label="Sim Sun Override">
1201 <on_click function="ToggleControl"
1202 userdata="SkyOverrideSimSunPosition" />
1203 <on_check control="SkyOverrideSimSunPosition" />
1204 </menu_item_check>
1205 <menu_item_call name="Dump Scripted Camera"
1206 label="Dump Scripted Camera">
1207 <on_click function="Advanced.DumpScriptedCamera" userdata="" />
1208 </menu_item_call>
1209 <menu_item_check name="Fixed Weather" label="Fixed Weather">
1210 <on_click function="ToggleControl" userdata="FixedWeather" />
1211 <on_check control="FixedWeather" />
1212 </menu_item_check>
1213 <menu_item_call name="Dump Region Object Cache"
1214 label="Dump Region Object Cache">
1215 <on_click function="Advanced.DumpRegionObjectCache" userdata="" />
1216 </menu_item_call>
1217 </menu>
1218
1219
1220
1221 <!-- UI -->
1222
1223 <menu drop_shadow="true" name="UI" opaque="true" tear_off="true">
1224 <menu_item_call name="SLURL Test" label="SLURL Test">
1225 <on_click function="Advanced.SLURLTest" userdata="" />
1226 </menu_item_call>
1227
1228 <!--
1229 *TODO: Make this a proper toggle item with the "X" indicator.
1230 1. Add a "Advanced.CheckEditableUI" function in llviewermenu.cpp.
1231 2. Change this surrounding menu_item_call to a menu_item_check.
1232 3. Uncomment the "on_check" line below.
1233 -->
1234 <menu_item_call name="Editable UI" label="Editable UI">
1235 <on_click function="Advanced.ToggleEditableUI" userdata="" />
1236 <!--
1237 <on_check function="Advanced.CheckEditableUI" userdata="" />
1238 -->
1239 </menu_item_call>
1240
1241 <menu_item_check name="Async Keystrokes" label="Async Keystrokes">
1242 <on_click function="Advanced.ToggleAsyncKeystrokes" userdata="" />
1243 <on_check function="Advanced.CheckAsyncKeystrokes" userdata="" />
1244 </menu_item_check>
1245 <menu_item_call name="Dump SelectMgr" label="Dump SelectMgr">
1246 <on_click function="Advanced.DumpSelectMgr" userdata="" />
1247 </menu_item_call>
1248 <menu_item_call name="Dump Inventory" label="Dump Inventory">
1249 <on_click function="Advanced.DumpInventory" userdata="" />
1250 </menu_item_call>
1251 <menu_item_call name="Dump Focus Holder"
1252 label="Dump Focus Holder" shortcut="control|alt|F">
1253 <on_click function="Advanced.DumpFocusHolder" userdata="" />
1254 </menu_item_call>
1255 <menu_item_call name="Print Selected Object Info"
1256 label="Print Selected Object Info"
1257 shortcut="control|shift|P">
1258 <on_click function="Advanced.PrintSelectedObjectInfo" userdata="" />
1259 </menu_item_call>
1260 <menu_item_call name="Print Agent Info" label="Print Agent Info"
1261 shortcut="shift|P">
1262 <on_click function="Advanced.PrintAgentInfo" userdata="" />
1263 </menu_item_call>
1264 <menu_item_call name="Memory Stats" label="Memory Stats"
1265 shortcut="control|alt|shift|M">
1266 <on_click function="Advanced.PrintTextureMemoryStats" userdata="" />
1267 </menu_item_call>
1268 <menu_item_check name="Double-Click Auto-Pilot"
1269 label="Double-Click Auto-Pilot">
1270 <on_click function="ToggleControl" userdata="DoubleClickAutoPilot" />
1271 <on_check control="DoubleClickAutoPilot" />
1272 </menu_item_check>
1273 <menu_item_separator />
1274 <menu_item_check name="Debug SelectMgr" label="Debug SelectMgr">
1275 <on_click function="Advanced.ToggleDebugSelectMgr" userdata="" />
1276 <on_check function="Advanced.CheckDebugSelectMgr" userdata="" />
1277 </menu_item_check>
1278 <menu_item_check label="Debug Click" name="Debug Clicks">
1279 <on_click function="Advanced.ToggleDebugClicks" userdata="" />
1280 <on_check function="Advanced.CheckDebugClicks" userdata="" />
1281 </menu_item_check>
1282 <menu_item_check name="Debug Views" label="Debug Views">
1283 <on_click function="Advanced.ToggleDebugViews" userdata="" />
1284 <on_check function="Advanced.CheckDebugViews" userdata="" />
1285 </menu_item_check>
1286 <menu_item_check name="Show Name Tooltips" label="Show Name Tooltips">
1287 <on_click function="Advanced.ToggleXUINameTooltips" userdata="" />
1288 <on_check function="Advanced.CheckXUINameTooltips" userdata="" />
1289 </menu_item_check>
1290 <menu_item_check name="Debug Mouse Events" label="Debug Mouse Events">
1291 <on_click function="Advanced.ToggleDebugMouseEvents" userdata="" />
1292 <on_check function="Advanced.CheckDebugMouseEvents" userdata="" />
1293 </menu_item_check>
1294 <menu_item_check name="Debug Keys" label="Debug Keys">
1295 <on_click function="Advanced.ToggleDebugKeys" userdata="" />
1296 <on_check function="Advanced.CheckDebugKeys" userdata="" />
1297 </menu_item_check>
1298 <menu_item_check name="Debug WindowProc" label="Debug WindowProc">
1299 <on_click function="Advanced.ToggleDebugWindowProc" userdata="" />
1300 <on_check function="Advanced.CheckDebugWindowProc" userdata="" />
1301 </menu_item_check>
1302 <menu_item_check name="Debug Text Editor Tips"
1303 label="Debug Text Editor Tips">
1304 <on_click function="Advanced.ToggleDebugTextEditorTips" userdata="" />
1305 <on_check function="Advanced.CheckDebugTextEditorTips" userdata="" />
1306 </menu_item_check>
1307 <menu_item_separator />
1308 <menu_item_check name="Show Time" label="Show Time">
1309 <on_click function="ToggleControl" userdata="DebugShowTime" />
1310 <on_check control="DebugShowTime" />
1311 </menu_item_check>
1312 <menu_item_check name="Show Render Info" label="Show Render Info">
1313 <on_click function="ToggleControl" userdata="DebugShowRenderInfo" />
1314 <on_check control="DebugShowRenderInfo" />
1315 </menu_item_check>
1316 <menu_item_check name="Show Color Under Cursor"
1317 label="Show Color Under Cursor">
1318 <on_click function="ToggleControl" userdata="DebugShowColor" />
1319 <on_check control="DebugShowColor" />
1320 </menu_item_check>
1321 </menu>
1322
1323
1324
1325 <!-- XUI -->
1326
1327 <menu drop_shadow="true" name="XUI" opaque="true" tear_off="true">
1328 <menu_item_call name="Floater Test..." label="Floater Test...">
1329 <on_click function="Advanced.ShowFloaterTest" userdata="" />
1330 </menu_item_call>
1331 <menu_item_call name="Export Menus to XML..."
1332 label="Export Menus to XML...">
1333 <on_click function="Advanced.ExportMenusToXML" userdata="" />
1334 </menu_item_call>
1335 <menu_item_call name="Edit UI..." label="Edit UI...">
1336 <on_click function="Advanced.EditUI" userdata="" />
1337 </menu_item_call>
1338 <menu_item_call name="Load from XML..." label="Load from XML...">
1339 <on_click function="Advanced.LoadUIFromXML" userdata="" />
1340 </menu_item_call>
1341 <menu_item_call name="Save to XML..." label="Save to XML...">
1342 <on_click function="Advanced.SaveUIToXML" userdata="" />
1343 </menu_item_call>
1344 <menu_item_check name="Show XUI Names" label="Show XUI Names">
1345 <on_click function="Advanced.ToggleXUINames" userdata="" />
1346 <on_check function="Advanced.CheckXUINames" userdata="" />
1347 </menu_item_check>
1348 </menu>
1349
1350
1351
1352 <!-- CHARACTER -->
1353
1354 <menu name="Character" drop_shadow="true" opaque="true" tear_off="true">
1355
1356 <menu name="Grab Baked Texture" drop_shadow="true"
1357 opaque="true" tear_off="true">
1358 <menu_item_call enabled="false" name="Iris" label="Iris">
1359 <on_click function="Advanced.GrabBakedTexture" userdata="eyes" />
1360 <on_enable function="Advanced.EnableGrabBakedTexture"
1361 userdata="eyes" />
1362 </menu_item_call>
1363 <menu_item_call enabled="false" name="Head" label="Head">
1364 <on_click function="Advanced.GrabBakedTexture" userdata="head" />
1365 <on_enable function="Advanced.EnableGrabBakedTexture"
1366 userdata="head" />
1367 </menu_item_call>
1368 <menu_item_call enabled="false" name="Upper Body" label="Upper Body">
1369 <on_click function="Advanced.GrabBakedTexture" userdata="upper" />
1370 <on_enable function="Advanced.EnableGrabBakedTexture"
1371 userdata="upper" />
1372 </menu_item_call>
1373 <menu_item_call enabled="false" name="Lower Body" label="Lower Body">
1374 <on_click function="Advanced.GrabBakedTexture" userdata="lower" />
1375 <on_enable function="Advanced.EnableGrabBakedTexture"
1376 userdata="lower" />
1377 </menu_item_call>
1378 <menu_item_call enabled="false" name="Skirt" label="Skirt">
1379 <on_click function="Advanced.GrabBakedTexture" userdata="skirt" />
1380 <on_enable function="Advanced.EnableGrabBakedTexture"
1381 userdata="skirt" />
1382 </menu_item_call>
1383 </menu>
1384
1385 <!-- CHARACTER TESTS -->
1386 <menu drop_shadow="true" name="Character Tests"
1387 opaque="true" tear_off="true">
1388 <menu_item_check name="Go Away/AFK When Idle"
1389 label="Go Away/AFK When Idle">
1390 <on_click function="Advanced.ToggleAllowIdleAFK" userdata="" />
1391 <on_check function="Advanced.CheckAllowIdleAFK" userdata="" />
1392 </menu_item_check>
1393 <menu_item_call name="Appearance To XML" label="Appearance To XML">
1394 <on_click function="Advanced.ToggleAppearanceToXML" userdata="" />
1395 </menu_item_call>
1396 <menu_item_call name="Toggle Character Geometry" enabled="false"
1397 label="Toggle Character Geometry">
1398 <on_click function="Advanced.ToggleCharacterGeometry" userdata="" />
1399 <on_enable function="EnableGodCustomerService" userdata="" />
1400 </menu_item_call>
1401 <menu_item_call name="Test Male" label="Test Male">
1402 <on_click function="Advanced.TestMale" userdata="" />
1403 </menu_item_call>
1404 <menu_item_call name="Test Female" label="Test Female">
1405 <on_click function="Advanced.TestFemale" userdata="" />
1406 </menu_item_call>
1407 <menu_item_call name="Toggle PG" label="Toggle PG">
1408 <on_click function="Advanced.TogglePG" userdata="" />
1409 </menu_item_call>
1410 <menu_item_check name="Allow Select Avatar"
1411 label="Allow Select Avatar">
1412 <on_click function="Advanced.ToggleAllowSelectAvatar" userdata="" />
1413 <on_check function="Advanced.CheckAllowSelectAvatar" userdata="" />
1414 </menu_item_check>
1415 </menu>
1416
1417 <menu_item_check name="Enable Lip Sync (Beta)"
1418 label="Enable Lip Sync (Beta)">
1419 <on_click function="ToggleControl" userdata="LipSyncEnabled" />
1420 <on_check control="LipSyncEnabled" />
1421 </menu_item_check>
1422 <menu_item_check name="Tap-Tap-Hold To Run"
1423 label="Tap-Tap-Hold To Run">
1424 <on_click function="Advanced.ToggleAllowTapTapHoldRun" userdata="" />
1425 <on_check function="Advanced.CheckAllowTapTapHoldRun" userdata="" />
1426 </menu_item_check>
1427 <menu_item_call name="Force Params to Default"
1428 label="Force Params to Default">
1429 <on_click function="Advanced.ForceParamsToDefault" userdata="" />
1430 </menu_item_call>
1431 <menu_item_call name="Reload Vertex Shader"
1432 label="Reload Vertex Shader">
1433 <on_click function="Advanced.ReloadVertexShader" userdata="" />
1434 </menu_item_call>
1435 <menu_item_check label="Animation Info"
1436 name="Animation Info">
1437 <on_click function="Advanced.ToggleAnimationInfo" userdata="" />
1438 <on_check function="Advanced.CheckAnimationInfo" userdata="" />
1439 </menu_item_check>
1440
1441 <!--
1442 *TODO: Make this a proper toggle item with the "X" indicator.
1443 1. Add a "Advanced.CheckSlowmotionAnimation" function in
1444 llviewermenu.cpp.
1445 2. Change this surrounding menu_item_call to a menu_item_check.
1446 3. Uncomment the "on_check" line below.
1447 -->
1448 <menu_item_call name="Slow Motion Animations"
1449 label="Slow Motion Animations">
1450 <on_click function="Advanced.ToggleSlowMotionAnimations" userdata="" />
1451 <!--
1452 <on_check function="Advanced.CheckSlowMotionAnimations"
1453 userdata="" />
1454 -->
1455 </menu_item_call>
1456
1457 <menu_item_check name="Show Look At" label="Show Look At">
1458 <on_click function="Advanced.ToggleShowLookAt" userdata="" />
1459 <on_check function="Advanced.CheckShowLookAt" userdata="" />
1460 </menu_item_check>
1461 <menu_item_check name="Show Point At" label="Show Point At">
1462 <on_click function="Advanced.ToggleShowPointAt" userdata="" />
1463 <on_check function="Advanced.CheckShowPointAt" userdata="" />
1464 </menu_item_check>
1465 <menu_item_check name="Debug Joint Updates" label="Debug Joint Updates">
1466 <on_click function="Advanced.ToggleDebugJointUpdates" userdata="" />
1467 <on_check function="Advanced.CheckDebugJointUpdates" userdata="" />
1468 </menu_item_check>
1469 <menu_item_check name="Disable LOD" label="Disable LOD">
1470 <on_click function="Advanced.ToggleDisableLOD" userdata="" />
1471 <on_check function="Advanced.CheckDisableLOD" userdata="" />
1472 </menu_item_check>
1473 <menu_item_check name="Debug Character Vis" label="Debug Character Vis">
1474 <on_click function="Advanced.ToggleDebugCharacterVis" userdata="" />
1475 <on_check function="Advanced.CheckDebugCharacterVis" userdata="" />
1476 </menu_item_check>
1477
1478 <!-- Disabled. See DEV-14477
1479 <menu_item_check name="Show Collision Plane"
1480 label="Show Collision Plane">
1481 <on_click function="Advanced.ToggleShowCollisionPlane"
1482 userdata="" />
1483 <on_check function="Advanced.CheckShowCollisionPlane"
1484 userdata="" />
1485 </menu_item_check>
1486 -->
1487
1488 <menu_item_check name="Show Collision Skeleton"
1489 label="Show Collision Skeleton">
1490 <on_click function="Advanced.ToggleShowCollisionSkeleton"
1491 userdata="" />
1492 <on_check function="Advanced.CheckShowCollisionSkeleton"
1493 userdata="" />
1494 </menu_item_check>
1495 <menu_item_check name="Display Agent Target"
1496 label="Display Agent Target">
1497 <on_click function="Advanced.ToggleDisplayAgentTarget" userdata="" />
1498 <on_check function="Advanced.CheckDisplayAgentTarget" userdata="" />
1499 </menu_item_check>
1500 <menu_item_check name="Debug Rotation" label="Debug Rotation">
1501 <on_click function="Advanced.ToggleDebugAvatarRotation" userdata="" />
1502 <on_check function="Advanced.CheckDebugAvatarRotation" userdata="" />
1503 </menu_item_check>
1504 <menu_item_call name="Dump Attachments" label="Dump Attachments">
1505 <on_click function="Advanced.DumpAttachments" userdata="" />
1506 </menu_item_call>
1507 <menu_item_call name="Rebake Textures" label="Rebake Textures"
1508 shortcut="control|alt|R">
1509 <on_click function="Advanced.RebakeTextures" userdata="" />
1510 </menu_item_call>
1511 </menu>
1512
1513
1514
1515 <!-- NETWORK -->
1516
1517 <menu drop_shadow="true" name="Network" opaque="true" tear_off="true">
1518 <menu_item_call name="Enable Message Log" label="Enable Message Log">
1519 <on_click function="Advanced.EnableMessageLog" userdata="" />
1520 </menu_item_call>
1521 <menu_item_call name="Disable Message Log" label="Disable Message Log">
1522 <on_click function="Advanced.DisableMessageLog" userdata="" />
1523 </menu_item_call>
1524 <menu_item_separator />
1525 <menu_item_check name="Velocity Interpolate Objects"
1526 label="Velocity Interpolate Objects">
1527 <on_click function="ToggleControl" userdata="VelocityInterpolate" />
1528 <on_check control="VelocityInterpolate" />
1529 </menu_item_check>
1530 <menu_item_check name="Ping Interpolate Object Positions"
1531 label="Ping Interpolate Object Positions">
1532 <on_click function="ToggleControl" userdata="PingInterpolate" />
1533 <on_check control="PingInterpolate" />
1534 </menu_item_check>
1535 <menu_item_separator />
1536 <menu_item_call name="Drop a Packet" label="Drop a Packet"
1537 shortcut="control|alt|L">
1538 <on_click function="Advanced.DropPacket" userdata="" />
1539 </menu_item_call>
1540 </menu>
1541
1542
1543
1544 <!-- RECORDER -->
1545
1546 <menu name="Recorder" drop_shadow="true" opaque="true" tear_off="true">
1547 <menu_item_check name="Full Session Logging"
1548 label="Full Session Logging">
1549 <on_click function="ToggleControl"
1550 userdata="StatsSessionTrackFrameStats" />
1551 <on_check control="StatsSessionTrackFrameStats" />
1552 </menu_item_check>
1553 <menu_item_call name="Start Logging" label="Start Logging">
1554 <on_click function="Advanced.FrameStatsLogging"
1555 userdata="start logging" />
1556 </menu_item_call>
1557 <menu_item_call name="Stop Logging" label="Stop Logging">
1558 <on_click function="Advanced.FrameStatsLogging"
1559 userdata="stop logging" />
1560 </menu_item_call>
1561 <menu_item_call name="Log 10 Seconds" label="Log 10 Seconds">
1562 <on_click function="Advanced.FrameStatsLogging"
1563 userdata="timed logging 10" />
1564 </menu_item_call>
1565 <menu_item_call name="Log 30 Seconds" label="Log 30 Seconds">
1566 <on_click function="Advanced.FrameStatsLogging"
1567 userdata="timed logging 30" />
1568 </menu_item_call>
1569 <menu_item_call name="Log 60 Seconds" label="Log 60 Seconds">
1570 <on_click function="Advanced.FrameStatsLogging"
1571 userdata="timed logging 60" />
1572 </menu_item_call>
1573
1574 <menu_item_separator />
1575
1576 <menu_item_call name="Start Playback" label="Start Playback">
1577 <on_click function="Advanced.AgentPilot" userdata="start playback" />
1578 </menu_item_call>
1579 <menu_item_call name="Stop Playback" label="Stop Playback">
1580 <on_click function="Advanced.AgentPilot" userdata="stop playback" />
1581 </menu_item_call>
1582 <menu_item_check name="Loop Playback" label="Loop Playback">
1583 <on_click function="Advanced.ToggleAgentPilotLoop" userdata="" />
1584 <on_check function="Advanced.CheckAgentPilotLoop" userdata="" />
1585 </menu_item_check>
1586 <menu_item_call name="Start Record" label="Start Record">
1587 <on_click function="Advanced.AgentPilot" userdata="start record" />
1588 </menu_item_call>
1589 <menu_item_call name="Stop Record" label="Stop Record">
1590 <on_click function="Advanced.AgentPilot" userdata="stop record" />
1591 </menu_item_call>
1592 </menu>
1593
1594
1595 <menu_item_separator />
1596
1597
1598 <menu_item_check name="Show Updates" label="Show Updates"
1599 shortcut="control|alt|shift|U">
1600 <on_click function="Advanced.ToggleShowObjectUpdates" userdata="" />
1601 <on_check function="Advanced.CheckShowObjectUpdates" userdata="" />
1602 </menu_item_check>
1603
1604 <menu_item_separator />
1605
1606 <menu_item_call name="Compress Image..."
1607 label="Compress Image...">
1608 <on_click function="Advanced.CompressImage" userdata="" />
1609 </menu_item_call>
1610 <menu_item_check name="Limit Select Distance"
1611 label="Limit Select Distance">
1612 <on_click function="ToggleControl"
1613 userdata="LimitSelectDistance" />
1614 <on_check control="LimitSelectDistance" />
1615 </menu_item_check>
1616 <menu_item_check name="Disable Camera Constraints"
1617 label="Disable Camera Constraints">
1618 <on_click function="ToggleControl"
1619 userdata="DisableCameraConstraints" />
1620 <on_check control="DisableCameraConstraints" />
1621 </menu_item_check>
1622 <menu_item_check name="Mouse Smoothing" label="Mouse Smoothing">
1623 <on_click function="ToggleControl"
1624 userdata="MouseSmooth" />
1625 <on_check control="MouseSmooth" />
1626 </menu_item_check>
1627
1628 <menu_item_separator />
1629
1630 <menu_item_check name="Console Window" label="Console Window">
1631 <on_click function="ToggleControl"
1632 userdata="ShowConsoleWindow" />
1633 <on_check control="ShowConsoleWindow" />
1634 </menu_item_check>
1635 <menu_item_check name="Output Debug Minidump"
1636 label="Output Debug Minidump">
1637 <on_click function="ToggleControl"
1638 userdata="SaveMiniDump" />
1639 <on_check control="SaveMiniDump" />
1640 </menu_item_check>
1641 <menu_item_check name="Clothing..." label="Clothing...">
1642 <on_click function="Advanced.ToggleClothingFloater" userdata="" />
1643 </menu_item_check>
1644 <menu_item_call name="Debug Settings" label="Debug Settings">
1645 <on_click function="Advanced.ShowDebugSettings" userdata="" />
1646 </menu_item_call>
1647 <menu_item_check name="View Admin Options" label="View Admin Options"
1648 shortcut="control|alt|V">
1649 <on_click function="Advanced.ToggleViewAdminOptions" userdata="" />
1650 <on_check function="Advanced.CheckViewAdminOptions" userdata="" />
1651 </menu_item_check>
1652 <menu_item_call name="Request Admin Status" label="Request Admin Status"
1653 shortcut="control|alt|G">
1654 <on_click function="Advanced.RequestAdminStatus" userdata="" />
1655 </menu_item_call>
1656 <menu_item_call name="Leave Admin Status" label="Leave Admin Status"
1657 shortcut="control|alt|shift|G">
1658 <on_click function="Advanced.LeaveAdminStatus" userdata="" />
1659 </menu_item_call>
1660
1661 </menu>
1662
861</menu_bar> 1663</menu_bar>