LLContextMenu functionality pulled out of LLPieMenu, PieMenu is now derived from LLContextMenu - The more attribute boolean of pie_menu element determines whether or not to have an actual submenu if it's not a pie, defaults to false which means actual submenu.. -- in the future we may want to have more more="true" depending on feedback - Pie menu labels now dynamically get " >" appended to them (avoids stupid looking context menus) - Positioning logic combined in part, mostly conditional still, in the future we could probably combine it more. - handleHoverOver function combines common functionality between context and pies given an item and hover mouse coords. LiruUseContextMenus debug setting determines which to use, default is pie, of course - Context(/Pie) Menus are rebuilt when the setting changes value -- this is safe at any point because all startup states have been accounted for - "Use context menus instead of pie menus" added to System->General preferences (it's close to the bottom)
34 lines
1.7 KiB
XML
34 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<pie_menu name="Attachment Pie">
|
|
<menu_item_call label="Perfil..." name="Profile..."/>
|
|
<menu_item_call label="Soltar" name="Drop"/>
|
|
<menu_item_call label="Tocar" name="Attachment Object Touch">
|
|
<on_click function="Object.Touch" />
|
|
<on_enable function="Object.EnableTouch" userdata="Tocar" name="EnableTouch"/>
|
|
</menu_item_call>
|
|
<menu_item_call label="Pararse" name="Stand Up">
|
|
<on_click function="Self.SitOrStand"/>
|
|
<on_enable function="Self.EnableSitOrStand" userdata="Sentarse,Pararse"/>
|
|
</menu_item_call>
|
|
<menu_item_call label="Quitar" name="Detach"/>
|
|
<pie_menu label="Herramientas" name="Tools">
|
|
<pie_menu label="Scripts" name="ScriptsMenu">
|
|
<menu_item_call label="Compilar en Mono" name="CompileMono"/>
|
|
<menu_item_call label="Compilar en LSL" name="CompileLSL"/>
|
|
<menu_item_call label="Reiniciar" name="Reset Scripts"/>
|
|
<menu_item_call label="Iniciar" name="Object Set Scripts to Running"/>
|
|
<menu_item_call label="Detener" name="Object Set Scripts to Not Running"/>
|
|
<menu_item_call label="Borrar" name="Remove Scripts From Selection"/>
|
|
<menu_item_call label="Conteo de Scripts" name="ScriptCount"/>
|
|
<menu_item_call label="Info de Script" name="Script Info"/>
|
|
</pie_menu>
|
|
<menu_item_call label="Inspeccionar" name="Object Inspect"/>
|
|
<menu_item_call label="Datos" name="Data"/>
|
|
<menu_item_call label="Desdibujar" name="Derender"/>
|
|
<menu_item_call label="Recargar" name="Reload Textures"/>
|
|
<menu_item_call label="Guardar OBJ..." name="Save OBJ..."/>
|
|
<menu_item_call label="Guardar DAE..." name="Save DAE..."/>
|
|
</pie_menu>
|
|
<menu_item_call label="Apariencia..." name="Appearance..."/>
|
|
<menu_item_call label="Editar..." name="Edit..."/></pie_menu>
|