Re: [Gambas-user] algorithm for scaling 2D coordinates centered on an arbitrary point

2011-08-16 Thread Kevin Fishburne
On 08/17/2011 12:48 AM, Kevin Fishburne wrote: > I'm sure this is ridiculously simple, but my simple brain can't seem > to figure it out. > > I have a set of screen coordinates, xPos and yPos. I need to adjust > their positions based on a zoom level, CameraZoom. The zoom level is > relative to t

[Gambas-user] algorithm for scaling 2D coordinates centered on an arbitrary point

2011-08-16 Thread Kevin Fishburne
I'm sure this is ridiculously simple, but my simple brain can't seem to figure it out. I have a set of screen coordinates, xPos and yPos. I need to adjust their positions based on a zoom level, CameraZoom. The zoom level is relative to the center of the screen (swidth / 2, sheight / 2), and th

[Gambas-user] painting / drawing multiple layers

2011-08-16 Thread olmec
I am attempting to draw / paint into a drawingarea with 2 different layers. The background id a picture object and takes up the entire drawing area The layer on top is a polygon drawn by the mouse and is currently as a picture object created with pain controls but this does not display nicely an

Re: [Gambas-user] Issue 79 in gambas: Deleting a Menu Item delete all successive items

2011-08-16 Thread gambas
Updates: Status: Fixed Comment #2 on issue 79 by benoit.m...@gmail.com: Deleting a Menu Item delete all successive items http://code.google.com/p/gambas/issues/detail?id=79 Fixed in revision #4011. -- Get a FR

Re: [Gambas-user] Issue 79 in gambas: Deleting a Menu Item delete all successive items

2011-08-16 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 79 by benoit.m...@gmail.com: Deleting a Menu Item delete all successive items http://code.google.com/p/gambas/issues/detail?id=79 (No comment was entered for this change.)

[Gambas-user] gb3 example CDPlayer: no sound

2011-08-16 Thread Matti
This example recognizes the CD and all of the tracks. Playing seems to run (status bar is changing), but there is no sound. Sound is working fine otherwise. openSUSE 11.4 gb3 v4010 Tell me if you need more info on the sound system (Alsa/Oss) Regards Matti

Re: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3

2011-08-16 Thread gambas
Comment #8 on issue 43 by math.e...@t-online.de: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 Well, appearently something changed on my system. I'll never know! ---

[Gambas-user] gb3 example MusicPlayer: app hangs

2011-08-16 Thread Matti
If I open any sound file, there is this message in console: "KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not d

Re: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3

2011-08-16 Thread gambas
Updates: Status: Fixed Comment #7 on issue 43 by benoit.m...@gmail.com: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 OK, even if I changed nothing since! --

Re: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3

2011-08-16 Thread gambas
Comment #6 on issue 43 by math.e...@t-online.de: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 Forgot about this. Works fine now with gb3 v4010. Give it Status: Fixed. -

Re: [Gambas-user] HSPlit problem

2011-08-16 Thread Charlie Reinl
Am Dienstag, den 16.08.2011, 11:45 -0300 schrieb Dag-Jarle Johansen: > I just stay on the cable. Salut Dag, nice expression, as native german I can imagine what you want to express, but please let them know what it is "auf der Leitung stehen" Thanks -- Amicalement Charlie ---

Re: [Gambas-user] mailinglist digest question

2011-08-16 Thread Jussi Lahtinen
Try to keep original subject line, and delete all unnecessary text from reply. I find using digests not so convenient... I highly recommend to use gmail and to do separated folders for mailing lists. Jussi On Tue, Aug 16, 2011 at 19:54, wally wrote: > > How can i reply to single topic in a mai

[Gambas-user] mailinglist digest question

2011-08-16 Thread wally
How can i reply to single topic in a mailinglist digest ? thx wally -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the

Re: [Gambas-user] write to file question

2011-08-16 Thread Jussi Lahtinen
Maybe you need to flush some stream before closing? Jussi On Tue, Aug 16, 2011 at 19:31, Jussi Lahtinen wrote: > What is your Gambas version and operating system? > Can you send demonstration project? > Code in your mail seems to be OK, so I think the problem is somewhere else. > > Jussi > > >

Re: [Gambas-user] write to file question

2011-08-16 Thread Jussi Lahtinen
What is your Gambas version and operating system? Can you send demonstration project? Code in your mail seems to be OK, so I think the problem is somewhere else. Jussi On Mon, Aug 15, 2011 at 15:03, wally wrote: > Hi, > > i try to write data to a new file in the following way: > > Public hF

[Gambas-user] WebView Object and proxy parameter

2011-08-16 Thread Olivier Cruilles
Hello all, Does anyone know how to use or config the proxy parameter (Ex: http://192.168.0.1:8080) using a WebView object please ? I try to configure the HTTP_PROXY variable in the user profile, try to configure in the KDE control panel parameters of proxy but nothing change. Fedora 14 +

Re: [Gambas-user] HSPlit problem

2011-08-16 Thread Fabien Bodard
2011/8/16 Dag-Jarle Johansen : > Hi out there! > > Latalely I have tried to use the design-objects of G3/4009, most work as > aspected. But I would like to know: How can I set the position of the split > in the HSplit-object? I saw there is .Setting and .Layout available, but > without any referenc

Re: [Gambas-user] HSPlit problem

2011-08-16 Thread charlesg
Hi Dag-Jarle Johansen wrote: > > How can I set the position of the split > hsplit1.Layout = [100, 200] -- View this message in context: http://old.nabble.com/HSPlit-problem-tp32272420p32272651.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] HSPlit problem

2011-08-16 Thread Dag-Jarle Johansen
Hi out there! Latalely I have tried to use the design-objects of G3/4009, most work as aspected. But I would like to know: How can I set the position of the split in the HSplit-object? I saw there is .Setting and .Layout available, but without any references I just stay on the cable. Thanks in ad

Re: [Gambas-user] Help me ....... with Gambas2 and SQlite3

2011-08-16 Thread Fabien Bodard
2011/8/16 charlesg : > > > "Muñoz Palominos, César Augusto" wrote: >> >>       How I can insert a CSV (comma-separated values) file into Sqlite3 >> database in Gambas2 program? >> > > Here is an example. It won't be directly applicable to you but will give > pointers. In constructing the CSV, I use

Re: [Gambas-user] Help me ....... with Gambas2 and SQlite3

2011-08-16 Thread charlesg
"Muñoz Palominos, César Augusto" wrote: > > How I can insert a CSV (comma-separated values) file into Sqlite3 > database in Gambas2 program? > Here is an example. It won't be directly applicable to you but will give pointers. In constructing the CSV, I used "^" as a separator. If you inh

Re: [Gambas-user] Help me ....... with Gambas2 and SQlite3

2011-08-16 Thread Ricardo Díaz Martín
It's very easy: - Open file - Read data and transform into SQL inserts - Execute SQL inserts All of these steps are properly documented in gambas help. Regards, Ricardo Díaz 2011/8/16 César Augusto Muñoz Palominos > Hello: > >How I can insert a CSV (comma-separated values) file into S