widgets taping
2 posters
widgets taping
Hi,
I'm using widgets for accelerate and break buttons on the screen. I have played around with sio2widgettapup and tapdown...
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:
Can You show me right direction?
Regards,
Mad
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
Similar topics
» Getting started with Widgets
» about Menus, Buttons, Widgets...
» Upgrade to 1.3.5: Widgets and touches
» SIO2 Menus - Using Widgets
» about Menus, Buttons, Widgets...
» Upgrade to 1.3.5: Widgets and touches
» SIO2 Menus - Using Widgets
Permissions in this forum:
You cannot reply to topics in this forum