Author |
Message |
Kill9mm Newbie
Age:46 Gender: Joined: Feb 23 2003 Posts: 19 Location: San Francisco, CA Offline
|
Posted: Fri Apr 09, 2004 7:27 pm Post subject: upgrading screen object positioning code for new buildlevel |
 |
|
|
|
The last time these screen objects were compiled were on an old buildlevel. They are positioned to the left of the energy menu in the top right corner. Here are a few of those coords:
-373,6,IMAGE154,TopMost,ServerControlled,600,1550
-279,6,IMAGE154,TopMost,ServerControlled,600,1551
-185,6,IMAGE154,TopMost,ServerControlled,600,1552
Apparently in the new lvz format you have to preclude it with a letter that signifies the relative positioning of elements. There's C (which rolled over from previous buildlevel releases), W, etc.
My question is... how do I position screen objects to the left of the energy menu in the top-right corner?
|
|
Back to top |
|
 |
k0zy Server Help Squatter

Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Fri Apr 09, 2004 8:14 pm Post subject: |
 |
|
|
|
Now that's a good question...
I'd like to know the answer, too...
There is no constant (C,W, aso) to do this.
See attached image from lvztoolkit _________________ It's a shark! Oh my god! Unbelievable!
refpoints.gif - 31.62 KB
File downloaded or viewed 31 time(s)
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Fri Apr 09, 2004 9:09 pm Post subject: |
 |
|
|
|
X,-Y...
The "panel" is not a variable size, so you can place stuff using absolute values relative to top and right edges of screen. _________________ 4,691 irradiated haggis!
|
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sat Apr 10, 2004 12:02 am Post subject: |
 |
|
|
|
the format has not changed, there were merely more predefined points added
should recompile with the latest buildlevel.exe, though, of course
(-x,y )
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat Apr 10, 2004 7:20 am Post subject: |
 |
|
|
|
I used to be that a negative number was relative to right/bottom of screen. That is not consistent. To do that now you need to use B...
B-X,Y
|
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sat Apr 10, 2004 7:19 pm Post subject: |
 |
|
|
|
afaik it still works fine
|
|
Back to top |
|
 |
|