[SDL] How to use buttons

Nicolas Goy - 時期精霊 - Goyman.com SA kuon at goyman.com
Thu Apr 5 23:56:53 PDT 2007


On Apr 5, 2007, at 5:49 PM, Bill Kendrick wrote:

> On Thu, Apr 05, 2007 at 11:16:33AM +0700, Patricia Curtis wrote:
>> my personal choice is to do the action on the mouse up
>> rather than the down.
>
> And, of course, most common UIs only respond to mouse-up if you're
> still within the widget you mouse-downed in.
>

If you want complete UI example, I suggest you look at blender source  
(this is full OpenGL).

Regards

--
Kuon from japan.

"Your computer requests another OS, deny or allow?"

Blog:
http://arkhi.goyman.com/blojsom/blog/default/





More information about the SDL mailing list