Difference between revisions of "Skinning HowTo/XUI Menus"
Line 21: | Line 21: | ||
=== menu parameters === | === menu parameters === | ||
---- | ---- | ||
Used by menu_bar and recursively by other menus. | *Used by menu_bar and recursively by other menus. | ||
Can contain menu, menu_item_call, menu_item_check, menu_item_separator, and tearoff_menu. | *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 ===== | ===== bottom_delta ===== | ||
''Optional.'' | ''Optional.'' | ||
Line 52: | Line 54: | ||
===== hidden ===== | ===== hidden ===== | ||
''Optional.'' | ''Optional.'' | ||
=== pie_menu parameters === | === pie_menu parameters === |
Revision as of 11:44, 2 July 2009
- 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.
- 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.
Optional.
Used recursively by other pie_menus. Can contain pie_menu.
name
label
Optional.
enabled
Optional.
Used by menu.
bottom
enabled
height
label
left
mouse_opaque
name
width
Used by menu. Can contain on_check, on_click, and on_enable.
bottom_delta
Optional.
bottom
Optional.
left
control_name
Optional.
height
width
label
mouse_opaque
name
enabled
Optional.
shortcut
Optional.
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.
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.
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.