Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 7,711 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
center_x and position #299527
11/24/09 17:03
11/24/09 17:03
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hello conitec,

I played around with the rotation of the panels and I think it would be better, if center_x/y are not only the rotation pin, but would become the working point for the positioning,too - instead of the top left corner; This would make things easier and more intuitive, because in most of the time you know the exact rotation point and nothing else, so it would redundantize some lines of code.

Thnak you!
Scorpion

PS: I am not sure about this, but I think they are getting clipped away, if the unrotated panel would be out of frame

Re: center_x and position [Re: Scorpion] #299708
11/26/09 09:09
11/26/09 09:09
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
We can add new functions, but can't change the behavior of existing functions. Aside from that I don't think that it's a good idea to have different panel offsets when using rotation.


Moderated by  aztec, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1