Difference between revisions of "XUI Reference"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
Rand Linden (talk | contribs) |
||
Line 65: | Line 65: | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | |[[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | ||
|[[Skinning_HowTo/XUI_Containers#layout_stack|layout_stack]] | |[[Skinning_HowTo/XUI_Containers#layout_stack|layout_stack]], [[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
| | | | ||
Line 122: | Line 122: | ||
|[[Skinning_HowTo/XUI_Menus#on_check|on_check]] | |[[Skinning_HowTo/XUI_Menus#on_check|on_check]] | ||
|[[Skinning_HowTo/XUI_Menus#menu_item_check|menu_item_check]] | |[[Skinning_HowTo/XUI_Menus#menu_item_check|menu_item_check]] | ||
| | |Function to call when menu item is checked. | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Menus#on_click|on_click]] | |[[Skinning_HowTo/XUI_Menus#on_click|on_click]] | ||
|[[Skinning_HowTo/XUI_Menus#menu_item_call|menu_item_call]] | |||
|Function to call when menu item is clicked. | |||
|[[Skinning_HowTo/XUI_Menus# | |||
| | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Menus#on_enable|on_enable]] | |[[Skinning_HowTo/XUI_Menus#on_enable|on_enable]] | ||
| | |[[Skinning_HowTo/XUI_Menus#menu_item_call|menu_item_call]] | ||
|Function to call when menu item is enabled. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Containers#panel|panel]] | |[[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
| | |[[Skinning_HowTo/XUI_Containers#floater|floater]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | ||
|Contains other widgets. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Other Widgets#progress_bar|progress_bar]] | |[[Skinning_HowTo/XUI Other Widgets#progress_bar|progress_bar]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | ||
|Progress bar widget. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Selection Widgets#radio_group|radio_group]] | |[[Skinning_HowTo/XUI Selection Widgets#radio_group|radio_group]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | ||
|Group of radio buttons, of which only one can be selected. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Selection Widgets#radio_item|radio_item]] | |[[Skinning_HowTo/XUI Selection Widgets#radio_item|radio_item]] | ||
| | |[[Skinning_HowTo/XUI Selection Widgets#radio_group|radio_group]] | ||
|Single radio button in a radio group. | |||
|-- | |-- | ||
Line 159: | Line 161: | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Containers#scroll_container|scroll_container]] | |[[Skinning_HowTo/XUI_Containers#scroll_container|scroll_container]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | |||
| | | | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Selection Widgets#scroll_list|scroll_list]] | |[[Skinning_HowTo/XUI Selection Widgets#scroll_list|scroll_list]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | |||
| | | | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Other Widgets#search_editor|search_editor]] | |[[Skinning_HowTo/XUI Other Widgets#search_editor|search_editor]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
|See World Map (floater_world_map.xml) for example. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#slider|slider]] | |[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#slider|slider]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
|Slider widget | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#slider_bar|slider_bar]] | |[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#slider_bar|slider_bar]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]] | |||
| | | | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#spinner|spinner]] | |[[Skinning_HowTo/XUI Buttons, Sliders, and Spinners#spinner|spinner]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]] | |||
| | | | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Other Widgets#string|string]] | |[[Skinning_HowTo/XUI Other Widgets#string|string]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
|Defines a text string to be displayed. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI_Containers#tab_container|tab_container]] | |[[Skinning_HowTo/XUI_Containers#tab_container|tab_container]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]] | |||
| | | | ||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Selection Widgets#texture_picker|texture_picker]] | |[[Skinning_HowTo/XUI Selection Widgets#texture_picker|texture_picker]] | ||
| | | [[Skinning_HowTo/XUI_Containers#panel|panel]] | ||
|Texture picker widget. | |||
|-- | |-- | ||
|[[Skinning_HowTo/XUI Text Entry Widgets#text|text]] | |[[Skinning_HowTo/XUI Text Entry Widgets#text|text]] | ||
| [[Skinning_HowTo/XUI_Containers#panel|panel]], [[Skinning_HowTo/XUI_Containers#layout_panel|layout_panel]] | |||
| | | | ||
Revision as of 15:37, 26 May 2010
NOTE: The set of possible container widgets in the following table is not complete.
Widget | Container widget | Description |
---|---|---|
button | panel, layout_panel | Button widget |
check_box | panel | Check box widget |
color_swatch | panel | Container for other widgets |
column | row | For layout |
combo_box | floater | Combo-box (drop-down selection) widget |
combo_item | combo_box | |
floater | N/A (top-level) | A free-floating window within the Viewer UI. |
flyout_button | panel | |
icon | panel | Displays a graphical icon image. |
inventory_panel | tab_container | |
layout_stack | panel | |
layout_panel | layout_stack, panel | |
line_editor | panel | |
locate | panel | |
menu | menu_bar | An drop-down menu (e.g. File) |
menu_bar | panel | Set of menus arranged in a horizontal bar |
menu_item_call | menu | An individual menu item (e.g. Open on the File menu) |
menu_item_check | menu | |
menu_item_separator | menu | Horizontal line between menu items
|
multi_floater | N/A (top-level) | |
multi_slider | panel | See example in Day Cycle Editor.
|
name_list | panel | Displays a list of Resident names. |
on_check | menu_item_check | Function to call when menu item is checked. |
on_click | menu_item_call | Function to call when menu item is clicked. |
on_enable | menu_item_call | Function to call when menu item is enabled. |
panel | floater, layout_panel | Contains other widgets. |
progress_bar | panel, layout_panel | Progress bar widget. |
radio_group | panel, layout_panel | Group of radio buttons, of which only one can be selected. |
radio_item | radio_group | Single radio button in a radio group. |
row | scroll_list | |
scroll_container | panel, layout_panel | |
scroll_list | panel, layout_panel | |
search_editor | panel | See World Map (floater_world_map.xml) for example. |
slider | panel | Slider widget |
slider_bar | panel | |
spinner | panel | |
string | panel | Defines a text string to be displayed. |
tab_container | panel | |
texture_picker | panel | Texture picker widget. |
text | panel, layout_panel | |
text_editor | ||
view_border | ||
volume_slider | ||
web_browser |