[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-dev] PG_Image
From: |
andy uehara |
Subject: |
[paragui-dev] PG_Image |
Date: |
Fri, 17 May 2002 06:56:13 -0700 (PDT) |
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.
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.
andy
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
- [paragui-dev] PG_Image,
andy uehara <=