[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-dev] PG_Image
From: |
Alexander Pipelka |
Subject: |
Re: [paragui-dev] PG_Image |
Date: |
27 May 2002 18:39:53 +0200 |
Am Fre, 2002-05-17 um 15.56 schrieb andy uehara:
> While playing with PG_Image I noticed that:
> The constructor segfaults if style==NULL
>
> PG_Image (PG_Widget *parent, const PG_Point &p, const
> char *filename, const char *style="ThemeWidget")
>
> So I had to do:
> PG_Image myImage(NULL, pnt,"icon.bmp", "default");
>
> The reason I point this out is because:
> PG_Label (PG_Widget *parent, const PG_Rect &r, const
> char *text, const char *style="Label")
>
> where if style==NULL it defaults to default
> just another minor inconsistency.
> I am not sure if this is because
> PG_Image inherits from themed widget so you might want
> to check the rest of the themed widgets.
It's an inconsistency, right.
But it's correctable i think. Maybe we can fix this for the next
release.
>
> As I am still trying to get feelers for the lib. When
> I get comfortable I will try and be more proactive and
> actually submit patches.
Cool. Thanks. Help is definitely needed :))
Alex