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.

widgets taping

2 posters

Go down

widgets taping Empty widgets taping

Post  _-MADMAN-_ Mon May 25, 2009 3:38 am

Hi,

I'm using widgets for accelerate and break buttons on the screen. I have played around with sio2widgettapup and tapdown...


Code:
      sio2WidgetRender( acc_widget, sio2->_SIO2window, 0 );
      sio2ResourceUpdateAllWidgetBoundaries( sio2->_SIO2resource, sio2->_SIO2window );
      
      if(acc_widget->_SIO2widgettapdown)
      {
         acc_material->diffuse->w = 1.0f;
      }

But nothing happends - should I eneble states or something? I can't find tutorial with interactive widgets.

Anyway - I'm not sure how to use:


Code:
00145 typedef void( SIO2widgettapdown( void *, void *, vec2 * ) );
00146
00147 typedef void( SIO2widgettapup( void *, void *, vec2 * ) );


Can You show me right direction?

Regards,
Mad

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

Back to top Go down

widgets taping Empty Re: widgets taping

Post  sio2interactive Mon May 25, 2009 3:43 am

Check tutorial07...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

widgets taping Empty Re: widgets taping

Post  _-MADMAN-_ Mon May 25, 2009 3:46 am

Embarassed

Missed that one... thanks.

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

Back to top Go down

widgets taping Empty Re: widgets taping

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