How implement a check button? i need use

Felipe

18-10-2007 21:37:33

I need use check button in my game, how implement this?

kungfoomasta

18-10-2007 21:50:44

Right now, you'll have to use the NStateButton widget.


QuickGUI::NStateButton* checkbox = mySheet->createNStateButton();
checkbox->addState("unchecked.png",...);
checkbox->addState("checked.png",...);
checkbox->addOnStateChangedHandler(...);

Felipe

19-10-2007 13:47:54

ok! thanks