• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2814
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Kagehi Kohn
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Add a vector function to return llGetClientArea.

Created: 19/May/08 10:45 PM   Updated: 12/Feb/09 05:53 PM
Return to search
Issue 368 of 841 issue(s)
<< Previous | SVC-2814 | Next >>
Component/s: Scripts
Affects Version/s: None
Fix Version/s: None

Environment: Any.
Issue Links:
Relates
 


 Description  « Hide
Not sure which category scripting goes in, so posting this in Misc. Right now, we have an issue with people making HUDs that simply do not work in "any" resolution than the one they made them in. This is imho, a pain in the backside. One option I already posted to is more generic, and involves having an "allow resize only" type option for items. However, it has occured to me that there is another solution. An object can, in principle, resize itself, *if* it knows what resolution your client is running it. Imho, this is a much more useful idea, since someone could have a script request the client area (i.e. what the viewable section of the screen is, not including menus and the bottom bar, then translate that pixel dimension to the correct "size" for a HUD. One then simply stretches the dimensions of their own HUD, through the script system, so that it "fits" the area on the screen that the original design was "intended" to fit into in the first place. Its a simple enough fix, and one that wouldn't require people making their items modifiable in any way, since its the prims themselves that are "resizing" themselves, not the purchaser.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
nekololi woodget added a comment - 06/Aug/08 11:25 PM
yes, this would be VERY nice for HUD makers.
Takes so long to explain how to grab a HUD from off-screen to a new resident. And for many old residents too

Gregory Maurer added a comment - 12/Feb/09 05:53 PM
It is possible to determine the available space.

Vertical is ALWAYS 1.0 both directions (in hud space)
And the horizantal size is (dim_x/dim_y)

But being able to get it instantly instead of asking would help