Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-20 Thread MinnesotaJon
Hello, Jacky -- You may find it useful to go to my Wordpress blog: http://beginnersguidetogambas.com/ On the main page, you will find a list of downloads, including download #4, "4.Gambas3". This download includes a program that I wrote called "Screenshooter", which uses the Window.Screenshot m

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-19 Thread Jack
Le 19/07/2014 21:03, Benoît Minisini a écrit : > Le 18/07/2014 08:32, Jack a écrit : >> Hello ! >> >> screen.copy (x, y, w, h) does not exist, then in a sdl project, how to >> make a copy of part of the screen. >> > > In revision #6389, I added a Window.Screenshot() method that returns the > conten

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-19 Thread Benoît Minisini
Le 18/07/2014 08:32, Jack a écrit : > Hello ! > > screen.copy (x, y, w, h) does not exist, then in a sdl project, how to > make a copy of part of the screen. > In revision #6389, I added a Window.Screenshot() method that returns the contents of the SDL window as an Image object. I will add optio

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-19 Thread Tobias Boege
On Sat, 19 Jul 2014, Jack wrote: > Le 18/07/2014 15:09, Tobias Boege a ?crit : > > By "screen" you mean the whole desktop, not just your SDL window, right? > > Excuse me Tobi. I was not very clear. Screen for me is only sdl window. > it's the working screen defined by the Gambas program. > OK.

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Jack
Le 18/07/2014 15:09, Tobias Boege a écrit : > By "screen" you mean the whole desktop, not just your SDL window, right? Excuse me Tobi. I was not very clear. Screen for me is only sdl window. it's the working screen defined by the Gambas program. -- Cordialement Jacky Tripoteau ---

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Tobias Boege
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/c

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Jack
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 yo

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Julio Sanchez
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 Regards Julio 2014-07-18 13:38 GMT+0

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Jack
Le 18/07/2014 11:11, Julio Sanchez a écrit : > > You can use the terminal command "scrot" > > http://www.tecmint.com/take-screenshots-in-linux-using-scrot/ > Thank you Julio, but i would prefer another solution with only Gambas. No another way with a Gambas command ? -- Cordialement Jacky Tri

Re: [Gambas-user] how copy the screen to memory on a sdl project

2014-07-18 Thread Julio Sanchez
Jack: You can use the terminal command "scrot" http://www.tecmint.com/take-screenshots-in-linux-using-scrot/ Regards 2014-07-18 8:32 GMT+02:00 Jack : > Hello ! > > screen.copy (x, y, w, h) does not exist, then in a sdl project, how to > make a copy of part of the screen. > > -- > Cordialement

[Gambas-user] how copy the screen to memory on a sdl project

2014-07-17 Thread Jack
Hello ! screen.copy (x, y, w, h) does not exist, then in a sdl project, how to make a copy of part of the screen. -- Cordialement Jacky Tripoteau -- Want fast and easy access to all the code in your enterprise? Index