On Mon, Aug 29, 2011 at 04:53:46PM -0400, Chris Frey wrote: > On Fri, Aug 26, 2011 at 07:09:53PM +0200, albe...@mattea.info wrote: > > Hi, I have written a small tool that uses libbarry and SDL to display a > > (sort of) video of your blackberry screen. I'd like to share it here in > > case it is useful to someone. Feedback is appreciated! > > > > To compile: g++ scr.cc -lSDL -lbarry -o scr > > > > Note: currently refresh rate is set to 2fps in order to keep the device > > responsive. If you need higher fps, change the commented line in the > > source file (from 500 to something like 100). > > Thanks very much! Do you mind if I include it in the official Barry tree?
I've actually added this to the Barry tree, under tools. The configure script checks for the SDL library, and builds bwatch if available. I've added the usual -p -P and -v command line switches. I added a -d switch to specify the delay interval between screen updates. I changed the code to resize the screen, in case the screenshot dimensions change. This happens on devices like the Storm, when you tilt it and it goes into landscape mode. I moved the Probe code out of the main loop. I added it to the binary packages, along with a man page. Thanks again! This is a neat little utility. - Chris ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel