[lazarus] New components needed

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Fri Feb 9 08:50:26 EST 2001




On Fri, 9 Feb 2001, Shane Miller wrote:

> TImage would be fairly easy.  Components like TButton, TEdit are REAL easy
> because there is a coresponding component in GTK.  All you do is create a
> constant (like csbutton or csedit) that tells the widget seet what to
> create, then in gtkobject's CreateComponent you add an entry to the case
> statement
> 
> csEdit : p := gtk_edit_new;
> 
> Whith TImage I don't think thee's a coresponding component so it's a little
> more difficult but not much.   You just ahve to decide waht a TImage is.
> Really it's just a canvas you can draw on with functions to load images.

There is a TGtkImage widget in GTK, so TImage should be really easy as well; 
Only you would still have to provide conversion routines for various formats
as GTK works with xpm mostly.

Michael

> 
> Shane
> -----Original Message-----
> From: FoodTechnologist <Vasily.Volchenko at mstu.edu.ru>
> To: lazarus at miraclec.com <lazarus at miraclec.com>
> Date: Friday, February 09, 2001 4:04 AM
> Subject: [lazarus] New components needed
> 
> 
> >As far as I see, some everyday components (such as TImage) are not availabe
> >yet.
> >Let's make it! I don't think this to be too difficult.
> >
> >_________________________________________________________________
> >     To unsubscribe: mail lazarus-request at miraclec.com with
> >                "unsubscribe" as the Subject
> >    archives at http://www.miraclec.com/list_archives/lazarus
> >
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
> 






More information about the Lazarus mailing list