[lazarus] Imagelist and icon resources

2007-10-09 Thread Jeff Steinkamp
I am putting together a form and currently all I have is the basic form, an action list, menu and am imagelist with 22 icons for the actions. Saved this off and compiled it. After stripping out the symbols and running it through UPX to compress it, the thing is still 860K in size. I am

[lazarus] Imagelist

2005-11-06 Thread Colin Western
The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Colin diff -uNr lazarus/ideintf/menuintf.pas /dos/fpc/lazarus.w/ideintf/menuintf.pas --- lazarus/ideintf/menuintf.pas 2005-10-06 22:08:04.0 +0100 +++

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Mattias

Re: [lazarus] Imagelist

2005-11-06 Thread Colin Western
Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Thanks, but I am sorry

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:52:57 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with

Re: [lazarus] ImageList editor

2005-09-13 Thread Mattias Gaertner
On Mon, 12 Sep 2005 19:22:56 +0200 Dex [EMAIL PROTECTED] wrote: Solves #594, #654, #790, #454 On Tue, 13 Sep 2005 11:55:55 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: I got a patch. I can't test it myself, but I wonder, why the fImg.Picture.clear; 'fixes'

[lazarus] ImageList editor

2005-09-12 Thread Dex
Solves #594, #654, #790, #454 *** *** 105,113 if (Item.ImageIndex=0) then begin //Clear old image ! // fImg.Picture.BitMap.Canvas.Brush.Color:=clWhite; ! // fImg.Picture.BitMap.Canvas.FillRect(Rect(0,0,fImg.Width,fImg.Height)); !