Difference between revisions of "User:Jacek Antonelli/UI Classes"
Jump to navigation
Jump to search
(Added some more attributes) |
(Added panel attributes) |
||
Line 95: | Line 95: | ||
|} | |} | ||
====<panel> (LLPanel)==== | ====<panel> (LLPanel)==== | ||
{|{{XUI Attribute Table}} | |||
{{XUI Attribute Entry|name=name|desc=Used to refer to element from C++|type=String}} | |||
{{XUI Attribute Entry|name=label|desc=Label text|type=String}} | |||
{{XUI Attribute Entry|name=background_visible|type=Bool}} | |||
{{XUI Attribute Entry|name=background_opaque|type=Bool}} | |||
{{XUI Attribute Entry|name=bg_opaque_color|type=Color}} | |||
{{XUI Attribute Entry|name=bg_alpha_color|type=Color}} | |||
{{XUI Attribute Entry|name=border|desc=Element has a border|type=Bool}} | |||
{{XUI Attribute Entry|name=border_style|type=String|note=One of: line, texture}} | |||
{{XUI Attribute Entry|name=border_thickness|type=Integer}} | |||
{{XUI Attribute Entry|name=filename|type=String}} | |||
{{XUI Attribute Entry|name=orientation|type=String|note=One of: vertical, horizontal}} | |||
{{XUI Attribute Entry|name=rect_control|type=String}} | |||
|} | |||
=====<floater> (LLFloater)===== | =====<floater> (LLFloater)===== | ||
=====<radio_group> LLRadioGroup===== | =====<radio_group> LLRadioGroup===== | ||
====<text> (LLTextBox)==== | ====<text> (LLTextBox)==== | ||
====<text_editor> (LLTextEditor)==== | ====<text_editor> (LLTextEditor)==== |
Latest revision as of 14:17, 18 January 2008
Partial list. Will clean this up and post it somewhere later. Jacek Antonelli 17 January 2008
LLView
Name | Description | Data Type | Note |
---|---|---|---|
rect_control | String | ||
left | Location of left edge | Integer | |
left_delta | Integer | ||
bottom | Location of bottom edge | Integer | |
bottom_delta | Integer | ||
right | Location of right edge | Integer | |
top | Location of top edge | Integer | |
width | Element width | Integer | |
height | Element height | Integer | |
follows | Which edges resize along with the parent element | String | A pipe-separated list of one or more: all, bottom, left, right, top |
control_name | String | ||
tool_tip | String | ||
enabled | Bool | ||
visible | Bool | ||
hidden | Bool | ||
default_tab_group | Integer | ||
font | Text font family | String | |
halign | Text horizontal alignment | String | One of: left, right, center |
valign | Text vertical alignment | String | One of: left, right, center |
style | Text style | String | One of: normal, bold, italic, underline |
tab_stop | Bool |
LLUICtrl
<button> (LLButton)
Name | Description | Data Type | Note |
---|---|---|---|
name | Used to refer to element from C++ | String | |
label | Label text | String | |
label_selected | Label text while selected | String | |
image_unselected | String | Can be name of file (e.g. foo.tga) or control | |
image_selected | String | ibid. | |
image_hover_selected | String | ibid. | |
image_disabled_selected | String | ibid. | |
image_disabled | String | ibid. | |
image_overlay | String | ibid. | |
image_overlay_alignment | String | One of: left, right, center (?) | |
border_width | Integer | ||
border_height | Integer | ||
halign | Label text horiz. alignment | String | One of: left, right, center |
scale_image | Stretch image to fit size | Bool | |
help_url | String |
<check_box> (LLCheckBoxCtrl)
Name | Description | Data Type | Note |
---|---|---|---|
name | Used to refer to element from C++ | String | |
label | Label text | String | |
radio_style | Use radio-style (round) buttons | Bool | |
initial_value | Checked or unchecked initially | Bool | |
text_enabled_color | Color | ||
text_disabled_color | Color |
<combo_box> (LLComboBox)
Name | Description | Data Type | Note |
---|---|---|---|
name | Used to refer to element from C++ | String | |
label | Label text | String | |
allow_text_entry | Allow typing in new values | Bool | |
max_chars | Maximum characters allowed | Integer |
<combo_item>
Name | Description | Data Type | Note |
---|---|---|---|
value | Value of the item | String | |
enabled | Item can be selected | Bool |
<line_editor> (LLLineEditor)
Name | Description | Data Type | Note |
---|---|---|---|
name | Used to refer to element from C++ | String | |
max_length | Maximum characters allowed | Integer | |
bevel_style | String | One of: none, in, out, bright | |
border_style | String | One of: line, texture | |
border_thickness | Integer | ||
cursor_color | Color | ||
text_color | Color | ||
text_readonly_color | Color | ||
text_tentative_color | Color | ||
bg_readonly_color | Color | ||
bg_writeable_color | Color | ||
bg_focus_color | Color | ||
select_on_focus | Bool | ||
select_on_focus_received | Bool | ||
handle_edit_keys_directly | Bool | ||
commit_on_focus_lost | Bool | ||
prevalidate | Prevalidate input as a certain type | String | One of:
|
<panel> (LLPanel)
Name | Description | Data Type | Note |
---|---|---|---|
name | Used to refer to element from C++ | String | |
label | Label text | String | |
background_visible | Bool | ||
background_opaque | Bool | ||
bg_opaque_color | Color | ||
bg_alpha_color | Color | ||
border | Element has a border | Bool | |
border_style | String | One of: line, texture | |
border_thickness | Integer | ||
filename | String | ||
orientation | String | One of: vertical, horizontal | |
rect_control | String |