ContextMenu Support!
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)
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
<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">
|
||||
<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"/>
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
<menu_item_call label="Denunciar..." name="abuse"/>
|
||||
<menu_item_call label="Añadir Amigo..." name="Add Friend"/>
|
||||
<menu_item_call label="Pagar..." name="Pay..."/>
|
||||
<pie_menu label="Más >" name="More >">
|
||||
<pie_menu label="Más" name="More">
|
||||
<menu_item_call label="Congelar..." name="Freeze..."/>
|
||||
<menu_item_call label="Dar Tarjeta" name="Give Card"/>
|
||||
<menu_item_call label="Invitar a Grupo..." name="Invite..."/>
|
||||
<pie_menu label="Herramientas >" name="Tools >">
|
||||
<pie_menu label="Herramientas" name="Tools">
|
||||
<menu_item_call label="Contar Scripts" name="ScriptCount"/>
|
||||
<menu_item_call label="Copiar UUID" name="CopyUUID"/>
|
||||
<menu_item_call label="ID Cliente" name="ClientID"/>
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
<on_enable function="Tools.EnableBuyOrTake" userdata="Comprar,Recoger" name="EnableBuyOrTake"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Pagar..." name="Pay..."/>
|
||||
<pie_menu label="Más >" name="More >">
|
||||
<pie_menu label="Más" name="More">
|
||||
<menu_item_call label="Borrar" name="Delete"/>
|
||||
<menu_item_call label="Vestirse" name="Wear"/>
|
||||
<menu_item_call label="Recoger una copia" name="Take Copy"/>
|
||||
<pie_menu label="Anexar HUD >" name="Object Attach HUD" />
|
||||
<pie_menu label="Anexar >" name="Object Attach" />
|
||||
<pie_menu label="Anexar HUD" name="Object Attach HUD" />
|
||||
<pie_menu label="Anexar" name="Object Attach" />
|
||||
<menu_item_call label="Regresar..." name="Return..."/>
|
||||
<pie_menu label="Más >" name="Rate Menu">
|
||||
<pie_menu label="Herramientas >" name="Rate Menu">
|
||||
<pie_menu label="Más" name="Rate Menu">
|
||||
<pie_menu label="Herramientas" name="Rate Menu">
|
||||
<menu_item_call label="Destruir" name="Destroy"/>
|
||||
<menu_item_call label="Explotar" name="Explode"/>
|
||||
<menu_item_call label="Medir" name="Measure"/>
|
||||
@@ -36,11 +36,11 @@
|
||||
<menu_item_call label="Examinar" name="Object Inspect"/>
|
||||
<menu_item_call label="Desdibujar" name="Derender"/>
|
||||
<menu_item_call label="Denunciar..." name="Report Abuse..."/>
|
||||
<pie_menu label="Pathfinding >" name="PF Menu">
|
||||
<pie_menu label="Pathfinding" name="PF Menu">
|
||||
<menu_item_call label="Mostrar e/Conj.Enlaces" name="show_in_linksets"/>
|
||||
<menu_item_call label="Mostrar en Personajes" name="show_in_characters"/>
|
||||
</pie_menu>
|
||||
<pie_menu label="Scripts >" name="ScriptsMenu">
|
||||
<pie_menu label="Scripts" name="ScriptsMenu">
|
||||
<menu_item_call label="Compilar Mono" name="CompileMono"/>
|
||||
<menu_item_call label="Compilar LSL" name="CompileLSL"/>
|
||||
<menu_item_call label="Reiniciar" name="Reset Scripts"/>
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
<pie_menu name="Self Pie">
|
||||
<menu_item_call label="Perfil..." name="Profile..."/>
|
||||
<menu_item_call label="Grupos..." name="Groups..."/>
|
||||
<pie_menu label="Quitarse >" name="Take Off >">
|
||||
<pie_menu label="Ropa >" name="Clothes >">
|
||||
<pie_menu label="Quitarse" name="Take Off">
|
||||
<pie_menu label="Ropa" name="Clothes">
|
||||
<menu_item_call label="Camisa" name="Shirt"/>
|
||||
<menu_item_call label="Pantalones" name="Pants"/>
|
||||
<menu_item_call label="Zapatos" name="Shoes"/>
|
||||
<menu_item_call label="Calcetines" name="Socks"/>
|
||||
<menu_item_call label="Chaqueta" name="Jacket"/>
|
||||
<menu_item_call label="Guantes" name="Gloves"/>
|
||||
<pie_menu label="Más >" name="More >">
|
||||
<pie_menu label="Más" name="More">
|
||||
<menu_item_call label="Camiseta" name="Self Undershirt"/>
|
||||
<menu_item_separator />
|
||||
<menu_item_call label="Toda la ropa" name="All Clothes"/>
|
||||
@@ -21,13 +21,13 @@
|
||||
</pie_menu>
|
||||
<menu_item_call label="Falda" name="Skirt"/>
|
||||
</pie_menu>
|
||||
<pie_menu label="HUD >" name="Object Detach HUD"/>
|
||||
<pie_menu label="HUD" name="Object Detach HUD"/>
|
||||
<menu_item_separator />
|
||||
<pie_menu label="Quitar >" name="Object Detach" />
|
||||
<pie_menu label="Quitar" name="Object Detach" />
|
||||
<menu_item_separator />
|
||||
<menu_item_call label="Quitar todo" name="Detach All"/>
|
||||
</pie_menu>
|
||||
<pie_menu label="Herramientas >" name="Tools >">
|
||||
<pie_menu label="Herramientas" name="Tools">
|
||||
<menu_item_call label="Recargar" name="Reload Textures"/>
|
||||
<menu_item_call label="Animaciones..." name="Anims..."/>
|
||||
<menu_item_call label="Contar Scripts" name="ScriptCount"/>
|
||||
|
||||
Reference in New Issue
Block a user