FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

move widget

2 posters

Go down

move widget Empty move widget

Post  sakrist Fri May 15, 2009 5:56 pm

A simple question.

Can a Widget be moved?
sakrist
sakrist

Posts : 23
Join date : 2009-04-28
Age : 35

http://www.developers-life.com

Back to top Go down

move widget Empty Re: move widget

Post  Francescu Fri May 15, 2009 6:53 pm

Yes, just reset:

_myWidget->_SIO2transform->loc->x
_myWidget->_SIO2transform->loc->y

Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

move widget Empty Re: move widget

Post  sakrist Sat May 16, 2009 6:43 am

Francescu wrote:Yes, just reset:

_myWidget->_SIO2transform->loc->x
_myWidget->_SIO2transform->loc->y

thanks

x and y max 1 Smile I set 10, 100 Smile

my improvement in landscape
Code:
x = 100;
y = 100;

x = x * (1.0f/480.0f);
y = 1.0f - y * (1.0f/320.0f);
sakrist
sakrist

Posts : 23
Join date : 2009-04-28
Age : 35

http://www.developers-life.com

Back to top Go down

move widget Empty Re: move widget

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum