achimdoebler/UGUI

a little suggesttion for us newbie.

Opened this issue · 1 comments

A newbie who familer to android always think that callback function will be called when the button pressed ranthre than changed. So i suggest add a new conditional sentence in the callback function (in your demo).

ex: if ( msg->id == OBJ_TYPE_BUTTON && msg->event == OBJ_EVENT_PRESSED )

i spent whole two days to figure this future out. ~( ̄▽ ̄~)

further more , i disable the future USE_PRERENDER_EVENT and USE_POSTRENDER_EVENT.
when i enable this future, the program is loop in windows 1 and windows 2.(UG_Update always call callback function MAX_OBJECTS times).
i just don,t know how to use those future, i just disable this.(>﹏<)