On Fri, 18 Jul 2014, Jack wrote: > Le 18/07/2014 14:14, Julio Sanchez a ??crit : > > Jack: > > > >> with a Gambas command ? > > gb.desktop component with: > > > > Dim p As Picture > > p =Desktop.Screenshot(x1, y1, x2 , y2 ) > > p.save ("filename.png") > > > > > > ' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3 > > > > But not if you're going to run gb.sdl > > > sorry Julio, but I only have sdl. > > It's a pity we cannot copy part of the screen in a picture variable. we > could draw a figure in one part of the screen and then we could post it > everywhere else. >
By "screen" you mean the whole desktop, not just your SDL window, right? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user