Re: [fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Graeme Geldenhuys
On 03/07/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Create a descendent of TFPCustomImage, say TFPGUIImage. It has an internal TXImage field. When the dimensions are set of the image (in SetSize), you allocate the TXImage with the correct dimensions: So I think the best is to override set

Re: [fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Graeme Geldenhuys wrote: > Hi, > > I'm trying to implement fpimage support in the fpGUI widget framework. > I'm really confused at the moment. :) The following queries apply > to X11 (xlib) only. My GDI (windows) support will come later. > > My current BMP image implement

[fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Graeme Geldenhuys
Hi, I'm trying to implement fpimage support in the fpGUI widget framework. I'm really confused at the moment. :) The following queries apply to X11 (xlib) only. My GDI (windows) support will come later. My current BMP image implementation (which doesn't use the fpimage unit) has an internal TX