On 8 Aug 2000, Lars Gullik Bjønnes wrote:

> Baruch Even <[EMAIL PROTECTED]> writes:
> 
> | Again the same patch against the most recent CVS, can you please apply
> | this? or do you have any problem with it?
> 
> I have no particular problem with it. However I want you to remember
> that the different gui toolkits usually have support for different
> image types, f.eks. xforms support jpeg/tiff/gif and others.(qt
> supports several and I gues gtk does to), we should take advantage of
> this. This means that the grapics converter need to be told when to
> use the tookits conversions and when to use the external ones.

[This is an answer to both and the Xlib wrapping message reply]

It's pretty hard for me to handle the X11 work itself, let alone the work
for GUII, I prefer to get something up and running now, that will be
comparable with features to the InsetFig and be able to replace it, than
shoot for the stars and build the mega graphics widget that does it all on
all platforms. The reason is simple, I'll be able to cope with a step by
step work, it will be much harder to cope with a grandiose design.

Regarding the image format support in the toolkits, the problem is not
loading the images and showing them, the problem is that we need to do
various transforms on the images, rotation, resizing and color reductions
are the required ones. No toolkit (that I know of and I know very little)
supports such a thing, I believe they will load the image formats, but
that's just not all.

My renderer's are currently X11 dependent since they draw to a Pixmap, but
their full task will be to handle the transformations. I have no final
design I'm actually mostly experimenting, I need to learn a lot to
accomplish what I've undertaken, and besides currently most of lyx is not
GUII so I'm not the only obstacle.

The Xlib wrapping is usefull for me now, it will be usefull even later
when I do make everything I write GUII, it might even be helpful for the
rest of LyX. I do think it to be a good idea to add it and the idea of
Jurgen to place it in the frontends/xforms/xlib++ is the best solution I
think.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/                 (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael


Reply via email to