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:
@@ -2,15 +2,15 @@
|
||||
<pie_menu name="Self Pie">
|
||||
<menu_item_call label="Profil..." name="Profile..."/>
|
||||
<menu_item_call label="Gruppen..." name="Groups..."/>
|
||||
<pie_menu label="Ausziehen >" name="Take Off >">
|
||||
<pie_menu label="Kleidung >" name="Clothes >">
|
||||
<pie_menu label="Ausziehen" name="Take Off">
|
||||
<pie_menu label="Kleidung" name="Clothes">
|
||||
<menu_item_call label="Hemd" name="Shirt"/>
|
||||
<menu_item_call label="Hose" name="Pants"/>
|
||||
<menu_item_call label="Schuhe" name="Shoes"/>
|
||||
<menu_item_call label="Socken" name="Socks"/>
|
||||
<menu_item_call label="Jacke" name="Jacket"/>
|
||||
<menu_item_call label="Handschuhe" name="Gloves"/>
|
||||
<pie_menu label="Mehr >" name="More >">
|
||||
<pie_menu label="Mehr" name="More">
|
||||
<menu_item_call label="Unterhemd" name="Self Undershirt"/>
|
||||
|
||||
<menu_item_call label="Alle Kleider" name="All Clothes"/>
|
||||
@@ -21,13 +21,13 @@
|
||||
</pie_menu>
|
||||
<menu_item_call label="Rock" name="Skirt"/>
|
||||
</pie_menu>
|
||||
<pie_menu label="HUD >" name="Object Detach HUD"/>
|
||||
<pie_menu label="HUD" name="Object Detach HUD"/>
|
||||
|
||||
<pie_menu label="Abnehmen >" name="Object Detach"/>
|
||||
<pie_menu label="Abnehmen" name="Object Detach"/>
|
||||
|
||||
<menu_item_call label="Alles abnehmen" name="Detach All"/>
|
||||
</pie_menu>
|
||||
<pie_menu label="Werkzeuge >" name="Tools >">
|
||||
<pie_menu label="Werkzeuge" name="Tools">
|
||||
<menu_item_call label="Neu laden" name="Reload Textures"/>
|
||||
<menu_item_call label="Animationen" name="Anims..."/>
|
||||
<menu_item_call label="S. Count" name="ScriptCount"/>
|
||||
|
||||
Reference in New Issue
Block a user