Re: 2nd call

2002-05-28 Thread Angus Leeming
On Mon, May 27, 2002 at 06:31:59PM +0200, Lars Gullik Bj?nnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | void startProcess() > | { > | andre.graphic = new GraphicsItem("foo.eps"); > | andre.graphic.connect(SigC::slot(&andre, loaded_slot()); >

Re: 2nd call

2002-05-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | void startProcess() | { | andre.graphic = new GraphicsItem("foo.eps"); | andre.graphic.connect(SigC::slot(&andre, loaded_slot()); ^^ But not this easy... -- Lgb

Re: 2nd call

2002-05-27 Thread Angus Leeming
On Mon, May 27, 2002 at 06:01:25PM +0200, Andre Poenitz wrote: > > In fact, all we need to do is make the InsetGraphics store a > > shared_ptr and we're there. All that ModifiedImage > > rubbish in GCacheItem could go the way of the dodo. Feel free... > > I don't feel competent enough in this ar

Re: 2nd call

2002-05-27 Thread Andre Poenitz
On Mon, May 27, 2002 at 02:35:37PM +0100, Angus Leeming wrote: > ??? But that is crap too since "load" actually requires "conversion" first > and this can be /extremely/ slow. Just suppose for a while that I have done that. > Hence the graphics cache. The only thing wrong with the cache is that

Re: 2nd call

2002-05-27 Thread Angus Leeming
On Mon, May 27, 2002 at 05:36:12PM +0200, Andre Poenitz wrote: > On Mon, May 27, 2002 at 02:02:30PM +0100, Angus Leeming wrote: > > As currently written, the grfx::GCache must be passed a pointer to an > > InsetGraphics, so I guess that you need to create such an inset. Yes, I > > know that this i

Re: 2nd call

2002-05-27 Thread Andre Poenitz
On Mon, May 27, 2002 at 02:02:30PM +0100, Angus Leeming wrote: > As currently written, the grfx::GCache must be passed a pointer to an > InsetGraphics, so I guess that you need to create such an inset. Yes, I > know that this is crap. To put it politely. Looks as some level of seperation of func

Re: 2nd call

2002-05-27 Thread Angus Leeming
On Mon, May 27, 2002 at 04:59:13PM +0200, Andre Poenitz wrote: > On Mon, May 27, 2002 at 01:31:14PM +0100, Angus Leeming wrote: > > > Can anybody tell me how to show the contents of a given graphics file (say > > > .eps or .xpm) in the LyX canvas? > > > > Perhaps I'm being stupid, but I don't und

Re: 2nd call

2002-05-27 Thread Andre Poenitz
On Mon, May 27, 2002 at 01:31:14PM +0100, Angus Leeming wrote: > > Can anybody tell me how to show the contents of a given graphics file (say > > .eps or .xpm) in the LyX canvas? > > Perhaps I'm being stupid, but I don't understand what you mean. I > suspect that you don't just mean Insert->Graph

Re: 2nd call

2002-05-27 Thread Angus Leeming
On Mon, May 27, 2002 at 04:45:30PM +0200, Andre Poenitz wrote: > Can anybody tell me how to show the contents of a given graphics file (say > .eps or .xpm) in the LyX canvas? Perhaps I'm being stupid, but I don't understand what you mean. I suspect that you don't just mean Insert->Graphics... An

2nd call

2002-05-27 Thread Andre Poenitz
Can anybody tell me how to show the contents of a given graphics file (say .eps or .xpm) in the LyX canvas? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)