https://wiki.secondlife.com/w/api.php?action=feedcontributions&user=Mm+Alder&feedformat=atom
Second Life Wiki - User contributions [en]
2024-03-29T04:33:37Z
User contributions
MediaWiki 1.36.1
https://wiki.secondlife.com/w/index.php?title=User_talk:Rand_Linden&diff=1007973
User talk:Rand Linden
2010-08-16T21:25:59Z
<p>Mm Alder: </p>
<hr />
<div>== Definitions for Land related articles ==<br />
Heyas =)<br><br />
I read your contributions to the [[sim]] and [[region]] article. I had in mind to merge land related articles (even [[Help:Open_Wiki_Tasks#Active_Tasks|poked a friend on it]] but I guess he's to swamped with other stuff atm). So I was wondering if you could help with a definition for ''parcel'', ''estate'' and ''grid''. Also the difference ''Main Grid'' (MG), ''Beta Grid'' and ''Teen Grid'' (TG), as well as the difference between ''estate'' and ''grid''. I'm not sure but MG and TG don't seem to be different Grids (both Agni)? Currently available articles are: [[Parcel]], [[Estate]], [[Agni]], [[Aditi]], [[Grid]]<br><br />
I'm just writing since your [[User:Rand Linden|userpage]] sounded like you'd be into this kind of stuff. Sorry if this was the wrong way to request it.<br><br />
Btw: You can register your userpage to certain Linden categories via [[Template:llEmployee]]. Oh and welcome :-)<br><br />
[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 22:56, 16 December 2008 (UTC)<br />
<br />
----<br />
<br />
Hi, Zai!<br />
Thanks for pinging me, and yes, I'm interested in working on this kind of stuff. I'm pretty busy getting up to speed, and I'm also working on a couple of internal projects, so it may take a while for me to get to this, but I will do so ASAP. In the long run, I expect to be contributing to the wiki quite a bit...<br />
<br />
In general, I am in favor of merging lots of little articles into more manageable-sized chunks. However, I was thinking of these two articles as glossary entries (I believe that is their Category). But maybe we want to think about a better way to do a glossary? I've seen them done in various different ways on wikis, e.g. one big article, an article for each letter, etc. Of course refactoring the Glossary would be a pretty big project, and I wouldn't want to undertake it without reasonable discussion and input from the community as well as other interested Lindens.<br />
<br />
--[[User:Rand Linden|Rand Linden]] 20:07, 17 December 2008 (UTC)<br />
<br />
:Heyas and thx for the reply =)<br />
:The current form of the glossary is quite new. It was a [https://wiki.secondlife.com/w/index.php?title=Glossary&oldid=83006 huuuuuge article before] and we ripped it apart to turn it [[:Category:Glossary|into a category]]. This was the first step. The second step would be, to scan this categories again for mergable clusters and then form them to helpful articles, while the original pages would become categorized redirects to chapters of these articles. For example: One ''Land'' article with chapters ''Parcel'', ''Region'' (subchapter ''Normal Region'', ''Void Region'' (Openspace), ''Homestead''), ''Estate'', ''Grid''. The former articles about these topics would then be turned into redirects to these specific chapters, while they would still remain to be in the glossary category. That is the plan we ([[User:Gally Young|Gally Young]] and me) had in mind so far... Though we're quite distracted lately and not really working on it at the moment... There is even a [[Talk:Help_Portal/New_Organisation|to do list]] were some clusters are noted (besides the [[Help:Open Wiki Tasks]] page). The benefit of this over a Wiki page with entries sorted by alphabet is, that<br />
:#articles can contain more info than just a few sentences and display related topics<br />
:#information aren't scattered<br />
:#entries can have more than one category<br />
:For example, a categorized redirect from ''Region'' to "Article: ''Land'', Chapter: ''Region''" could also be in the [[:Category:Help/Land]] and not only in the glossary category.<br />
:These were our thoughts so far. I'm really happy that there's someone official now who'd like to take part in it! =)<br />
:Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 21:15, 17 December 2008 (UTC)<br />
<br />
That's an interesting approach, and one that could be a fruitful way to glean more contextually relevant information from scattered Glossary articles. However, if I understand what you are proposing, the end result would be elimination of a Glossary ''per se''. <br />
<br />
I personally think a Glossary with short concise terminology definitions can be very useful, in addition to more lengthy and detailed expository articles that put terms in context. Virtually every technical doc set I've worked on for the last 20 years has had a glossary....for good reason IMHO. Sometimes someone just wants a concise definition for a specific term, not a lengthy discourse. And Glossary entries can of course link to other pertinent articles to provide more detail and context. <br />
<br />
You could still pursue the plans you outlined, but I would suggest reviving actual Glossary articles, and chunking them down into smaller articles, e.g. "Glossary A-F," "Glossary G-L," or even individual letters, if length warrants. Glossary definitions should have guidelines for length and format so they don't get too long and are consistent... <br />
<br />
Anyway, that's just my take on the subject. Glossaries have traditionally been an unglamorous but important part of tech docs, one that is too-often ignored, IMHO. But, particularly for newbies, they can be invaluable.<br />
<br />
--[[User:Rand Linden|Rand Linden]] 18:07, 19 December 2008 (UTC)<br />
:Ah, I see the problem... My initial thoughts were, that it's somehow like in the Wikipedia, where the first three or four sentences (prior the first chapter) are used as a short summary like it would be written in a Glossary. We might be able to do the following:<br />
:Write the first few lines of an article as if it would be a Glossary entry and then prepare the article for inclusion with <font color="black"><nowiki><onlyinlude></nowiki></font> syntax. Then it can be included in a Glossary article sorted by alphabet and a second Glossary article sorted by content. It's basically what [[User:Strife Onizuka|Strife]] did with [[llSetPrimitiveParams]]. Has the advantages that:<br />
:*Every article has a neat short introduction which gives an overview.<br />
:*Glossaries are sorted in the way which is most intuitive to the reader.<br />
:*Content is centralized and you just need to edit one article in order to change the description at every page displaying the Glossary lines.<br />
:Every such entry can have a "Read the full article about <font color="blue"><u>'''topic'''</u></font>" link on the bottom. So that's just some brain storming... I would leave [[:Category:Glossary]] nevertheless for the ones interested in more than just the preview. But can stand side by side *brainstorm*<br />
:[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 00:38, 20 December 2008 (UTC)<br />
<br />
== Firewalls ==<br />
<br />
Heyas Rand! =)<br><br />
Saw your article about [[Configuring Your Corporate Firewall to Allow Access to Second Life]]. I wanted to redirect [[Firewall]] to this article, but stumbled upon other articles which seem to cover the same (or a similar) topic. <br />
*[[Firewall Configuration]]<br />
*[[Firewall Usecases]]<br />
*[[How do I configure my hardware firewall]]<br />
Do you think they can be merged? Or maybe just redirected to your article since it might be the most up-to-date one?<br><br />
Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 22:29, 9 March 2009 (UTC)<br />
<br />
<br />
Hi Zai,<br />
Thanks for your edits! Holy cow you're quick!! Yes, I will merge these articles... May take me a day or two, but I will do so.<br />
<br />
Also, I see you added the new article to the Help portal, which is great. However, it's not really a "bug fix" so it probably shouldn't be in that category. I think "Viewer" is better. I'm not familiar with the Help template.... Do I just do:<br />
<pre>{{Help|Viewer=*}}</pre><br />
<br />
I looked at the template, but it's not obvious to me.<br />
<br />
:Hehe, thx ^_^<br />
:Yepp, <code><nowiki>{{Help|Viewer=*}}</nowiki></code> would register it to the viewer category. Might be a good idea to do that. Can also register it to both, [[:Category:Bug Fixes]] ''and'' [[:Category:Help/Viewer]]. Since it might be that people find themself beeing unable to connect to SL and might not think about their firewall. So they might expect to experience a bug and therefor search in the bug fixes. When they stumble upon that article, they might think: "Oh, right...'''d'oh!'''". So maybe having it in both cats would be a benefit. Can always clean it up once the cat becomes to crowded (which it - unfortunatly - currently isn't). <code><nowiki>{{Help|Viewer=*|BugFixes=*}}</nowiki></code> would register it to both. So I'll leave the choice to you :-)<br />
:Neat article btw!<br />
:[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 22:41, 9 March 2009 (UTC)<br />
<br />
== SL CERT Template ==<br />
<br />
Many thanks Rand! [[User:Sitearm Madonna|Sitearm Madonna]]<br />
<br />
== User Group Edit Restriction? ==<br />
<br />
Hi Rand! Yesterday and today I've had two people tell me they couldn't edit SL Public Wiki pages - said they got a "don't belong to the group of users needed to edit the page". Yesterday 22-Apr-09 was Kwame Oh trying to edit [[Community Gateway Public Relations Links]]. Today 23-Apr-09 is Ppmediadev Blinker trying to edit the page he started called [[User:Ppmediadev_Blinker/sl_certification]]. I am unable to duplicate the error.<br />
<br />
So before I chase it down I thought I'd ask, is there now a user group edit restriction?<br />
<br />
Thanks! :) [[User:Sitearm Madonna|Sitearm Madonna]] 14:17, 23 April 2009 (UTC)<br />
<br />
:AFAIK, there are no such restrictions on this wiki. In fact, I don't even know that Mediawiki supports group restrictions. So, basically, I have no idea. My best guess is it's some kind of error with our wiki hosting site. If you find out anything of interest, please let me know.<br />
<br />
:--[[User:Rand Linden|Rand Linden]] 17:35, 23 April 2009 (UTC)<br />
<br />
::They were probably upset by the loss of authentication error message that crops up (when the server twin that created the edit page is not the server that receives the edit page); the solution is to click the save button again. I find the bug useful, it allows me a last chance to make more edits. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 22:44, 23 April 2009 (UTC)<br />
<br />
::What Strife said. Just an add that it would generally be possible to restrict stuff for certain usergroups. See [[Special:ListGroupRights]] (additional groups can be added, existing groups can be modified). Tho it's not restricted in this wiki here. --[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 23:22, 23 April 2009 (UTC)<br />
<br />
::Grazie zum Alles! [[User:Sitearm Madonna|Sitearm Madonna]] 23:46, 23 April 2009 (UTC)<br />
<br />
== Re: [[Talk:Pyogp#PyOGP docs]] ==<br />
<br />
Hey there! =)<br><br />
*@name change Pyogp → PyOGP: yes, please.<br />
*@sentences vs. subpages: Subpages would have the benefit of the {{Jira|WEB-971|default breadcrumb}} feature, once [[User:Rob Linden|Rob]] implements it (guess that will be the next time when he follows-up on the issue, since it's basically ready). Though that would be superfluous with [[Template:PyOGP/navigation|your navbox]].<br />
*@[[:Category:Pyogp Kitchen Sink]]: no preferences.<br />
Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 01:29, 29 April 2009 (UTC)<br />
<br />
:Hey, Zai! Thanks for your feedback, as always! As far as the default breadcrumbs, I think we should definitely implement that, because it's so easy. I'll talk to Rob about reassigning the Jira to me. <br />
<br />
:That being said, I think it makes sense to have some guidelines about when its appropriate to use slashes in a title, and when it isn't. For user pages, chat log transcript pages, code/API docs, and other intrinsically hierarchical reference type docs, I think they're fine. <br />
<br />
:But my feeling is that in general, for readability, titles should be English words and phrases. Then add breadcrumbs the "old fashioned way." That's just my preference based on usability and experience. And I admit, I do like the little nav boxes, because I also find they add usability. Breadcrumbs are good, too, however I realize there are shortcomings of the "basic" Breadcrumbs2 extension.<br />
:--[[User:Rand Linden|Rand Linden]] 07:07, 29 April 2009 (UTC)<br />
<br />
::Welcome and thx for beeing so responsive :-)<br />
::I think the reason why I sometimes prefer subpages over sentences is, that the sentences tend to become wordier than neccessary (making it harder to reach the connected pages), while the folderlike structure of the subpages makes the editors distill the essence out of the headline. The wikipedia had a similar discussion once and the end was, that they're skipping the subpage style in the main namespace in favour of sentences ([http://en.wikipedia.org/wiki/Wikipedia:Subpages#History_of_subpages Wikipedia:Subpages#History of subpages]). Reading their reasoning and yours, I can agree that they both make sense and that guidelines would be a good idea to deal with the issue. Though I wouldn't dismiss the subpages in main namespace completely, like Wikipedia did. It pays off in some maintenance stuff and gives fast access to breadcrumbs (without the need of a sysop), while it would otherwise make the [[Mediawiki:Breadcrumbs]] page unnessecarry long. Should bring it up @[[Project:Editing Discussion]].<br />
::Yeah, the breadcrumbs are more the "where did I come from"-part, while the navbox provides a "where can I go to", so the navbox is a neat tool.<br />
::--[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 11:10, 29 April 2009 (UTC)<br />
<br />
== Talkpages ==<br />
<br />
I was just experimenting with MediaWiki features at a wiki were I got sysop rights. I stumbled upon a features used by the Wikipedia and many other wikis. It's possible to display a default message when people edit a talkpage. I'd think it would be neat if you could place <nowiki>{{talk}}</nowiki> at [[MediaWiki:Talkpagetext]] as only content (see [http://www.mediawiki.org/wiki/Manual:Interface/Talkpagetext Manual:Interface/Talkpagetext]). It's more effective than placing the template at pages where guidelines aren't followed. [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 16:59, 29 April 2009 (UTC)<br />
:Figured that {{Jira|WEB-1071}} is the more official way to request this. Sorry for the spam :-) [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 17:49, 29 April 2009 (UTC)<br />
<br />
== [[Template:DefaultBreadcrumb]] update ==<br />
<br />
Hi Rand!<br><br />
Wanted to give you an update on the breadcrumb code. I figured, that they way it treated talkpages was unsatisfying. It's now treating them as if they were subpages of the associated articlepage (it's deployed on this wiki so you can see the result on top of this talkpage, e.g.). The updated code for the LL wiki would look like <br />
<div id="box"><code><nowiki>{{#vardefine:bcname|{{#titleparts:{{SUBJECTSPACE}}:{{PAGENAME}}}}}}[[Main Page]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|1|-1}}||[[{{#titleparts:{{#var:bcname}}|1|1}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|2|-2}}||[[{{#titleparts:{{#var:bcname}}|2|1}}|{{#titleparts:{{#var:bcname}}|1|2}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|3|-3}}||[[{{#titleparts:{{#var:bcname}}|3|1}}|{{#titleparts:{{#var:bcname}}|1|3}}]] > }}}}}}{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|&nbsp;[[{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >|}} {{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}}</nowiki></code></div><br />
in case you'd like to have it there as well. Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 23:18, 7 May 2009 (UTC)<br />
:Looks cool (haven't really been following the changes too carefully). -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 23:44, 7 May 2009 (UTC)<br />
::Thx (^_^)<br />
::I just hope there's no connection between default breadcrumbs (in general, not this revision in particular) and {{Jira|WEB-1078}}...<br />
::<nowiki>*</nowiki>shivers* --[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 00:26, 8 May 2009 (UTC)<br />
<br />
== Inclusion vs. Redirect ==<br />
<br />
Heyas! =)<br><br />
I'm curious why you chose to include [[Statistics Bar]] in [[Statistics Bar Guide]], instead of redirecting it? Additionally: Will you be at the Doc Team office hour tomorrow?<br>Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 19:12, 26 May 2009 (UTC)<br />
<br />
:Hey Zai,<br />
:I did that for some internal work I'm doing related to providing online help in the Viewer from wiki content. (I'm working on a "proof of concept"). If you prefer, I could move it into another page. Really, of course, you are right; there is no good reason to do it the way I did.<br />
<br />
:I will try to drop in to the doc OH tomorrow.<br />
<br />
:--[[User:Rand Linden|Rand Linden]] 20:04, 26 May 2009 (UTC)<br />
<br />
::Hm, I'm not sure if I understood, though I'll bother you at or after the OH with it (^_^) lookin forward to! Seems to become a wiki-all-stars meeting --[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 03:14, 27 May 2009 (UTC)<br />
<br />
== update ==<br />
<br />
Heyas =)<br><br />
I just noticed that we got MW 1.14 now and read through the [http://www.mediawiki.org/wiki/Release_notes/1.14 release notes]. I noticed that there is a possibility to add an "''on-wiki external image whitelist. Items in this whitelist are treated as regular expression fragments to match for when possibly displaying an external image inline.''"<br><br />
It might be a good idea to delete [[:File:Ll_color_vert_100.gif]] and embedd it from an external source? For copyright of the image itself.<br><br />
On a selfish note: Can you set ''$wgEdititis = true''? It would add edit counts to [[Special:ListUsers]].<br><br />
Greetz, --[[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 11:10, 24 June 2009 (UTC)<br />
<br />
:Could you add jira.secondlife.com to the whitelist, this way we can use the icons from jira without having to upload them to the wiki. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 11:51, 24 June 2009 (UTC)<br />
<br />
::Hey guys, So sorry for the long delay, but I just noticed this request. This isn't something I can do, because it requires shell access. So, you'll need to enter a Jira, and then Yoz, Rob, or someone at Cascadeo will handle it.<br />
<br />
::Thanks, --[[User:Rand Linden|Rand Linden]] 16:20, 15 July 2009 (UTC)<br />
<br />
== Spell check in isle [[MediaWiki:Revreview-completeness-5]] needed ==<br />
<br />
One too many "p"'s on [[MediaWiki:Revreview-completeness-5]] -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 11:44, 24 June 2009 (UTC)<br />
<br />
== Copyright ==<br />
<br />
The copyright notice on the wiki hasn't been updated yet this year:<br />
"[[MediaWiki:Copyright|{{MediaWiki:Copyright}}]]"<br><br />
(please sign your comments, it's annoying to have to check the change log; oh and please create a new section if you leave a comment on a talk page, it's disruptive to the last conversation otherwise). -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 01:23, 26 June 2009 (UTC)<br />
<br />
== Follow up on [[User_talk:Zai_Lynch#Vimeo_widget_problems|widget problem]] ==<br />
<br />
Hi Rand!<br><br />
I had some more thoughts on the [[User_talk:Zai_Lynch#Vimeo_widget_problems|widget problem]] and came up with {{JIRA|WEB-1189}} and {{JIRA|WEB-1190}}. Maybe you can have a look at them. :-)<br><br />
Greetz, [[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 14:56, 27 June 2009 (UTC)<br />
<br />
== Media ==<br />
<br />
Hi Rand! :-)<br><br />
Wondering: is [[:Category:LLMedia]] the same as [[:Category:Media]]? --[[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 20:37, 17 August 2009 (UTC)<br />
:Hey Zai, Yes, good catch. I prefer just "Media" as it's a real English word :-) Also, all the articles in [[:Category:LLMedia]] are old and deprecated. I'm going to move them into [[:Category:Media]], and mark them as such. Thanks again<br />
: --[[User:Rand Linden|Rand Linden]] 21:52, 17 August 2009 (UTC)<br />
::Ah, I see :-) Welcome! (Btw, there [[Talk:Media_Rendering_Plugin_Framework|seems to be something wrong with the Linux download link]]) --[[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 07:11, 18 August 2009 (UTC)<br />
<br />
== [[Media Rendering Plugin Framework]] ==<br />
<br />
Hi Rand, any chance of getting this unprotected since it seems no more dangerous to edit than the page documenting [[Downloads]] for example? If that's not possible can you please add <nowiki>{{Help|Viewer}}</nowiki> to the top since that appears to be a help page and I think viewer is the correct categorization. Thanks. [[User:Gordon_Wendt|<font color="green">''GW''</font>]] <sup><small>([[User talk:Gordon_Wendt|<Font color="red">T</font>]]|[[Special:Contributions/Gordon Wendt|<font color="blue">C</font>]])</small></sup> -- 06:44, 22 August 2009 (UTC)<br />
<br />
: Hey Gordon,<br />
:I protectedt this at the request of the Media API project manager. He's out of town atm, but when he returns, I'll suggest we unprotect it, as I agree with your assessment. Meantime, I added the Help|Viewer template to it as you suggested. Thanks.<br />
: --[[User:Rand Linden|Rand Linden]] 18:42, 24 August 2009 (UTC)<br />
<br />
== Monobook ==<br />
<br />
Hey Rand :-)<br><br />
Telling from your edits, you might want to vote on {{JIRA|WEB-1187}}. :-) <br><br />
--[[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 22:49, 19 October 2009 (UTC)<br />
<br />
:Thanks, Zai; I will. But we can still use User:<username>/Common.css, right? Or does that even work?<br />
<br />
::--[[User:Rand Linden|Rand Linden]] 22:52, 19 October 2009 (UTC)<br />
:::I ''think'' all user customizable css and js is off, including Common.css... --[[File:Zai_signature.png|45px|link=User:Zai Lynch]] <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 22:59, 19 October 2009 (UTC)<br />
<br />
== [[Template:Gloss]] ==<br />
<br />
[[Template:Gloss]] needs to be fixed. Any article that includes it gets included in the [[:Category: Viewer Help Templates]]. <nowiki><noinclude> and <includeonly></nowiki> tags are needed. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 16:16, 5 March 2010 (UTC)<br />
<br />
:Thanks for catching, Strife! I have corrected this oversight.<br />
:--[[User:Rand Linden|Rand Linden]] 18:24, 5 March 2010 (UTC)<br />
<br />
== [[llEmail]] & [[email]] ==<br />
<br />
Hiya Rand. Hoping you can answer this since you seem to know a thing or two about ''the system''. I'm trying to nail down the character limits for llEmail and email. I don't suppose you know what they are or can find out? It would save a lot of guesswork to have a record of the true limits. I can carry on testing if need be. Verified figures direct from LL would be preferable though. -- '''[[User:Fred_Gandt|Fred Gandt]]''' <sup><small>([[User talk:Fred_Gandt|talk]]|[[Special:Contributions/Fred_Gandt|contribs]])</small></sup> 23:44, 21 May 2010 (UTC)<br />
<br />
Thank you for the response (on my talk page). -- '''[[User:Fred_Gandt|Fred Gandt]]''' <sup><small>([[User talk:Fred_Gandt|talk]]|[[Special:Contributions/Fred_Gandt|contribs]])</small></sup> 23:59, 21 May 2010 (UTC)<br />
<br />
:Fred, got this back from a dev: Looks like the article on LlEmail is accurate. The code contains these lines:<br />
<br />
if(send_size >= LL_MAX_KNOWN_GOOD_MAIL_SIZE)<br />
{ <br />
llwarns << "send_mail message has been shown to fail in testing "<br />
<< "when sending messages larger than " << LL_MAX_KNOWN_GOOD_MAIL_SIZE<br />
<< " bytes. The next log about success is potentially a lie." << llendl;<br />
}<br />
<br />
:And LL_MAX_KNOWN_GOOD_MAIL_SIZE is 4096 bytes.<br />
<br />
:So this line in the wiki is accurate: "The 4096 byte size limit includes the subject line and automatically added text. The practical maximum body size is approximately 3600 bytes."<br />
::--[[User:Rand Linden|Rand Linden]] 16:00, 24 May 2010 (UTC)<br />
<br />
Thank you Rand. I have run a few tests that showed without doubt that there was a char count (3745) not bytecount cutoff. I would put that down to bytecount too, if I hadn't tried many different char combinations which would have returned vastly different bytecounts i.e. 3745 ampersands vs. pipes or mixed letters, using single byte spaces etc. I wonder, is it possible that the hard limit of 3745 chars is a side effect of something else...such as conversion of text from UTF_8 to crayon (I don't know much about that stuff)? So, although the internal system measures in bytes, it is unavoidable that a collection of 3745 chars will max out.<br />
:Anyway. Thank you very much for taking (asking around) a look. I would ask that as and when it seems appropriate you could also thank "the dev". -- '''[[User:Fred_Gandt|Fred Gandt]]''' <sup><small>([[User talk:Fred_Gandt|talk]]|[[Special:Contributions/Fred_Gandt|contribs]])</small></sup> 19:03, 24 May 2010 (UTC)<br />
<br />
== XUI Reference ==<br />
<br />
Hey Rand! I just noticed the work you did on the XUI reference to bring it up to date. When 2.0 came out, I thought all the work Admiral Admiral and I did would become obsolete. Thanks.<br />
<br />
[[User:Mm Alder|Mm Alder]] 21:25, 16 August 2010 (UTC)</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504132
Skinning HowTo/XUI Other Widgets
2009-10-04T03:37:00Z
<p>Mm Alder: /* web_browser parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_search_editor" tab_stop="false" title="search_editor"<br />
width="250"><br />
<search_editor bottom="20" enabled="true" height="20" left="20" mouse_opaque="true"<br />
name="search_editor" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_string" tab_stop="false" title="string" width="250"><br />
<string name="string">String</string><br />
</floater><br />
<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_view_border" tab_stop="false" title="view_border" width="250"><br />
<view_border bottom="20" enabled="true" height="20" left="20" mouse_opaque="false"<br />
name="view_border" width="200" bevel_style="out" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="400" left="350" min_height="150" min_width="150" mouse_opaque="true"<br />
name="example_web_browser" tab_stop="false" title="web_browser" width="550"><br />
<web_browser bottom="20" enabled="true" height="350" left="20" mouse_opaque="false"<br />
name="web_browser" tab_stop="true" width="500" start_url="www.secondlife.com" follows="all" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504122
Skinning HowTo/XUI Other Widgets
2009-10-04T03:32:26Z
<p>Mm Alder: /* view_border parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_search_editor" tab_stop="false" title="search_editor"<br />
width="250"><br />
<search_editor bottom="20" enabled="true" height="20" left="20" mouse_opaque="true"<br />
name="search_editor" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_string" tab_stop="false" title="string" width="250"><br />
<string name="string">String</string><br />
</floater><br />
<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_view_border" tab_stop="false" title="view_border" width="250"><br />
<view_border bottom="20" enabled="true" height="20" left="20" mouse_opaque="false"<br />
name="view_border" width="200" bevel_style="out" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504112
Skinning HowTo/XUI Other Widgets
2009-10-04T03:31:20Z
<p>Mm Alder: /* string parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_search_editor" tab_stop="false" title="search_editor"<br />
width="250"><br />
<search_editor bottom="20" enabled="true" height="20" left="20" mouse_opaque="true"<br />
name="search_editor" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_string" tab_stop="false" title="string" width="250"><br />
<string name="string">String</string><br />
</floater><br />
<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504102
Skinning HowTo/XUI Other Widgets
2009-10-04T03:29:36Z
<p>Mm Alder: /* string parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_search_editor" tab_stop="false" title="search_editor"<br />
width="250"><br />
<search_editor bottom="20" enabled="true" height="20" left="20" mouse_opaque="true"<br />
name="search_editor" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="200" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_string" tab_stop="false" title="string" width="250"><br />
<string name="string">String</string><br />
</floater><br />
<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504092
Skinning HowTo/XUI Other Widgets
2009-10-04T03:27:01Z
<p>Mm Alder: /* search_editor parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_search_editor" tab_stop="false" title="search_editor"<br />
width="250"><br />
<search_editor bottom="20" enabled="true" height="20" left="20" mouse_opaque="true"<br />
name="search_editor" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504082
Skinning HowTo/XUI Other Widgets
2009-10-04T03:25:38Z
<p>Mm Alder: /* progress_bar parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_progress_bar" tab_stop="false" title="progress_bar"<br />
width="250"><br />
<progress_bar bottom="20" enabled="true" height="50" left="20" mouse_opaque="false"<br />
name="progress_bar" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504072
Skinning HowTo/XUI Other Widgets
2009-10-04T03:24:13Z
<p>Mm Alder: /* locate and pad parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_locate" tab_stop="false" title="locate" width="250"><br />
<locate bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="locate" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="550" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_pad" tab_stop="false" title="pad" width="250"><br />
<pad bottom="100" enabled="true" left="20" mouse_opaque="false"<br />
name="pad" tab_stop="false" /><br />
<icon color="1 0.5 0 1" enabled="true" height="30"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="210"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504062
Skinning HowTo/XUI Other Widgets
2009-10-04T03:21:41Z
<p>Mm Alder: /* inventory_panel parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="false" can_tear_off="false" enabled="true" follows="left|top"<br />
height="300" left="550" min_height="300" min_width="250" mouse_opaque="true"<br />
name="example_inventory_panel" tab_stop="false" title="inventory_panel"<br />
width="250"><br />
<inventory_panel allow_multi_select="true" border="true" bottom="20" enabled="true" height="250"<br />
left="20" mouse_opaque="true" name="inventory_panel" tab_stop="false"<br />
width="215" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=504052
Skinning HowTo/XUI Other Widgets
2009-10-04T03:20:04Z
<p>Mm Alder: /* icon parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_icon" tab_stop="false" title="icon" width="250"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Text_Entry_Widgets&diff=504042
Skinning HowTo/XUI Text Entry Widgets
2009-10-04T03:17:55Z
<p>Mm Alder: /* text_editor and simple_text_editor parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI text entry widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== line_editor parameters ===<br />
----<br />
<line_editor> creates a single line text box<br />
<br />
*Class LLLineEditor : LLUICtrl : LLView<br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_line_editor" tab_stop="false" title="line_editor" width="250"><br />
<line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="line_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="line_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
* none<br />
* in <br />
* out <br />
* bright <br />
* line <br />
* texture <br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== select_on_focus =====<br />
''Optional.''<br />
===== select_all_focus_received =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== cursor_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== bg_writeable_color =====<br />
''Optional.''<br />
===== bg_focus_color =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== commit_on_focus_lost =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
''Optional.''<br />
===== min_val =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== prevalidate =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== name_editor parameters ===<br />
----<br />
*Class LLNameEditor : LLLineEditor : LLUICtrl : LLView<br />
*In source file newview/llnameditor.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_name_editor" tab_stop="false" title="name_editor" width="250"><br />
<name_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="name_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="name_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== border_style =====<br />
===== border_thickness =====<br />
===== max_length =====<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
===== is_unicode =====<br />
''Optional.''<br />
<br />
=== text parameters ===<br />
----<br />
*Class LLTextBox : LLUICtrl : LLView<br />
*In source file llui/lltextbox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="80" mouse_opaque="true"<br />
name="example_text" tab_stop="false" title="text" width="250"><br />
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"<br />
bottom="20" enabled="true" font="SansSerif" h_pad="0" halign="left"<br />
height="20" left="20" mouse_opaque="false" name="text" tab_stop="false"<br />
v_pad="0" width="235"><br />
Text<br />
</text><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#hover_cursor|hover_cursor]]<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== max_length ===== <br />
''Optional.''<br />
===== hover =====<br />
''Optional.''<br />
===== hover_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== align =====<br />
''Optional.''<br />
===== text_wrap =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== allow_html =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== hide_border =====<br />
''Optional.''<br />
===== hide_scrollbar =====<br />
''Optional.''<br />
===== line_spacing =====<br />
''Optional.''<br />
===== disabled_color =====<br />
''Optional.''<br />
<br />
=== text_editor and simple_text_editor parameters ===<br />
----<br />
Both create a multi-line text box, but text_editor has more functionality<br />
<br />
*Class LLViewerTextEditor : LLTextEditor : LLUICtrl : LLView<br />
*In source file newview/llviewertexteditor.cpp<br />
*Class LLTextEditor : LLUICtrl : LLView<br />
*In source file llui/lltexteditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_text_editor" tab_stop="false" title="text_editor" width="250"><br />
<text_editor type="string" length="1" bottom="20" embedded_items="false"<br />
enabled="true" font="SansSerif" height="100"<br />
hide_scrollbar="false" left="20" max_length="255" mouse_opaque="true"<br />
name="text_editor" tab_stop="true" width="200" word_wrap="false" /><br />
</floater><br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_simple_text_editor" tab_stop="false"<br />
title="simple_text_editor" width="250"><br />
<simple_text_editor type="string" length="1" bottom="20" embedded_items="true"<br />
enabled="true" font="SansSerif" height="100"<br />
hide_scrollbar="false" left="20" max_length="255" mouse_opaque="true"<br />
name="text_editor" tab_stop="true" width="200" word_wrap="false" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional. ''<br />
===== embedded_items =====<br />
''Optional. ''<br />
===== word_wrap =====<br />
''Optional. ''<br />
===== hide_scrollbar =====<br />
''Optional. ''<br />
===== cursor_color =====<br />
''Optional. ''<br />
===== text_color =====<br />
''Optional. ''<br />
===== text_readonly_color =====<br />
''Optional. ''<br />
===== bg_readonly_color =====<br />
''Optional. ''<br />
===== bg_writeable_color =====<br />
''Optional. ''<br />
===== bg_focus_color =====<br />
''Optional. ''<br />
===== max_length =====<br />
''Optional. ''<br />
===== type =====<br />
''Optional. ''<br />
===== bevel_style =====<br />
''Optional. ''<br />
===== border_style =====<br />
''Optional. ''<br />
===== border_thickness =====<br />
''Optional. ''<br />
===== handle_edit_keys_directly =====<br />
''Optional. ''<br />
===== select_all_on_focus_received =====<br />
''Optional. ''<br />
===== select_on_focus =====<br />
''Optional. ''<br />
===== length =====<br />
''Optional. ''<br />
===== track_bottom =====<br />
''Optional. ''<br />
===== ignore_tab =====<br />
''Optional. ''<br />
===== border_drop_shadow_visible =====<br />
''Optional. ''<br />
===== border_visible =====<br />
''Optional. ''<br />
===== show_line_numbers =====<br />
''Optional. ''<br />
===== allow_html =====<br />
''Optional. ''<br />
===== hide_border =====<br />
''Optional. ''<br />
===== tab_stop =====<br />
''Optional. ''<br />
===== is_unicode =====<br />
''Optional. ''<br />
===== bg_visible =====<br />
''Optional. ''<br />
===== drop_shadow_visible =====<br />
''Optional. ''<br />
===== h_pad =====<br />
''Optional. ''<br />
===== v_pad =====<br />
''Optional. ''<br />
===== background_visible =====<br />
''Optional. ''<br />
===== text_wrap =====<br />
''Optional. ''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Text_Entry_Widgets&diff=504032
Skinning HowTo/XUI Text Entry Widgets
2009-10-04T03:13:39Z
<p>Mm Alder: /* text parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI text entry widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== line_editor parameters ===<br />
----<br />
<line_editor> creates a single line text box<br />
<br />
*Class LLLineEditor : LLUICtrl : LLView<br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_line_editor" tab_stop="false" title="line_editor" width="250"><br />
<line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="line_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="line_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
* none<br />
* in <br />
* out <br />
* bright <br />
* line <br />
* texture <br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== select_on_focus =====<br />
''Optional.''<br />
===== select_all_focus_received =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== cursor_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== bg_writeable_color =====<br />
''Optional.''<br />
===== bg_focus_color =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== commit_on_focus_lost =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
''Optional.''<br />
===== min_val =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== prevalidate =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== name_editor parameters ===<br />
----<br />
*Class LLNameEditor : LLLineEditor : LLUICtrl : LLView<br />
*In source file newview/llnameditor.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_name_editor" tab_stop="false" title="name_editor" width="250"><br />
<name_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="name_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="name_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== border_style =====<br />
===== border_thickness =====<br />
===== max_length =====<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
===== is_unicode =====<br />
''Optional.''<br />
<br />
=== text parameters ===<br />
----<br />
*Class LLTextBox : LLUICtrl : LLView<br />
*In source file llui/lltextbox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="80" mouse_opaque="true"<br />
name="example_text" tab_stop="false" title="text" width="250"><br />
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"<br />
bottom="20" enabled="true" font="SansSerif" h_pad="0" halign="left"<br />
height="20" left="20" mouse_opaque="false" name="text" tab_stop="false"<br />
v_pad="0" width="235"><br />
Text<br />
</text><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#hover_cursor|hover_cursor]]<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== max_length ===== <br />
''Optional.''<br />
===== hover =====<br />
''Optional.''<br />
===== hover_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== align =====<br />
''Optional.''<br />
===== text_wrap =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== allow_html =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== hide_border =====<br />
''Optional.''<br />
===== hide_scrollbar =====<br />
''Optional.''<br />
===== line_spacing =====<br />
''Optional.''<br />
===== disabled_color =====<br />
''Optional.''<br />
<br />
=== text_editor and simple_text_editor parameters ===<br />
----<br />
Both create a multi-line text box, but text_editor has more functionality<br />
<br />
*Class LLViewerTextEditor : LLTextEditor : LLUICtrl : LLView<br />
*In source file newview/llviewertexteditor.cpp<br />
*Class LLTextEditor : LLUICtrl : LLView<br />
*In source file llui/lltexteditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional. ''<br />
===== embedded_items =====<br />
''Optional. ''<br />
===== word_wrap =====<br />
''Optional. ''<br />
===== hide_scrollbar =====<br />
''Optional. ''<br />
===== cursor_color =====<br />
''Optional. ''<br />
===== text_color =====<br />
''Optional. ''<br />
===== text_readonly_color =====<br />
''Optional. ''<br />
===== bg_readonly_color =====<br />
''Optional. ''<br />
===== bg_writeable_color =====<br />
''Optional. ''<br />
===== bg_focus_color =====<br />
''Optional. ''<br />
===== max_length =====<br />
''Optional. ''<br />
===== type =====<br />
''Optional. ''<br />
===== bevel_style =====<br />
''Optional. ''<br />
===== border_style =====<br />
''Optional. ''<br />
===== border_thickness =====<br />
''Optional. ''<br />
===== handle_edit_keys_directly =====<br />
''Optional. ''<br />
===== select_all_on_focus_received =====<br />
''Optional. ''<br />
===== select_on_focus =====<br />
''Optional. ''<br />
===== length =====<br />
''Optional. ''<br />
===== track_bottom =====<br />
''Optional. ''<br />
===== ignore_tab =====<br />
''Optional. ''<br />
===== border_drop_shadow_visible =====<br />
''Optional. ''<br />
===== border_visible =====<br />
''Optional. ''<br />
===== show_line_numbers =====<br />
''Optional. ''<br />
===== allow_html =====<br />
''Optional. ''<br />
===== hide_border =====<br />
''Optional. ''<br />
===== tab_stop =====<br />
''Optional. ''<br />
===== is_unicode =====<br />
''Optional. ''<br />
===== bg_visible =====<br />
''Optional. ''<br />
===== drop_shadow_visible =====<br />
''Optional. ''<br />
===== h_pad =====<br />
''Optional. ''<br />
===== v_pad =====<br />
''Optional. ''<br />
===== background_visible =====<br />
''Optional. ''<br />
===== text_wrap =====<br />
''Optional. ''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Text_Entry_Widgets&diff=504022
Skinning HowTo/XUI Text Entry Widgets
2009-10-04T03:10:38Z
<p>Mm Alder: /* name_editor parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI text entry widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== line_editor parameters ===<br />
----<br />
<line_editor> creates a single line text box<br />
<br />
*Class LLLineEditor : LLUICtrl : LLView<br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_line_editor" tab_stop="false" title="line_editor" width="250"><br />
<line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="line_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="line_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
* none<br />
* in <br />
* out <br />
* bright <br />
* line <br />
* texture <br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== select_on_focus =====<br />
''Optional.''<br />
===== select_all_focus_received =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== cursor_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== bg_writeable_color =====<br />
''Optional.''<br />
===== bg_focus_color =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== commit_on_focus_lost =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
''Optional.''<br />
===== min_val =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== prevalidate =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== name_editor parameters ===<br />
----<br />
*Class LLNameEditor : LLLineEditor : LLUICtrl : LLView<br />
*In source file newview/llnameditor.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_name_editor" tab_stop="false" title="name_editor" width="250"><br />
<name_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="name_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="name_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== border_style =====<br />
===== border_thickness =====<br />
===== max_length =====<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
===== is_unicode =====<br />
''Optional.''<br />
<br />
=== text parameters ===<br />
----<br />
*Class LLTextBox : LLUICtrl : LLView<br />
*In source file llui/lltextbox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#hover_cursor|hover_cursor]]<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== max_length ===== <br />
''Optional.''<br />
===== hover =====<br />
''Optional.''<br />
===== hover_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== align =====<br />
''Optional.''<br />
===== text_wrap =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== allow_html =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== hide_border =====<br />
''Optional.''<br />
===== hide_scrollbar =====<br />
''Optional.''<br />
===== line_spacing =====<br />
''Optional.''<br />
===== disabled_color =====<br />
''Optional.''<br />
<br />
=== text_editor and simple_text_editor parameters ===<br />
----<br />
Both create a multi-line text box, but text_editor has more functionality<br />
<br />
*Class LLViewerTextEditor : LLTextEditor : LLUICtrl : LLView<br />
*In source file newview/llviewertexteditor.cpp<br />
*Class LLTextEditor : LLUICtrl : LLView<br />
*In source file llui/lltexteditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional. ''<br />
===== embedded_items =====<br />
''Optional. ''<br />
===== word_wrap =====<br />
''Optional. ''<br />
===== hide_scrollbar =====<br />
''Optional. ''<br />
===== cursor_color =====<br />
''Optional. ''<br />
===== text_color =====<br />
''Optional. ''<br />
===== text_readonly_color =====<br />
''Optional. ''<br />
===== bg_readonly_color =====<br />
''Optional. ''<br />
===== bg_writeable_color =====<br />
''Optional. ''<br />
===== bg_focus_color =====<br />
''Optional. ''<br />
===== max_length =====<br />
''Optional. ''<br />
===== type =====<br />
''Optional. ''<br />
===== bevel_style =====<br />
''Optional. ''<br />
===== border_style =====<br />
''Optional. ''<br />
===== border_thickness =====<br />
''Optional. ''<br />
===== handle_edit_keys_directly =====<br />
''Optional. ''<br />
===== select_all_on_focus_received =====<br />
''Optional. ''<br />
===== select_on_focus =====<br />
''Optional. ''<br />
===== length =====<br />
''Optional. ''<br />
===== track_bottom =====<br />
''Optional. ''<br />
===== ignore_tab =====<br />
''Optional. ''<br />
===== border_drop_shadow_visible =====<br />
''Optional. ''<br />
===== border_visible =====<br />
''Optional. ''<br />
===== show_line_numbers =====<br />
''Optional. ''<br />
===== allow_html =====<br />
''Optional. ''<br />
===== hide_border =====<br />
''Optional. ''<br />
===== tab_stop =====<br />
''Optional. ''<br />
===== is_unicode =====<br />
''Optional. ''<br />
===== bg_visible =====<br />
''Optional. ''<br />
===== drop_shadow_visible =====<br />
''Optional. ''<br />
===== h_pad =====<br />
''Optional. ''<br />
===== v_pad =====<br />
''Optional. ''<br />
===== background_visible =====<br />
''Optional. ''<br />
===== text_wrap =====<br />
''Optional. ''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Text_Entry_Widgets&diff=504012
Skinning HowTo/XUI Text Entry Widgets
2009-10-04T03:08:49Z
<p>Mm Alder: /* line_editor parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI text entry widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== line_editor parameters ===<br />
----<br />
<line_editor> creates a single line text box<br />
<br />
*Class LLLineEditor : LLUICtrl : LLView<br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_line_editor" tab_stop="false" title="line_editor" width="250"><br />
<line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="20"<br />
enabled="true" font="SansSerif" handle_edit_keys_directly="false"<br />
height="20" label="line_editor label" left="20" max_length="128"<br />
mouse_opaque="true" name="line_editor" select_all_on_focus_received="false"<br />
select_on_focus="false" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
* none<br />
* in <br />
* out <br />
* bright <br />
* line <br />
* texture <br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== select_on_focus =====<br />
''Optional.''<br />
===== select_all_focus_received =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== cursor_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== bg_writeable_color =====<br />
''Optional.''<br />
===== bg_focus_color =====<br />
''Optional.''<br />
===== handle_edit_keys_directly =====<br />
''Optional.''<br />
===== commit_on_focus_lost =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
''Optional.''<br />
===== min_val =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== prevalidate =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== name_editor parameters ===<br />
----<br />
*Class LLNameEditor : LLLineEditor : LLUICtrl : LLView<br />
*In source file newview/llnameditor.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== border_style =====<br />
===== border_thickness =====<br />
===== max_length =====<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
===== is_unicode =====<br />
''Optional.''<br />
<br />
=== text parameters ===<br />
----<br />
*Class LLTextBox : LLUICtrl : LLView<br />
*In source file llui/lltextbox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#hover_cursor|hover_cursor]]<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== is_unicode =====<br />
''Optional.''<br />
===== max_length ===== <br />
''Optional.''<br />
===== hover =====<br />
''Optional.''<br />
===== hover_color =====<br />
''Optional.''<br />
===== text_color =====<br />
''Optional.''<br />
===== align =====<br />
''Optional.''<br />
===== text_wrap =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== allow_html =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== hide_border =====<br />
''Optional.''<br />
===== hide_scrollbar =====<br />
''Optional.''<br />
===== line_spacing =====<br />
''Optional.''<br />
===== disabled_color =====<br />
''Optional.''<br />
<br />
=== text_editor and simple_text_editor parameters ===<br />
----<br />
Both create a multi-line text box, but text_editor has more functionality<br />
<br />
*Class LLViewerTextEditor : LLTextEditor : LLUICtrl : LLView<br />
*In source file newview/llviewertexteditor.cpp<br />
*Class LLTextEditor : LLUICtrl : LLView<br />
*In source file llui/lltexteditor.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== max_length =====<br />
''Optional. ''<br />
===== embedded_items =====<br />
''Optional. ''<br />
===== word_wrap =====<br />
''Optional. ''<br />
===== hide_scrollbar =====<br />
''Optional. ''<br />
===== cursor_color =====<br />
''Optional. ''<br />
===== text_color =====<br />
''Optional. ''<br />
===== text_readonly_color =====<br />
''Optional. ''<br />
===== bg_readonly_color =====<br />
''Optional. ''<br />
===== bg_writeable_color =====<br />
''Optional. ''<br />
===== bg_focus_color =====<br />
''Optional. ''<br />
===== max_length =====<br />
''Optional. ''<br />
===== type =====<br />
''Optional. ''<br />
===== bevel_style =====<br />
''Optional. ''<br />
===== border_style =====<br />
''Optional. ''<br />
===== border_thickness =====<br />
''Optional. ''<br />
===== handle_edit_keys_directly =====<br />
''Optional. ''<br />
===== select_all_on_focus_received =====<br />
''Optional. ''<br />
===== select_on_focus =====<br />
''Optional. ''<br />
===== length =====<br />
''Optional. ''<br />
===== track_bottom =====<br />
''Optional. ''<br />
===== ignore_tab =====<br />
''Optional. ''<br />
===== border_drop_shadow_visible =====<br />
''Optional. ''<br />
===== border_visible =====<br />
''Optional. ''<br />
===== show_line_numbers =====<br />
''Optional. ''<br />
===== allow_html =====<br />
''Optional. ''<br />
===== hide_border =====<br />
''Optional. ''<br />
===== tab_stop =====<br />
''Optional. ''<br />
===== is_unicode =====<br />
''Optional. ''<br />
===== bg_visible =====<br />
''Optional. ''<br />
===== drop_shadow_visible =====<br />
''Optional. ''<br />
===== h_pad =====<br />
''Optional. ''<br />
===== v_pad =====<br />
''Optional. ''<br />
===== background_visible =====<br />
''Optional. ''<br />
===== text_wrap =====<br />
''Optional. ''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=504002
Skinning HowTo/XUI Selection Widgets
2009-10-04T03:06:35Z
<p>Mm Alder: /* texture_picker parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_combo_box" tab_stop="false" title="combo_box" width="250"><br />
<combo_box allow_text_entry="false" bottom="20" enabled="true" follows="left|bottom"<br />
height="20" left="20" max_chars="20" mouse_opaque="true" name="combo_box"<br />
tab_stop="true" width="200"><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 1">Item 1</combo_item><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 2">Item 2</combo_item><br />
</combo_box><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_name_list" tab_stop="false" title="name_list" width="250"><br />
<name_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="name_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</name_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_radio_group" tab_stop="false" title="radio_group" width="250"><br />
<radio_group bottom="20" draw_border="true" enabled="true" follows="left|bottom"<br />
height="100" left="20" mouse_opaque="true" name="radio_group"<br />
tab_stop="true" width="200"><br />
<radio_item type="string" length="1" bottom="10" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 1" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 1<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="40" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 2" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 2<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="70" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 3" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 3<br />
</radio_item><br />
</radio_group><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_scroll_list" tab_stop="false" title="scroll_list" width="250"><br />
<scroll_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="scroll_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</scroll_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="200" min_width="200" mouse_opaque="true"<br />
name="example_texture_picker" tab_stop="false" title="texture_picker"<br />
width="250"><br />
<texture_picker allow_no_texture="false" bottom="20" can_apply_immediately="false"<br />
default_image_name="Default" enabled="true" height="130"<br />
label="texture_picker label" left="20" mouse_opaque="true"<br />
name="texture_picker" tab_stop="true" width="130" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503992
Skinning HowTo/XUI Selection Widgets
2009-10-04T03:04:21Z
<p>Mm Alder: /* scroll_list parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_combo_box" tab_stop="false" title="combo_box" width="250"><br />
<combo_box allow_text_entry="false" bottom="20" enabled="true" follows="left|bottom"<br />
height="20" left="20" max_chars="20" mouse_opaque="true" name="combo_box"<br />
tab_stop="true" width="200"><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 1">Item 1</combo_item><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 2">Item 2</combo_item><br />
</combo_box><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_name_list" tab_stop="false" title="name_list" width="250"><br />
<name_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="name_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</name_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_radio_group" tab_stop="false" title="radio_group" width="250"><br />
<radio_group bottom="20" draw_border="true" enabled="true" follows="left|bottom"<br />
height="100" left="20" mouse_opaque="true" name="radio_group"<br />
tab_stop="true" width="200"><br />
<radio_item type="string" length="1" bottom="10" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 1" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 1<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="40" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 2" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 2<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="70" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 3" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 3<br />
</radio_item><br />
</radio_group><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_scroll_list" tab_stop="false" title="scroll_list" width="250"><br />
<scroll_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="scroll_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</scroll_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503982
Skinning HowTo/XUI Selection Widgets
2009-10-04T03:02:31Z
<p>Mm Alder: /* radio_group parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_combo_box" tab_stop="false" title="combo_box" width="250"><br />
<combo_box allow_text_entry="false" bottom="20" enabled="true" follows="left|bottom"<br />
height="20" left="20" max_chars="20" mouse_opaque="true" name="combo_box"<br />
tab_stop="true" width="200"><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 1">Item 1</combo_item><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 2">Item 2</combo_item><br />
</combo_box><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_name_list" tab_stop="false" title="name_list" width="250"><br />
<name_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="name_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</name_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_radio_group" tab_stop="false" title="radio_group" width="250"><br />
<radio_group bottom="20" draw_border="true" enabled="true" follows="left|bottom"<br />
height="100" left="20" mouse_opaque="true" name="radio_group"<br />
tab_stop="true" width="200"><br />
<radio_item type="string" length="1" bottom="10" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 1" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 1<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="40" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 2" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 2<br />
</radio_item><br />
<radio_item type="string" length="1" bottom="70" enabled="true" font="SansSerif" height="20"<br />
initial_value="false" label="radio_item label 3" left="20" mouse_opaque="true" name="radio"<br />
radio_style="true" tab_stop="false" width="200"><br />
radio_item 3<br />
</radio_item><br />
</radio_group><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503972
Skinning HowTo/XUI Selection Widgets
2009-10-04T03:00:28Z
<p>Mm Alder: /* name_list parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_combo_box" tab_stop="false" title="combo_box" width="250"><br />
<combo_box allow_text_entry="false" bottom="20" enabled="true" follows="left|bottom"<br />
height="20" left="20" max_chars="20" mouse_opaque="true" name="combo_box"<br />
tab_stop="true" width="200"><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 1">Item 1</combo_item><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 2">Item 2</combo_item><br />
</combo_box><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="160" left="550" min_height="160" min_width="250" mouse_opaque="true"<br />
name="example_name_list" tab_stop="false" title="name_list" width="250"><br />
<name_list allow_calling_card_drop="false" background_visible="true" bottom="20"<br />
column_padding="5" draw_border="true" draw_heading="true"<br />
draw_stripes="true" enabled="true" follows="left|top" height="100"<br />
left="20" mouse_opaque="true" multi_select="false" name="name_list"<br />
tab_stop="true" width="210"><br />
<column label="column label 1" name="column 1" width="100" /><br />
<column label="column label 2" name="column 2" width="100" /><br />
</name_list><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503962
Skinning HowTo/XUI Selection Widgets
2009-10-04T02:58:18Z
<p>Mm Alder: /* combo_box parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_combo_box" tab_stop="false" title="combo_box" width="250"><br />
<combo_box allow_text_entry="false" bottom="20" enabled="true" follows="left|bottom"<br />
height="20" left="20" max_chars="20" mouse_opaque="true" name="combo_box"<br />
tab_stop="true" width="200"><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 1">Item 1</combo_item><br />
<combo_item type="string" length="1" enabled="true" value="combo_item 2">Item 2</combo_item><br />
</combo_box><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503952
Skinning HowTo/XUI Selection Widgets
2009-10-04T02:56:25Z
<p>Mm Alder: /* color_swatch parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="559" min_height="100" min_width="200" mouse_opaque="true"<br />
name="example_color_swatch" tab_stop="false" title="color_swatch" width="200"><br />
<color_swatch border_color="0.5 0.5 0.5 1" bottom="-74"<br />
can_apply_immediately="true" color="1 0 0 1" enabled="true" height="50"<br />
label="color_swatch label" left="10" mouse_opaque="true" name="colorswatch" tab_stop="true"<br />
width="150" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=503942
Skinning HowTo/XUI Selection Widgets
2009-10-04T02:53:25Z
<p>Mm Alder: /* check_box parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="70" left="582" min_height="70" min_width="150" mouse_opaque="true"<br />
name="example_check_box" tab_stop="false" title="check_box" width="150"><br />
<check_box bottom="-52" enabled="true" follows="left|bottom" font="SansSerif" height="10"<br />
initial_value="false" label="check_box label" left="15" mouse_opaque="true"<br />
name="checkbox" radio_style="false" tab_stop="true" width="455" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=503883
Skinning HowTo/XUI Containers
2009-10-03T21:23:26Z
<p>Mm Alder: /* tab_container parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_floater" tab_stop="false" title="floater" width="250"><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="621" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_layout_stack" tab_stop="false" title="layout_stack"<br />
width="250"><br />
<layout_stack bottom="10" enabled="true" height="50" left="0" mouse_opaque="true"<br />
name="stack" orientation="horizontal" width="235" ><br />
<layout_panel name="panel1" min_height="10" height="200" width="640"/><br />
<layout_panel name="panel2" min_height="10" height="200" width="640"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</layout_panel><br />
</layout_stack><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="200" min_width="250" mouse_opaque="true"<br />
name="example_scroll_container" tab_stop="false" title="scroll_container"<br />
width="250"><br />
<scroll_container bottom="20" enabled="true" height="150" left="20" mouse_opaque="false"<br />
name="scroll_container" opaque="false" tab_stop="false" width="200"><br />
<panel bottom="149" enabled="true" height="700" left="1" mouse_opaque="true"<br />
name="panel" tab_stop="false" width="200"><br />
</panel><br />
</scroll_container><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="600" min_height="150" min_width="200" mouse_opaque="true"<br />
name="example_tab_container"<br />
tab_stop="false" title="tab_container" width="200"><br />
<tab_container bottom="-80" enabled="true" follows="left|top" height="20" left="20"<br />
mouse_opaque="false" name="tab_container" tab_position="top"<br />
tab_stop="false" width="150"><br />
<panel border="true" bottom="-19" enabled="true" follows="left|top|right|bottom"<br />
height="3" label="panel" left="1" mouse_opaque="false" name="panel"<br />
tab_stop="false" width="148" /><br />
</tab_container><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=503873
Skinning HowTo/XUI Containers
2009-10-03T21:21:00Z
<p>Mm Alder: /* scroll_container parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_floater" tab_stop="false" title="floater" width="250"><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="621" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_layout_stack" tab_stop="false" title="layout_stack"<br />
width="250"><br />
<layout_stack bottom="10" enabled="true" height="50" left="0" mouse_opaque="true"<br />
name="stack" orientation="horizontal" width="235" ><br />
<layout_panel name="panel1" min_height="10" height="200" width="640"/><br />
<layout_panel name="panel2" min_height="10" height="200" width="640"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</layout_panel><br />
</layout_stack><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="200" min_width="250" mouse_opaque="true"<br />
name="example_scroll_container" tab_stop="false" title="scroll_container"<br />
width="250"><br />
<scroll_container bottom="20" enabled="true" height="150" left="20" mouse_opaque="false"<br />
name="scroll_container" opaque="false" tab_stop="false" width="200"><br />
<panel bottom="149" enabled="true" height="700" left="1" mouse_opaque="true"<br />
name="panel" tab_stop="false" width="200"><br />
</panel><br />
</scroll_container><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=503863
Skinning HowTo/XUI Containers
2009-10-03T21:18:27Z
<p>Mm Alder: /* layout_stack parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_floater" tab_stop="false" title="floater" width="250"><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="621" min_height="100" min_width="250" mouse_opaque="true"<br />
name="example_layout_stack" tab_stop="false" title="layout_stack"<br />
width="250"><br />
<layout_stack bottom="10" enabled="true" height="50" left="0" mouse_opaque="true"<br />
name="stack" orientation="horizontal" width="235" ><br />
<layout_panel name="panel1" min_height="10" height="200" width="640"/><br />
<layout_panel name="panel2" min_height="10" height="200" width="640"><br />
<icon bottom="20" color="1 0.5 0 1" enabled="true" height="30" left="10"<br />
mouse_opaque="false" name="icon" tab_stop="false" width="223"<br />
image_name="icon_day_cycle.tga" /><br />
</layout_panel><br />
</layout_stack><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=503853
Skinning HowTo/XUI Containers
2009-10-03T21:14:57Z
<p>Mm Alder: </p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_floater" tab_stop="false" title="floater" width="250"><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=503843
Skinning HowTo/XUI Containers
2009-10-03T21:12:09Z
<p>Mm Alder: /* floater parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="200" left="550" min_height="50" min_width="50" mouse_opaque="true"<br />
name="example_floater" tab_stop="false" title="floater" width="250"><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Menus&diff=503833
Skinning HowTo/XUI Menus
2009-10-03T21:07:46Z
<p>Mm Alder: </p>
<hr />
<div>This page describes the XML attributes for the XUI menus. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== Example ===<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="150" left="643" min_height="150" min_width="250" mouse_opaque="true"<br />
name="example_menu" tab_stop="false" title="menu" width="250"><br />
<menu_bar bottom="-50" drop_shadow="true" enabled="true" follows="left|top" height="30"<br />
left="20" mouse_opaque="false" name="menu_bar" opaque="false"<br />
tear_off="false" width="200"><br />
<menu drop_shadow="false" enabled="true" mouse_opaque="false"<br />
name="menu" label="menu label" opaque="false" tear_off="true"><br />
<menu_item_call enabled="true" label="menu_item_call label" mouse_opaque="true"<br />
name="menu_item_call" /><br />
<menu_item_separator enabled="true" label="menu_item_separator label"<br />
mouse_opaque="true" name="menu_item_separator" /><br />
<tearoff_menu label="tearoff_menu label" /><br />
<menu_item_check enabled="true" label="menu_item_check label" mouse_opaque="true"<br />
name="menu_item_check" /><br />
</menu><br />
</menu_bar><br />
</floater><br />
<br />
=== menu_bar parameters ===<br />
----<br />
*Used by floater and panel.<br />
*Can contain menu.<br />
*Class LLMenuBarGL<br />
*In source file llui/llmenugl.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== drop_shadow =====<br />
===== opaque =====<br />
===== tear_off =====<br />
''Optional.''<br />
<br />
=== menu parameters ===<br />
----<br />
*Used by menu_bar and recursively by other menus.<br />
*Can contain menu, menu_item_call, menu_item_check, menu_item_separator, and tearoff_menu.<br />
*Class LLMenuGL<br />
*In source file llui/llmenugl.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== drop_shadow =====<br />
''Optional.''<br />
<br />
===== opaque =====<br />
<br />
===== tear_off =====<br />
''Optional.''<br />
<br />
===== color =====<br />
''Optional.''<br />
===== create_jump_keys =====<br />
''Optional.''<br />
<br />
===== hidden =====<br />
''Optional.''<br />
<br />
=== pie_menu parameters ===<br />
----<br />
*Used recursively by other pie_menus.<br />
*Can contain pie_menu.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== tearoff_menu parameters ===<br />
----<br />
Used by menu.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== menu_item_check parameters ===<br />
----<br />
*Used by menu.<br />
*Can contain on_check, on_click, and on_enable.<br />
*Class MenuItemCheckGL<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
====Specific parameters====<br />
<br />
===== shortcut =====<br />
''Optional.''<br />
<br />
=== menu_item_separator parameters ===<br />
----<br />
Used by menu and pie_menu.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== menu_item_call parameters ===<br />
----<br />
*Used by menu and pie_menu.<br />
*Can contain on_click, on_enable, and on_visible.<br />
*Class LLMenuItemCallGL<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== shortcut =====<br />
''Optional.''<br />
===== useMacCtrl =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
<br />
=== on_check parameters ===<br />
----<br />
Used by menu_item_check.<br />
===== function =====<br />
''Optional.''<br />
===== userdata =====<br />
''Optional.''<br />
===== control =====<br />
''Optional.''<br />
<br />
=== on_click parameters ===<br />
----<br />
Used by menu_item_call and menu_item_check.<br />
===== filter =====<br />
''Optional.''<br />
===== function =====<br />
===== userdata =====<br />
===== name =====<br />
''Optional.''<br />
<br />
=== on_visible parameters ===<br />
----<br />
Used by menu_item_call.<br />
===== function =====<br />
<br />
=== on_enable parameters ===<br />
----<br />
Used by menu_item_call and menu_item_check.<br />
===== function =====<br />
===== userdata =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503813
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:45:21Z
<p>Mm Alder: /* volume_slider parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider_bar" tab_stop="false" title="multi_slider_bar"<br />
width="250"><br />
<multi_slider_bar bottom="20" enabled="true" height="40" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true"<br />
name="multi_slider_bar" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== use_triangle =====<br />
''Optional.''<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider" tab_stop="false" title="slider" width="250"><br />
<slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="slider label" left="20"<br />
max_val="1" min_val="0" mouse_opaque="true" name="slider" show_text="true"<br />
tab_stop="true" value="0" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider_bar" tab_stop="false" title="slider_bar" width="250"><br />
<slider_bar bottom="20" enabled="true" height="10" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="slider_bar"<br />
tab_stop="true" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_spinner" tab_stop="false" title="spinner" width="250"><br />
<spinner bottom="20" decimal_digits="3" enabled="true" height="20" increment="0.1"<br />
initial_val="0" label="spinner label" label_width="40" left="20" max_val="1"<br />
min_val="0" mouse_opaque="true" name="spinner" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_volume_slider" tab_stop="false" title="volume_slider"<br />
width="250"><br />
<volume_slider bottom="20" enabled="true" height="20" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="slider_bar"<br />
tab_stop="true" volume="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503803
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:43:16Z
<p>Mm Alder: /* spinner parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider_bar" tab_stop="false" title="multi_slider_bar"<br />
width="250"><br />
<multi_slider_bar bottom="20" enabled="true" height="40" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true"<br />
name="multi_slider_bar" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== use_triangle =====<br />
''Optional.''<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider" tab_stop="false" title="slider" width="250"><br />
<slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="slider label" left="20"<br />
max_val="1" min_val="0" mouse_opaque="true" name="slider" show_text="true"<br />
tab_stop="true" value="0" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider_bar" tab_stop="false" title="slider_bar" width="250"><br />
<slider_bar bottom="20" enabled="true" height="10" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="slider_bar"<br />
tab_stop="true" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_spinner" tab_stop="false" title="spinner" width="250"><br />
<spinner bottom="20" decimal_digits="3" enabled="true" height="20" increment="0.1"<br />
initial_val="0" label="spinner label" label_width="40" left="20" max_val="1"<br />
min_val="0" mouse_opaque="true" name="spinner" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503793
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:41:32Z
<p>Mm Alder: /* slider_bar parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider_bar" tab_stop="false" title="multi_slider_bar"<br />
width="250"><br />
<multi_slider_bar bottom="20" enabled="true" height="40" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true"<br />
name="multi_slider_bar" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== use_triangle =====<br />
''Optional.''<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider" tab_stop="false" title="slider" width="250"><br />
<slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="slider label" left="20"<br />
max_val="1" min_val="0" mouse_opaque="true" name="slider" show_text="true"<br />
tab_stop="true" value="0" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider_bar" tab_stop="false" title="slider_bar" width="250"><br />
<slider_bar bottom="20" enabled="true" height="10" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="slider_bar"<br />
tab_stop="true" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503783
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:39:42Z
<p>Mm Alder: /* slider parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider_bar" tab_stop="false" title="multi_slider_bar"<br />
width="250"><br />
<multi_slider_bar bottom="20" enabled="true" height="40" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true"<br />
name="multi_slider_bar" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== use_triangle =====<br />
''Optional.''<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_slider" tab_stop="false" title="slider" width="250"><br />
<slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="slider label" left="20"<br />
max_val="1" min_val="0" mouse_opaque="true" name="slider" show_text="true"<br />
tab_stop="true" value="0" volume="false" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503773
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:37:32Z
<p>Mm Alder: /* multi_slider_bar parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider_bar" tab_stop="false" title="multi_slider_bar"<br />
width="250"><br />
<multi_slider_bar bottom="20" enabled="true" height="40" increment="0.1" initial_val="0"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true"<br />
name="multi_slider_bar" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== use_triangle =====<br />
''Optional.''<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503763
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:27:16Z
<p>Mm Alder: /* multi_slider parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llmultisliderctrl.cpp<br />
*Used by panel.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_multi_slider" tab_stop="false" title="multi_slider"<br />
width="250"><br />
<multi_slider bottom="20" can_edit_text="false" decimal_digits="3" enabled="true"<br />
height="20" increment="0.1" initial_val="0" label="multi_slider label"<br />
left="20" max_val="1" min_val="0" mouse_opaque="true" name="multi_slider"<br />
show_text="true" tab_stop="true" value="0" width="200" use_triangle="true" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503753
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:24:11Z
<p>Mm Alder: </p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== multi_slider_bar parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503743
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:14:41Z
<p>Mm Alder: /* joystick_slide parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_slide" tab_stop="false" title="joystick_slide"<br />
width="150"><br />
<joystick_slide bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="UIImgBtnSlideLeftInUUID"<br />
image_unselected="UIImgBtnSlideLeftOutUUID"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_slide" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503733
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:12:19Z
<p>Mm Alder: /* joystick_turn parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="100" left="550" min_height="100" min_width="150" mouse_opaque="true"<br />
name="example_joystick_turn" tab_stop="false" title="joystick_turn"<br />
width="150"><br />
<joystick_turn bottom="20" enabled="true" font="SansSerif" halign="center" height="50"<br />
image_selected="move_backward_in.tga"<br />
image_unselected="move_backward_out.tga"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
left="20" mouse_opaque="true" name="joystick_turn" quadrant="origin"<br />
scale_image="true" tab_stop="true" width="50" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503723
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:07:28Z
<p>Mm Alder: /* flyout_button parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="551" min_height="80" min_width="240" mouse_opaque="true"<br />
name="example_flyout_button" tab_stop="false" title="flyout_button"<br />
width="240"><br />
<flyout_button allow_text_entry="true" bottom="20" enabled="true" height="20" left="10"<br />
max_chars="30" mouse_opaque="true" name="flyout_button" tab_stop="true"<br />
width="223" label="flyout_button label" font="SansSerif"><br />
<flyout_button_item name="item 1" value="value 1">flyout_button_item 1</flyout_button_item><br />
<flyout_button_item name="item 2" value="value 2">flyout_button_item 2</flyout_button_item><br />
<flyout_button_item name="item 3" value="value 3">flyout_button_item 3</flyout_button_item><br />
</flyout_button><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Buttons,_Sliders,_and_Spinners&diff=503713
Skinning HowTo/XUI Buttons, Sliders, and Spinners
2009-10-03T20:04:01Z
<p>Mm Alder: /* button parameters */</p>
<hr />
<div>This page describes the XML attributes for the buttons, sliders, and spinners. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== button parameters ===<br />
----<br />
*Class LLButton : LLUICtrl : LLView<br />
*In source file llui/llbutton.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, and form.<br />
<br />
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><br />
<floater bottom="400" can_close="true" can_drag_on_left="false" can_minimize="true"<br />
can_resize="true" can_tear_off="false" enabled="true" follows="left|top"<br />
height="80" left="550" min_height="80" min_width="250" mouse_opaque="true"<br />
name="example_button" tab_stop="false" title="button" width="250"><br />
<button bottom="20" enabled="true" font="SansSerif" halign="center" height="20"<br />
image_disabled="button_disabled_32x128.tga"<br />
image_disabled_selected="button_disabled_32x128.tga"<br />
image_selected="button_enabled_selected_32x128.tga"<br />
image_unselected="button_enabled_32x128.tga" label="button label"<br />
label_selected="button label" left="20" mouse_opaque="true" name="button"<br />
scale_image="true" tab_stop="true" width="200" /><br />
</floater><br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#sound_flags|sound_flags]], [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== scale_image =====<br />
''Optional.'' Specifies whether to scale the button art as its container/floater is resized. As of 1.18.x, all button art has this property set to <code>true</code> where the button size is not equal to 32x128. <br />
<br />
Boolean: <code>scale_image="true"</code><br />
<br />
===== label_selected =====<br />
''Optional.'' Label is the text on the button's face when pressed into an 'on' state. Your button will inherit the <code> label</code> if you omit this property.<br />
String: <code>label_selected="I've been clicked." </code><br />
<br />
===== image_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and enabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square_32x128.tga"</code><br />
<br />
===== image_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_selected="btn_square-down_32x128.tga"</code><br />
<br />
===== image_hover_selected =====<br />
''Optional.'' Overrides the default button art for the selected/down and mouseover/hover button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-hover_32x128.tga"</code><br />
<br />
===== image_hover_unselected =====<br />
''Optional.'' Overrides the default button art for the unselected/up and mouseover/hover button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size.<br />
<br />
String: <code>image_unselected="btn_square-up-hover_32x128.tga"</code><br />
<br />
===== image_disabled =====<br />
''Optional.'' Overrides the default button art for the disabled button state. Art must be located in the <code>..\skins\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-disabled_32x128.tga"</code><br />
<br />
===== image_disabled_selected =====<br />
''Optional.'' Overrides the default button art for the disabled and selected/down button state. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. By default, the button art is stretched to fit the specified button size. <br />
<br />
String: <code>image_unselected="btn_square-down-disabled_32x128.tga"</code><br />
<br />
===== image_overlay =====<br />
''Optional.'' Applies an overlay image to the button. The button art will be sized to fit. As of 1.18.x, these icons should be 16 pixels high at maximum on a standard height 24px button to minimize scaling artifacts. Can be used with or without text. Art must be located in the <code>..\skins\[SKIN]\textures</code> directory within the Second Life application folder (on a Mac, this is inside the package at <code>Contents/MacOS/Resources/skins/[SKIN]/textures</code>). Art must also be named in <code>textures.xml</code> with an assigned UUID. See [[#image_overlay_alignment|image_overlay_alignment]] for alignment options. <br />
<br />
String: <code>image_overlay="icn_media-play_16.tga"</code><br />
<br />
===== image_overlay_alignment =====<br />
''Optional.'' Sets the alignment of the <code>image_overlay</code> icon. <br />
<br />
Values: <br />
* left: left-aligns the art on the button. This standard is used for new button art with text in the Dazzle branch.<br />
* right: right-aligns the the art on the button.<br />
* center: centers the art on the button. This standard is used for new button art without text in the Dazzle branch.<br />
<br />
String: <code>image_overlay_alignment="left"</code><br />
<br />
===== toggle =====<br />
''Optional.'' Determines whether the button is a toggle button or not. The Fly/Stop Flying button is a toggle button, for example.<br />
<br />
Boolean: <code>toggle="false"</code><br />
<br />
===== pad_right =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== help_url =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== default =====<br />
''Optional.''<br />
===== index =====<br />
''Optional.''<br />
===== text =====<br />
''Optional.''<br />
===== ignore =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
<br />
=== flyout_button parameters ===<br />
----<br />
*Class LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_stack.<br />
*Can contain flyout_button_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
<br />
====Specific parameters====<br />
<br />
===== label_selected =====<br />
''Optional.''<br />
===== list_position =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== flyout_button_item parameters ===<br />
----<br />
*member of LLFlyoutButton : LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by flyout_button.<br />
<br />
===== value =====<br />
===== name =====<br />
<br />
=== joystick_turn parameters ===<br />
----<br />
*Class LLJoystickAgentTurn : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== joystick_slide parameters ===<br />
----<br />
*Class LLJoystickAgentSlide : LLJoystick : LLButton : LLUICtrl : LLView<br />
*In source file newview/lljoystickbutton.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' halign<br />
<br />
====Specific parameters====<br />
<br />
===== image_selected =====<br />
===== image_unselected =====<br />
===== quadrant =====<br />
===== scale_image =====<br />
<br />
=== multi_slider parameters ===<br />
----<br />
*Class LLMultiSlider : LLUICtrl : LLView<br />
*In source file llui/llmultislider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== allow_overlap =====<br />
===== can_edit_text =====<br />
===== decimal_digits =====<br />
===== draw_track =====<br />
''Optional.''<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_sliders =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
===== use_triangle =====<br />
''Optional.''<br />
===== value =====<br />
<br />
=== slider parameters ===<br />
----<br />
*Class LLSliderCtrl : LLUICtrl : LLView<br />
*In source file llui/llsliderctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
===== show_text =====<br />
''Optional.''<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== value =====<br />
''Optional.''<br />
===== volume =====<br />
''Optional.''<br />
===== edit_text =====<br />
''Optional.''<br />
<br />
=== slider_bar parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
<br />
=== spinner parameters ===<br />
----<br />
*Class LLSpinCtrl : LLUICtrl : LLView<br />
*In source file llui/llspinctrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== decimal_digits =====<br />
''Optional.''<br />
===== increment =====<br />
''Optional.''<br />
===== initial_val =====<br />
''Optional.''<br />
===== max_val =====<br />
===== min_val =====<br />
''Optional.''<br />
===== label_width =====<br />
''Optional.''<br />
===== can_edit_text =====<br />
''Optional.''<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== text_enabled_color =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== drop_shadow_visible =====<br />
''Optional.''<br />
===== h_pad =====<br />
''Optional.''<br />
===== v_pad =====<br />
''Optional.''<br />
<br />
=== volume_slider parameters ===<br />
----<br />
*Class LLSlider : LLUICtrl : LLView<br />
*In source file llui/llslider.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== increment =====<br />
===== initial_val =====<br />
===== max_val =====<br />
===== min_val =====<br />
===== hidden =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Containers&diff=495862
Skinning HowTo/XUI Containers
2009-09-24T05:05:27Z
<p>Mm Alder: </p>
<hr />
<div>This page describes the XML attributes for the XUI containers. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== floater parameters ===<br />
----<br />
*Used by tab_container.<br />
*Class LLFloater<br />
*In source file llui/llfloater.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
''Optional.''<br />
===== can_drag_on_left =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== can_resize =====<br />
<br />
===== can_tear_off =====<br />
''Optional.''<br />
<br />
===== max_height =====<br />
''Optional.''<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
''Optional.''<br />
===== short_title =====<br />
''Optional.''<br />
<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_bevel =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
<br />
=== multi_floater parameters ===<br />
----<br />
*Can contain icon, string, tab_container, and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== can_close =====<br />
===== can_drag_on_left =====<br />
===== can_minimize =====<br />
===== can_resize =====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
<br />
===== title =====<br />
<br />
===== title_bar =====<br />
''Optional.''<br />
<br />
=== panel parameters ===<br />
----<br />
*Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.<br />
*Class LLPanel<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== background_opaque =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bevel_style =====<br />
''Optional.''<br />
===== bg_visible =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== can_close =====<br />
''Optional.''<br />
===== can_minimize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== placeholder =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== border_visible =====<br />
''Optional.''<br />
===== border_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== border_color =====<br />
''Optional.''<br />
===== title =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== left_in_finder =====<br />
''Optional.''<br />
===== select =====<br />
''Optional.''<br />
<br />
=== layout_panel parameters ===<br />
----<br />
*Used by layout_stack.<br />
*Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser. <br />
* In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
===== can_resize =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== filename =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
<br />
=== layout_stack parameters ===<br />
----<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain button, flyout_button, icon, layout_panel, and scroll_list.<br />
*Class LLLayoutStack<br />
*In source file llui/llpanel.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== min_height =====<br />
''Optional.''<br />
===== min_width =====<br />
''Optional.''<br />
===== orientation =====<br />
''Optional.''<br />
===== border_size =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Used by floater.<br />
*Can contain panel.<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== tab_container parameters ===<br />
----<br />
*Used by floater, panel, and multi_floater.<br />
*Can contain inventory_panel, panel, and floater.<br />
*Class LLTabContainer<br />
*In source file llui/lltabcontainer.cpp<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== tab_position =====<br />
<br />
===== tab_width =====<br />
''Optional.''<br />
===== tab_min_width =====<br />
''Optional.''<br />
===== tab_max_width =====<br />
''Optional.''<br />
===== hide_tabs =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=495852
Skinning HowTo/XUI Selection Widgets
2009-09-24T05:03:46Z
<p>Mm Alder: </p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/Common_XUI_attributes&diff=489782
Skinning HowTo/Common XUI attributes
2009-09-14T00:10:18Z
<p>Mm Alder: /* font_size */</p>
<hr />
<div>This pages describes some of the most frequently used XML attributes. Most are defined in the LLView base class in source file llui/llview.cpp. The XUI elements that use these can be found at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
When these parameters appear there, they are just listed under the elements that use them.<br />
<br />
=Used by all XUI elements=<br />
<br />
===== name =====<br />
''Required.'' The XML name of this element. The name must be unique to the floater you are editing. <br />
<br />
* IMPORTANT: As noted above, do not re-name XML elements, even for localization. Many of the element names are looked up by the viewer. If the viewer cannot find an element name it expects, it will crash.<br />
<br />
String: <code>name="input_first_name"</code><br />
<br />
===== visible =====<br />
''Optional.'' Sets the initial visibility of the element and its children.<br />
<br />
This can be set programatically to hide or show the element as needed.<br />
<br />
Boolean: <code>visible="false"</code><br />
<br />
===== enabled =====<br />
''Optional.'' Determines whether the the element and its children are operational. When disabled, the element is visible, but "greyed out."<br />
<br />
This can be set programatically to enable or disable the element as needed.<br />
<br />
Boolean: <code>enabled="false"</code><br />
<br />
===== tool_tip =====<br />
''Optional.'' Explains the function of the element to the user when the user places the mouse over the element.<br />
<br />
String: <code>tool_tip="Pick a resident to mute"</code><br />
<br />
===== mouse_opaque =====<br />
''Optional.'' Determines whether the the element reacts to the mouse when it is over it. When it is set to false, elements below will handle the mouse actions.<br />
<br />
Boolean: <code>mouse_opaque="false"</code><br />
<br />
===== control_name =====<br />
''Optional.'' Lets you associate check box and slider values with particular saved settings without writing any C++ code. Very useful. When you load a floater or other XUI element containing a check box or slider with that tag, it will take it's initial value from the named saved setting and automatically saves back out modified values as the user interacts with those controls.<br />
<br />
This is extremely powerful and should let you create a custom panel to control any of the boolean or real valued settings that you see in the Debug_Settings floater. See floater_beacons.xml for examples.<br />
<br />
String: <code>control_name="particlesbeacon"</code><br />
<br />
===== sound_flags =====<br />
''Optional.'' Determines whether to make a sound on mouse-up and/or mouse-down.<br />
<br />
* ''This attribute is written when saving the XML, but it is not read when loading XML.''<br />
<br />
===== hover_cursor =====<br />
''Optional.'' Supposed to set the cursor icon used while hovering over this element.<br />
<br />
* ''This attribute seems to be overridden by hardcoded values. If you find a widget that honors this, please document it here.''<br />
<br />
Allowed values are UI_CURSOR_ARROW, UI_CURSOR_WAIT, UI_CURSOR_HAND, UI_CURSOR_IBEAM, UI_CURSOR_CROSS, UI_CURSOR_SIZENWSE, UI_CURSOR_SIZENESW, UI_CURSOR_SIZEWE, UI_CURSOR_SIZENS, UI_CURSOR_NO, UI_CURSOR_WORKING, UI_CURSOR_TOOLGRAB, UI_CURSOR_TOOLLAND, UI_CURSOR_TOOLFOCUS, UI_CURSOR_TOOLCREATE, UI_CURSOR_ARROWDRAG, UI_CURSOR_ARROWCOPY, UI_CURSOR_ARROWDRAGMULTI, UI_CURSOR_ARROWCOPYMULTI, UI_CURSOR_NOLOCKED, UI_CURSOR_ARROWLOCKED, UI_CURSOR_GRABLOCKED, UI_CURSOR_TOOLTRANSLATE, UI_CURSOR_TOOLROTATE, UI_CURSOR_TOOLSCALE, UI_CURSOR_TOOLCAMERA, UI_CURSOR_TOOLPAN, UI_CURSOR_TOOLZOOMIN, UI_CURSOR_TOOLPICKOBJECT3, UI_CURSOR_TOOLSIT, UI_CURSOR_TOOLBUY, UI_CURSOR_TOOLPAY, UI_CURSOR_TOOLOPEN, UI_CURSOR_TOOLPLAY, UI_CURSOR_TOOLPAUSE, UI_CURSOR_TOOLMEDIAOPEN, UI_CURSOR_PIPETTE<br />
<br />
String: <code>hover_cursor="UI_CURSOR_HAND"</code><br />
<br />
===== use_bounding_rect =====<br />
''Optional.'' Hit test against bounding rectangle that includes all child elements.<br />
<br />
Boolean: <code>use_bounding_rect="true"</code><br />
<br />
===== default_tab_group =====<br />
''Optional.''<br />
<br />
Integer: <code>default_tab_group="1"</code><br />
<br />
=Positioning=<br />
'''Used by all XUI elements.'''<br />
<br />
Horizontal dimensions are specified with "right", "left", "left_delta", and "width". Together with the width of the parent container, that makes five constraints to define two edges. Something has to give. So "left" and "right" together override "width", and "left_delta" overrides "left" and/or "right".<br />
<br />
The same is true of vertical dimensions. The four parameters are "top", "bottom", "bottom_delta", and "height". "top" overrides "height", and "bottom_delta" overrides "bottom" and/or "top".<br />
<br />
The values may not mean what you think they do. Read the definitions carefully.<br />
<br />
When a parent container is resized, the child edges can be set to follow the parent edges using the "follows" parameter. If the "follows" parameter is not set, the logic is a bit complicated. If "left" is negative, the left edge follow the parent right edge; if non-negative, the left edge follows the parent left edge; unless "left_delta" or "right" are specified, in which case, nothing follows. If "bottom" is negative, the bottom edge follows the parent top edge; if non-negative, the bottom edge follows the parent bottom; unless "bottom_delta" or "top" are specified. If none of "top", "bottom", and "bottom_delta" are specified, the first child follows the parent top edge, and the others follow their siblings.<br />
<br />
===== width =====<br />
''Optional.'' The width of the element, in pixels. <br />
<br />
For text, this defines the visible text as well as the clickable area. If the width of a text element is not sufficient to hold the text, the text will be truncated. This is most likely what you will widen when localizing the viewer.<br />
<br />
For most other elements, this describes the dimensions of an element, such as a button, icon, panel, text_area, etc.<br />
<br />
* Tip: See the bounding boxes of all XML elements in the viewer: ''Advanced'' menu > UI > Debug Views.<br />
<br />
Integer: <code>width="140"</code><br />
<br />
===== height =====<br />
''Optional.'' The height of the element, in pixels. <br />
<br />
For text, this defines the visible text as well as the clickable area. If the height of a text element is not sufficient to hold the text, the text will be truncated. This is most likely what you will lengthen when localizing the viewer.<br />
<br />
For most other elements, this describes the dimensions of an element, such as a button, icon, panel, text_area, etc.<br />
<br />
Integer: <code>height="24"</code><br />
<br />
===== left =====<br />
''Optional.'' Sets the position in the horizontal dimension of the ''element's'' <u>left edge</u> relative to the container's '''left''' edge. Positive and negative values are accepted. A negative value will set the position relative to the '''right''' edge of the container.<br />
<br />
Integer: <code> left="6"</code><br />
<br />
===== right =====<br />
''Optional.'' Sets the position in the horizontal dimension of the ''element's'' <u>right edge</u> relative to the container's '''left''' edge. Positive and negative values are accepted. A negative value will set the position relative to the '''right''' edge of the container. Best used to align something to the right. <br />
* For example, given a floater with a width of 500 and a button we wish to right align in the floater, we can set the <code>right</code> to 490 -- this puts the right edge of the button 10 pixels away from the right border of the floater. <br />
<br />
Integer: <code> right="-6"</code><br />
<br />
===== left_delta =====<br />
''Optional. (use instead of <code>left</code>)'' Sets the position in the horizontal dimension of the element's left edge relative to the previous element's '''left''' edge, or, for the first widget, the left edge of the container. Positive and negative values are accepted. Best used to left-align the current element with the previous element. <br />
* For example, given Button B with a width of 100, a previous Button A with a width of 50 and a distance between elements of 6, we would set the <code>left_delta</code> to -106, putting the left edge of Button B 106 pixels to the left of Button A. We use a negative number to move left, and a positive number to move right.<br />
<br />
Integer: <code> left_delta="-106"</code><br />
<br />
===== bottom =====<br />
''Optional.'' Sets the position in the vertical dimension of the element's <u>bottom edge</u> relative to the parent container's '''bottom''' edge. Positive and negative values are accepted. A negative value sets the element's <u>bottom edge</u> relative to the parent container's '''top edge'''. For example, given a floater with a height of 300 and a title 20 pixels tall and we want , we can set the <code>bottom</code> to 260 putting the bottom edge of the title 40 pixels away from the top border of the floater. <br />
<br />
Integer: <code>bottom="260"</code><br />
<br />
===== top =====<br />
''Optional.'' Sets the position in the vertical dimension of the ''element's'' <u>top edge</u> relative to the container's '''bottom''' edge. Positive and negative values are accepted. A negative value will set the position relative to the '''top edge''' of the container. Best used to align something to the top of the parent container. <br />
<br />
Integer: <code> top="-20"</code><br />
<br />
===== bottom_delta =====<br />
''Optional. (use instead of <code>bottom</code>)'' Sets the position in the vertical dimension of the element's bottom edge relative to the previous element's '''bottom''' edge, or, for the first widget, the bottom edge of the container. Positive and negative values are accepted. We use a negative number to move down, and a positive number to move up.<br />
<br />
Integer: <code>bottom_delta="-106"</code><br />
<br />
===== follows =====<br />
''Optional.'' Sets which edge(s) an element follows when the containing element is resized. Specifying all edges results in an element that can dynamically resize itself with its container.<br />
<br />
Values: "left", "top", "right", "bottom", "all". String multiple values together using pipes.<br />
<br />
The following example sets an element to follow both the left and the top, such as a floater's title may be designed:<br />
String: <code>follows="left|top"</code><br />
<br />
===== rect_control =====<br />
''Optional.'' Gets "left," "right," "bottom," and "top" from the default configuration file, but the XML parameters will override this. For panels (and floaters, which are derived from panels) that are resized by the user, the resized values will be stored in the default configuration file.<br />
<br />
String: <code>rect_control="FloaterAdvancedSkyRect"</code><br />
<br />
=Text=<br />
<br />
===== label =====<br />
''Optional.'' This is the text that is displayed on the element.<br />
<br />
String: <code>label="Oggetti scriptati"</code><br />
<br />
===== font =====<br />
''Optional.'' Sets which size and style of the application font to use. The default is SansSerifSmall for <code>text</code> elements and SansSerif for controls (such as <code>check_box</code> and <code>button</code>.<br />
<br />
Values: SansSerifSmall, SansSerif, SansSerifBig, SansSerifBold, Monospace<br />
<br />
String: <code>font="SansSerifSmall"</code><br />
<br />
===== font_size =====<br />
''Optional.'' Sets which size of the application font to use.<br />
<br />
Values: Small, Medium, Large, Huge<br />
<br />
String: <code>font_size="Small"</code><br />
<br />
===== font_style =====<br />
''Optional.'' Styles the text. Allows multiple style selections. As of 1.18.x, the style options are:<br />
<br />
* normal: Apply the default styles of the selected font. (For example, SansSerifBold has a default bold style applied to it.)<br />
* bold: Bolds the text.<br />
* italic: Italicizes the text.<br />
* underline: Underlines the text.<br />
* drop_shadow: Old-style 1px offset of black under the text.<br />
* drop_shadow_soft: New-style 3px offset of blurred shadow under the text.<br />
<br />
String: <code>font_style="bold|underline|drop_shadow_soft"</code><br />
<br />
===== style =====<br />
Deprecated.<br />
<br />
===== halign =====<br />
''Optional.'' Controls horizontal alignment of label on button face. Options are "left", "center" and "right".<br />
<br />
===== valign =====<br />
Deprecated.<br />
<br />
= Other parameters used by many XUI elements =<br />
===== tab_group =====<br />
===== border =====</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489772
Skinning HowTo/XUI Other Widgets
2009-09-13T23:49:28Z
<p>Mm Alder: /* web_browser parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
<br />
====Specific parameters====<br />
<br />
===== border_visible =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489762
Skinning HowTo/XUI Other Widgets
2009-09-13T23:41:10Z
<p>Mm Alder: /* view_border parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489752
Skinning HowTo/XUI Other Widgets
2009-09-13T23:39:01Z
<p>Mm Alder: /* search_editor parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
===== border =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489742
Skinning HowTo/XUI Other Widgets
2009-09-13T23:37:33Z
<p>Mm Alder: /* progress_bar parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== color =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
===== bottom =====<br />
===== left =====<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== label =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
===== name =====<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
===== border =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489732
Skinning HowTo/XUI Other Widgets
2009-09-13T23:36:24Z
<p>Mm Alder: /* locate and pad parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
===== name =====<br />
===== color =====<br />
===== height =====<br />
===== bottom =====<br />
===== left =====<br />
===== right =====<br />
===== follows =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
===== bottom =====<br />
===== left =====<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== label =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
===== name =====<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
===== border =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489722
Skinning HowTo/XUI Other Widgets
2009-09-13T23:35:02Z
<p>Mm Alder: /* inventory_panel parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_multi_select =====<br />
===== sort_order =====<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
===== bottom_delta =====<br />
===== height =====<br />
===== left_delta =====<br />
===== name =====<br />
===== width =====<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
===== name =====<br />
===== color =====<br />
===== height =====<br />
===== bottom =====<br />
===== left =====<br />
===== right =====<br />
===== follows =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
===== bottom =====<br />
===== left =====<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== label =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
===== name =====<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
===== border =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Other_Widgets&diff=489712
Skinning HowTo/XUI Other Widgets
2009-09-13T23:33:18Z
<p>Mm Alder: /* icon parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI widgets that don't fit into any other category below. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for the other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Selection Widgets]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== icon parameters ===<br />
----<br />
*Class LLIconCtrl : LLUICtrl : LLView<br />
*In source file llui/lliconctrl.cpp<br />
*Used by floater, panel, layout_stack, layout_panel, multi_floater, and widgetset.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]<br />
<br />
====Specific parameters====<br />
<br />
===== image_name =====<br />
''Required.'' Specifies the name of the image to load for this icon.<br />
<br />
String: <code>image_name="myicon.png"</code><br />
<br />
===== color =====<br />
''Optional.''<br />
<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== scale_image =====<br />
''Optional.''<br />
===== auto_resize =====<br />
''Optional.''<br />
<br />
=== inventory_panel parameters ===<br />
----<br />
*Class LLInventoryPanel : LLPanel : LLUICtrl : LLView<br />
*In source file newview/llinventoryview.cpp<br />
*Used by floater, panel, and tab_container.<br />
<br />
===== allow_multi_select =====<br />
===== border =====<br />
===== bottom =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
===== name =====<br />
===== sort_order =====<br />
===== label =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== locate and pad parameters ===<br />
----<br />
These are two tags that mean the same thing.<br />
<br />
*Class LLUICtrlLocate : LLUICtrl : LLView<br />
*In source file llui/lluictrlfactory.cpp<br />
*Used by floater and panel.<br />
<br />
===== bottom_delta =====<br />
===== height =====<br />
===== left_delta =====<br />
===== name =====<br />
===== width =====<br />
<br />
=== progress_bar parameters ===<br />
----<br />
*Class LLProgressBar : LLView<br />
*In source file llui/llprogressbar.cpp<br />
*Used by layout_panel.<br />
<br />
===== name =====<br />
===== color =====<br />
===== height =====<br />
===== bottom =====<br />
===== left =====<br />
===== right =====<br />
===== follows =====<br />
<br />
=== search_editor parameters ===<br />
----<br />
*Class LLSearchEditor : LLUICtrl : LLView <br />
*In source file llui/lllineeditor.cpp<br />
*Used by floater.<br />
<br />
===== bottom =====<br />
===== left =====<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== label =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
===== name =====<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== string parameters ===<br />
----<br />
*member of LLPanel : LLUICtrl : LLView<br />
*In source file llui/llpanel.cpp<br />
*Used by floater, panel, and multi_floater.<br />
===== name =====<br />
===== word_wrap =====<br />
''Optional.''<br />
<br />
=== view_border parameters ===<br />
----<br />
*Class LLViewBorder : LLView<br />
*In source file llui/llviewborder.cpp<br />
*Used by panel.<br />
<br />
===== bevel_style =====<br />
''Optional.''<br />
===== border_thickness =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== height =====<br />
===== width =====<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
''Optional.''<br />
===== blevel_style =====<br />
''Optional.''<br />
===== border =====<br />
''Optional.''<br />
<br />
=== web_browser parameters ===<br />
----<br />
*Class LLWebBrowserCtrl : LLUICtrl : LLView<br />
*In source file newview/llwebbrowserctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
===== bottom =====<br />
===== top =====<br />
''Optional.''<br />
===== left =====<br />
===== right =====<br />
''Optional.''<br />
===== follows =====<br />
===== font =====<br />
''Optional.''<br />
===== name =====<br />
===== border_visible =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== height =====<br />
''Optional.''<br />
===== caret_color =====<br />
''Optional.''<br />
===== start_url =====<br />
''Optional.''<br />
===== embedded_items =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== word_wrap =====<br />
''Optional.''<br />
===== ignore_ui_scale =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=489702
Skinning HowTo/XUI Selection Widgets
2009-09-13T23:30:20Z
<p>Mm Alder: /* texture_picker parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''</div>
Mm Alder
https://wiki.secondlife.com/w/index.php?title=Skinning_HowTo/XUI_Selection_Widgets&diff=489692
Skinning HowTo/XUI Selection Widgets
2009-09-13T23:28:04Z
<p>Mm Alder: /* scroll_list parameters */</p>
<hr />
<div>This page describes the XML attributes for the XUI selection widgets. These are some of the XML elements and parameters used within the floaters, panels, and so forth, that make up the viewer user interface. They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders. You can find attributes for other XUI elements at:<br />
*[[Skinning HowTo/XUI Containers]]<br />
*[[Skinning HowTo/XUI Menus]]<br />
*[[Skinning HowTo/XUI Buttons, Sliders, and Spinners]]<br />
*[[Skinning HowTo/XUI Text Entry Widgets]]<br />
*[[Skinning HowTo/XUI Other Widgets]]<br />
and you can find more general information at [[Skinning HowTo/Basics]]<br />
<br />
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at [[Skinning HowTo/Common XUI XML parameters]].<br />
<br />
=== check_box parameters ===<br />
----<br />
*Class LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llcheckboxctrl.cpp<br />
*Used by floater, panel, and layout_panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== initial_value =====<br />
''Optional.''<br />
===== radio_style =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== border_drop_shadow_visible =====<br />
''Optional.''<br />
===== hidden =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
<br />
=== color_swatch parameters ===<br />
----<br />
*Class LLColorSwatchCtrl : LLUICtrl : LLView<br />
*In source file newview/llcolorswatch.cpp<br />
*Used by floater and panel.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== border_color =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
===== color =====<br />
''Optional.''<br />
<br />
=== combo_box parameters ===<br />
----<br />
*Class LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by floater, panel, and layout_panel.<br />
*Can contain combo_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label, font, font_size, font_style, halign<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== allow_text_entry =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== max_chars =====<br />
''Optional.''<br />
===== initial_value =====<br />
''Optional.''<br />
===== max_length =====<br />
''Optional.''<br />
===== bg_readonly_color =====<br />
''Optional.''<br />
===== text_readonly_color =====<br />
''Optional.''<br />
<br />
=== combo_item parameters ===<br />
----<br />
*member of LLComboBox : LLUICtrl : LLView<br />
*In source file llui/llcombobox.cpp<br />
*Used by combo_box.<br />
<br />
===== name =====<br />
===== value =====<br />
''Optional.''<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
<br />
=== name_list parameters ===<br />
----<br />
*Class LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by floater and panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== multi_select ===== <br />
===== name_column_index =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== background_opaque =====<br />
''Optional.''<br />
===== bg_alpha_color =====<br />
''Optional.''<br />
===== bg_opaque_color =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== radio_group parameters ===<br />
----<br />
*Class LLRadioGroup : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by floater and panel.<br />
*Can contain radio_item.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label<br />
<br />
====Specific parameters====<br />
<br />
===== draw_border =====<br />
''Optional.''<br />
===== text_disabled_color =====<br />
''Optional.''<br />
<br />
=== radio_item parameters ===<br />
----<br />
*Class LLRadioItem : LLCheckBoxCtrl : LLUICtrl : LLView<br />
*In source file llui/llradiogroup.cpp<br />
*Used by radio_group.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== type =====<br />
''Optional.''<br />
===== length =====<br />
''Optional.''<br />
<br />
=== scroll_container parameters ===<br />
----<br />
*Class LLScrollableContainerView : LLUICtrl : LLView<br />
*in source file llui/llscrollcontainer.cpp<br />
*Used by floater.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
<br />
====Specific parameters====<br />
<br />
===== opaque =====<br />
<br />
=== scroll_list parameters ===<br />
----<br />
*Class LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file llui/llscrolllist.cpp<br />
*Used by floater, panel, layout_stack, and layout_panel.<br />
*Can contain column.<br />
<br />
====Common parameters====<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control<br />
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' font, font_size, font_style<br />
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]]<br />
<br />
====Specific parameters====<br />
<br />
===== can_resize =====<br />
''Optional.''<br />
===== column_padding =====<br />
''Optional.''<br />
===== column_widths =====<br />
''Optional.'' <br />
===== draw_heading =====<br />
''Optional.''<br />
===== draw_stripes =====<br />
''Optional.''<br />
===== draw_border =====<br />
''Optional.''<br />
===== multi_select =====<br />
''Optional.''<br />
===== search_column =====<br />
''Optional.''<br />
===== sort_column =====<br />
''Optional.''<br />
===== background_visible =====<br />
''Optional.''<br />
===== bg_selected_color =====<br />
''Optional.''<br />
===== fg_disable_color =====<br />
''Optional.''<br />
===== fg_selected_color =====<br />
''Optional.''<br />
===== fg_unselected_color =====<br />
''Optional.''<br />
===== heading_font =====<br />
''Optional.''<br />
===== heading_height =====<br />
''Optional.''<br />
===== allow_calling_card_drop =====<br />
''Optional.''<br />
===== tab_stop =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
===== sort_ascending =====<br />
''Optional.''<br />
<br />
=== column parameters ===<br />
----<br />
*member of LLNameListCtrl : LLScrollListCtrl : LLUICtrl : LLView<br />
*In source file newview/llnamelistctrl.cpp<br />
*Used by name_list and scroll_list.<br />
<br />
===== name =====<br />
===== label =====<br />
''Optional.''<br />
===== sort =====<br />
''Optional.''<br />
===== width =====<br />
''Optional.''<br />
===== dynamicwidth =====<br />
''Optional.''<br />
===== relwidth =====<br />
''Optional.''<br />
===== image =====<br />
''Optional.''<br />
===== tool_tip =====<br />
''Optional.''<br />
===== user_resize =====<br />
''Optional.''<br />
<br />
=== texture_picker parameters ===<br />
----<br />
*Class LLTextureCtrl : LLUICtrl : LLView<br />
*In source file newview/lltexturectrl.cpp<br />
*Used by floater and panel.<br />
<br />
===== allow_no_texture =====<br />
''Optional.''<br />
===== bottom =====<br />
''Optional.''<br />
===== bottom_delta =====<br />
''Optional.''<br />
===== left =====<br />
''Optional.''<br />
===== left_delta =====<br />
''Optional.''<br />
===== right =====<br />
''Optional.''<br />
===== can_apply_immediately =====<br />
''Optional.''<br />
===== default_image_name =====<br />
''Optional.''<br />
===== enabled =====<br />
''Optional.''<br />
===== follows =====<br />
''Optional.''<br />
===== height =====<br />
===== width =====<br />
===== label =====<br />
''Optional.''<br />
===== mouse_opaque =====<br />
''Optional.''<br />
===== name =====<br />
===== tool_tip =====<br />
''Optional.''<br />
===== visible =====<br />
''Optional.''</div>
Mm Alder