Archived

This topic is now archived and is closed to further replies.

LongJohn

SDL/OpenGL mouse input for GUI ?

Recommended Posts

LongJohn    122
hi, where should i start for information on the best way to make a GUI ? the whole prog would be 2D ,(not a game),mostly in windowed mode. i whant to use openGL & SDL (linux). But how do i handle the mouse input,e.g. how can i know where the mouse actually is and make this interact with my program ? how can i check if mouse input is currently posssible-meaning is the mouse over the program´s window ? will the performance be bad ? any ideas,recomondations,links,tutorials,are apreciated..the GUI-question semms to be asked often anyways .. thx

Share this post


Link to post
Share on other sites
i made a little gui with SDL,, it''s very little . it''s just a class button..

if you want it mail me i''ll send it to you with an explanation.
you have to know c++ (i mean derivated classes and all that sh...)

nesdavid@hotmail.com

Share this post


Link to post
Share on other sites