[Gambas-user] gambas 0.70

Benoit Minisini gambas at ...2...
Fri Sep 19 23:25:13 CEST 2003


Hi gambas users,

After a long time, here is a new important version of gambas:

This version contains:

1) A reworked configuration script. It means that some systems other than 
Mandrake may have problems with detecting libraries and headers path. Tell me 
if you get problems, because the aim of this new configuration script is to 
be easier and more powerful.

2) The merge of the file selector made by Fabien Bodard. To Fabien: I have 
just found a bug in the rename function : rename a file, then rename the new 
file to the old one, but cancel the operation.

3) A new SDL component in beta version so that Ahmad Kahmal could start to 
play with it :-) To Ahmad: on my computer, the sound is full of noise when I 
use this component. It seems that the SDL component and gambas interact 
badly...

4) A better FreeBSD support.

5) Completely reworked event handlers for keyboard and mouse events.

I give you examples:

PUBLIC SUB MyControl_KeyPress(Ascii AS String, Code AS Integer, State AS 
Integer)
...
END

becomes

PUBLIC SUB MyControl_KeyPress()
...
' Use Key.Text, Key.Code, Key.Shift, ...
...
END

PUBLIC SUB MyControl_MousePress(X AS Integer, Y AS Integer, Button AS Integer)
...
END

becomes

PUBLIC SUB MyControl_MousePress()
...
' Use Mouse.X, Mouse.Y, Mouse.Left, Mouse.Shift, ...
...
END

See the ChangeLog for more details.

This is the worse for everybody, because all keyboard and event handlers in 
every gambas project must be rewritten to work with this version :-)

So I have only two words: cheer up !

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list