Fanzhe, I have been working on a sdl wrapper for boost::gil. It lets
you draw on a canvas and react to event such as a timer event. I was
thinking of outsourcing this portion so people can use just that. The
good thing is the sdl is supporting almost the same platforms as boost
does. The bad thing probably is the license sdl is using, LGPL.
If you want I can give you a pointer for the code.
Christian
On 6/6/07, fanzhe cui
Yes, I was referring to that library and more info could be found from the web: http://www.libsdl.org/. The problem with the boost timer that you mentioned is that it provides the time elapsed, but not the interface like provided by SDL lib. Particularly the kind of timer callback function that is available in SDL lib is not available in Boost lit.
Best regards, Fanzhe Cui
++++++++++++++++++++++ Goldiom Systems LLC - Information and Communication Technology Provider Email: fanzhe.cui@goldiom.com Tel: 973-210-4254 www.goldiom.com
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tarjei Knapstad Sent: Wednesday, June 06, 2007 4:02 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
On 6/6/07, fanzhe cui
wrote: I have been using both Boost lib and GameDev SDL lib in same projects. Both of the lib have very good platform independency. But they have some functionalities overlapping each other and I would like to use only one of them. The timer lib in GameDev SDL is very easy to use and I hope such lib or functionally similar one exists in Boost lib. I had a look at boost archive on previous discussion on implementing Boost timers and feel that there is still no good implementation of timer in Boost lib (correct me if I am wrong). Anybody in this email list had a look at GameDev timer and have considered implementing such a lib in Boost?
Are you referring to the Simple Direct Medialayer?
http://lazyfoo.net/SDL_tutorials/lesson12/index.php
What's wrong with/missing in boost::timer ?
http://boost.org/libs/timer/index.html
-- Tarjei _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users