[Gambas-user] Graphics programming help

2017-04-23 Thread Leon Davis
I've programmed in Microsoft VB since v3.0 and am now using gambas v3.9.2.
When I initially created the project I selected "Graphical application".I
am creating a image display app and have two quick questions please:

1. How do I have my program register itself with the OS?

2. I want to create transitions between images i.e., fades, wipes, blinds
in, spiral out.

If someone can point me in the right direction it will be greatly
appreciated.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Graphics programming help

2017-04-23 Thread T Lee Davidson
On 04/23/2017 03:59 PM, Leon Davis wrote:
>
> 1. How do I have my program register itself with the OS?

That depends on the Desktop Environment you use. Here is a link for KDE:
http://gambaswiki.org/wiki/howto/autorun


> 2. I want to create transitions between images i.e., fades, wipes, blinds
> in, spiral out.

I don't do much at all with graphics. But perhaps this might get you started:
http://gambaswiki.org/wiki/comp/gb.image.effect/image


-- 
Lee


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with lazy regexp

2017-04-23 Thread T Lee Davidson
According to http://gambaswiki.org/wiki/doc/pcre , using "*?" in a regular expression should lazily match 0 or more characters. 
However, it appears to act greedily.


I am trying to do some very simple HTML tag stripping with 'Regex.Replace(sText, "<.*?>", "")', and it takes out way more than 
just the tags.


Have I misunderstood the documentation?

(Project attached.)

--
Lee

[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=4.4.57-18.3-default
Architecture=x86_64
Distribution=SuSE NAME="openSUSE Leap"
VERSION="42.2"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.2"
PRETTY_NAME="openSUSE Leap 42.2"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.2"
BUG_REPORT_URL="https://bugs.opensuse.org";
HOME_URL="https://www.opensuse.org/";
Desktop=KDE5
Theme=QtCurve
Language=en_US.UTF-8
Memory=3951M

[Libraries]
DBus=libdbus-1.so.3.8.14
OpenGL=libGL.so.1.2.0

[Environment]
(redacted)


lazyregextest-0.0.1.tar.gz
Description: application/gzip
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user