[Gambas-user] Little bug in IconView, and a question.

2011-04-30 Thread Federico Leite
Hi all, IconView has a bug. This is an oversight, and verify which mouse button has been pressed to initiate a selection. Code in the line 815: If $iMode = Select.Multiple And Mouse.Left Then Well, now the question. Why are we using control Separator, instead of using a class that use Draw.Style.

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
On 04/30/2011 11:07 PM, Benoît Minisini wrote: >> >> Does SDL even have a rotate function? I did some quick research and >> found mixed results. Looks like there's something called SDL_gfx that >> might do it (rotozoomer). If SDL flat-out isn't designed to do it, then >> I perfectly understand the

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Benoît Minisini
> On 04/30/2011 10:31 PM, Benoît Minisini wrote: > > I'm not talking about making a 3D game engine. I'm just talking about > > using a few OpenGL commands to: > > > > - blend images on the screen. > > - rotate the game screen as you want. > > > > As far as I understood, while the player moves, yo

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
On 04/30/2011 10:31 PM, Benoît Minisini wrote: > > I'm not talking about making a 3D game engine. I'm just talking about using a > few OpenGL commands to: > > - blend images on the screen. > - rotate the game screen as you want. > > As far as I understood, while the player moves, you have to build

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Benoît Minisini
> > > Before learning C, look at OpenGL to see how you can have a fast rotate > > and blit function. (But for DrawAlpha, I don't know if it possible to do > > it with OpenGL, I have no idea.) > > When I do learn C it will be applied directly to GAMBAS. I have no > reason to believe that programmi

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
On 04/30/2011 09:55 PM, Benoît Minisini wrote: >> On 04/30/2011 09:19 PM, Kevin Fishburne wrote: >> >> Something like: >> >> If TargetWidth = SourceWidth And TargetHeight = SourceHeight Then >> Do_Not_Use_Scaling_Blit_Algorithm >> Else >> Use_Scaling_Blit_Algorithm >> EndIf >> >> But in C. :) S

Re: [Gambas-user] Gambas 3 working on Ubuntu Natty with Unity interface - Unable to run ./reconf-all for a fresh SVN download

2011-04-30 Thread Ian Roper
Greetings all, Menu Problem: I have found the same issue with Ubuntu Natty - no menus displayed for Gambas 3. I did the online upgrade and was watching the process run and noticed that it started to touch Gambas files. I can't be 100% sure because the proc

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Benoît Minisini
> On 04/30/2011 09:19 PM, Kevin Fishburne wrote: > > On 04/30/2011 09:05 PM, Benoît Minisini wrote: > >> I fixed Image.PaintImage() in gb.image.imlib, so your code should work > >> again. > >> > >> Now let's try to fix gb.image... > > > > Compiling now on a quad-core 3.5 GHz CPU overclocked to 4.

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
On 04/30/2011 09:19 PM, Kevin Fishburne wrote: > On 04/30/2011 09:05 PM, Benoît Minisini wrote: >> >> I fixed Image.PaintImage() in gb.image.imlib, so your code should work again. >> >> Now let's try to fix gb.image... > > Compiling now on a quad-core 3.5 GHz CPU overclocked to 4.1 GHz. > Muwahahaa

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
On 04/30/2011 09:05 PM, Benoît Minisini wrote: > > I fixed Image.PaintImage() in gb.image.imlib, so your code should work again. > > Now let's try to fix gb.image... Compiling now on a quad-core 3.5 GHz CPU overclocked to 4.1 GHz. Muwahaha! Will report results shortly. -- Kevin Fishburne Ei

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Benoît Minisini
> On 04/30/2011 08:46 PM, Benoît Minisini wrote: > >> It seems the destination width/height parameters have been removed from > >> these two methods in a recent gb3 revision. Is there an alternate way to > >> scale a subset of the source image to the target image? 90% of my code > >> doesn't scale

Re: [Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Benoît Minisini
> It seems the destination width/height parameters have been removed from > these two methods in a recent gb3 revision. Is there an alternate way to > scale a subset of the source image to the target image? 90% of my code > doesn't scale it at all but scaling is still necessary for some operations.

[Gambas-user] gb3: recent changes to PaintImage and DrawImage

2011-04-30 Thread Kevin Fishburne
It seems the destination width/height parameters have been removed from these two methods in a recent gb3 revision. Is there an alternate way to scale a subset of the source image to the target image? 90% of my code doesn't scale it at all but scaling is still necessary for some operations. --

[Gambas-user] Bakcground property in FileView

2011-04-30 Thread Federico Leite
Hi, the Background property in FileView doesn't works...Well, it's simple: Property Bakcground As Integer Private Function Background_Read() As Integer Return $hIconView.Background End Private Sub Background_Write(Value As Integer) $hIconView.Background = Value End Regards, -- Federico Lei

Re: [Gambas-user] Issue 62 in gambas: No way to rename project

2011-04-30 Thread gambas
Comment #3 on issue 62 by benoit.m...@gmail.com: No way to rename project http://code.google.com/p/gambas/issues/detail?id=62 To change the project title, go to the first tab of the project property dialog in the IDE, and modify the field named "title". ---

[Gambas-user] Gambas3: webview control

2011-04-30 Thread Andrea Bertini
1. userid and password management is planned or possible? 2. how to enable flash plugin? 3. it is possible from code to send data to field of a web page? thx Andrea Bertini -- WhatsUp Gold - Download Free Network Managem