Archived

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

SDL/OpenGL mouse input for GUI ?

This topic is 5434 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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