Re: Component Icons



Owen Fraser-Green <owen discobabe net> writes:

> Hi,
> 
> > You will need to somehow either encode the pixmap itself into the
> oafinfo
> 
> > file (bad), or hack a new attribute type into OAF that streams the
> > contents of a file instead of the filename (BAAAAAAD).
> > In other words, I have no idea how this could be done Right(tm).
> 
> 
> Yes. It would be bad to referance on the local file system because the
> component implementation may be residing on a remote machine. It would
> also seem useful to me to tie a pixmap to each component which can be
> used by IDE's etc.
> 
> I don't see why the pixmap couldn't be included as an oaf_attribute in
> XPM format. After all, it would probably take less room than
> description-ko :)
> 

Hmmm. Now that we have xml-i18n-tools, we could make the .oaf.in file
include the path to a png icon, and the .oaf file include serialized
png data. Does this sound remotely sane to anyone?

 - Maciej





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]