Skinning HowTo/XUI Menus

From Second Life Wiki
Jump to: navigation, search

menu_bar parameters


  • Used by floater and panel.
  • Can contain menu.
  • Class LLMenuBarGL
  • In source file llui/llmenugl.cpp
bottom
left
drop_shadow
follows
height
width
mouse_opaque
opaque
name
enabled

Optional.

tear_off

Optional.

menu parameters


  • Used by menu_bar and recursively by other menus.
  • Can contain menu, menu_item_call, menu_item_check, menu_item_separator, and tearoff_menu.
  • Class LLMenuGL
  • In source file llui/llmenugl.cpp
bottom_delta

Optional.

bottom

Optional.

left

Optional.

drop_shadow

Optional.

height

Optional.

width

Optional.

label

Optional.

mouse_opaque
opaque
name
tear_off

Optional.

enabled

Optional.

color

Optional.

create_jump_keys

Optional.

visible

Optional.

hidden

Optional.

pie_menu parameters


  • Used recursively by other pie_menus.
  • Can contain pie_menu.
name
label

Optional.

enabled

Optional.

tearoff_menu parameters


Used by menu.

bottom
enabled
height
label
left
mouse_opaque
name
width

menu_item_check parameters


  • Used by menu.
  • Can contain on_check, on_click, and on_enable.
  • Class MenuItemCheckGL
bottom_delta

Optional.

bottom

Optional.

left
control_name

Optional.

height
width
label
mouse_opaque
name
enabled

Optional.

shortcut

Optional.

menu_item_separator parameters


Used by menu and pie_menu.

bottom_delta

Optional.

bottom

Optional.

left

Optional.

height

Optional.

width

Optional.

label

Optional.

mouse_opaque

Optional.

name

Optional.

enabled

Optional.

menu_item_call parameters


Used by menu and pie_menu. Can contain on_click, on_enable, and on_visible.

bottom_delta

Optional.

bottom

Optional.

left

Optional.

height

Optional.

width

Optional.

label
mouse_opaque

Optional.

name
enabled

Optional.

shortcut

Optional.

useMacCtrl

Optional.

visible

Optional.

hidden

Optional.

on_check parameters


Used by menu_item_check.

function

Optional.

userdata

Optional.

control

Optional.

on_click parameters


Used by menu_item_call and menu_item_check.

filter

Optional.

function
userdata
name

Optional.

on_visible parameters


Used by menu_item_call.

function

on_enable parameters


Used by menu_item_call and menu_item_check.

function
userdata

Optional.

name

Optional.