Amiga-C (145/223)

From:Elena
Date:17 Aug 2001 at 12:38:56
Subject:[amiga-c] Re: Filequester-button wanted

Hello Fritsch

On 17-Aug-01, Fritsch Alexander wrote:
> Hi all.
> I am looking for that little button that often appear in GUIs which you can press
> toopen a filerequester. Do you know what I mean?
>
> The reason is the following:
> I ported a program from 68k to PPC. Thats really no problem in MorphOS but it
> seems to be in PowerUp/WarpOS. The original program uses a GUI designed with
> GadToolsBox. To create that little button some assembly source is used.
why assembly ?

> There a class is inheritated from imageclass. Via a hook function the actual
> button is drawn. As this is done in the context of the 68k it cant be simple
> done in PowerUp/WarpOS.
> I therefore ask whether there is a similar button somewhere in the AMigaOS
> that I can use as a replacement of the GadToolsBox-botton...
> The Gadtoolsbox-Button is in boopsi.s from GadToolsBox.

I found no similar image into the rom sysimage class.
You could:
1) draw your own image and load it via bitmap.class (but probably you
want it to be scalable...)
2) use Reaction one: images/gliph.image and pass to it GLYPH_POPFILE
(see gadgets/glyph.h)

Regards,
Elena

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get VeriSign's FREE GUIDE: "Securing Your Web Site for Business." Learn about using SSL for serious online security. Click Here!
http://us.click.yahoo.com/KYe3qC/I56CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/