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)
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
|
<pie_menu name="Object Pie">
|
|
<menu_item_call label="Abrir" name="Open"/>
|
|
<menu_item_call label="Criar" name="Create"/>
|
|
<menu_item_call label="Tocar" name="Object Touch"/>
|
|
<menu_item_call label="Sentar aqui" name="Object Sit"/>
|
|
<menu_item_call label="Pegar" name="Pie Object Take"/>
|
|
<menu_item_call label="Pagar..." name="Pay..."/>
|
|
<pie_menu label="Mais" name="More">
|
|
<menu_item_call label="Apagar" name="Delete"/>
|
|
<menu_item_call label="Vestir" name="Wear"/>
|
|
<menu_item_call label="Pegar Cópia" name="Take Copy"/>
|
|
<pie_menu label="Anexar HUD" name="Object Attach HUD"/>
|
|
<pie_menu label="Anexar" name="Object Attach"/>
|
|
<menu_item_call label="Retornar..." name="Return..."/>
|
|
<pie_menu label="Mais" name="Rate Menu">
|
|
<menu_item_call label="Reportar..." name="Report Abuse..."/>
|
|
<menu_item_call label="Silenciar" name="Object Mute"/>
|
|
<menu_item_call label="Inspecionar" name="Object Inspect"/>
|
|
</pie_menu>
|
|
<menu_item_call label="Comprar..." name="Buy..."/>
|
|
</pie_menu>
|
|
<menu_item_call label="Editar..." name="Edit..."/>
|
|
</pie_menu>
|