Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Ondrej Pokorny via Lazarus
First of all, the image list became multi-resolution. You have the new class TCustomImageListResolution that is the new "TCustomImageList". You have to move your custom code there. On 08.02.2018 16:02, lainz via Lazarus wrote: Hi, I have a component BGRAImageList that fixes basically the

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 5:02 PM, lainz via Lazarus wrote: > 1.8 > TCustomImageList = class(TLCLReferenceComponent) > > 1.9 is TCustomImageList = class(TLCLComponent), so the method > ReferenceNeeded is not available. > > Questions: > - *What does ReferenceNeeded, and

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Leandro Diaz via Lazarus
Ok Juha thanks. And what about the ifdef for that missing method? ReferenceNeeded Sent from Mailspring (https://link.getmailspring.com/link/local-0739f840-40a8-v1.1.3-27dcee2f@PC-i7/0?redirect=https%3A%2F%2Fgetmailspring.com%2F=lazarus%40lists.lazarus-ide.org), the best free email app for work

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 5:02 PM, lainz via Lazarus wrote: > My question is *if the method still will be called instead of the LCL one in > 1.9 without using override*. I know this is a basic of OOP but I need a bit > of help because I never use virtual and overload.

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread lainz via Lazarus
Hi, I have a component BGRAImageList that fixes basically the alpha channels of the regular ImageList on Linux using BGRABitmap. I did not code that component, but I'm the one that updates the package. Sources: https://github.com/bgrabitmap/bgracontrols/blob/master/bgraimagelist.pas It works

Re: [Lazarus] High-DPI TImageList

2018-02-06 Thread Werner Pamler via Lazarus
Am 06.02.2018 um 07:00 schrieb Ondrej Pokorny via Lazarus: Lazarus is perfectly backwards compatible. E.g. If you want to support 1.6, write your demos in 1.6 -> 1.8 and 1.9 will open your project without problems. This is correct. But unrealistic. Even if I write a demo for 1.8 I must test

Re: [Lazarus] High-DPI TImageList

2018-02-06 Thread Ondrej Pokorny via Lazarus
On 06.02.2018 7:00, Ondrej Pokorny via Lazarus wrote: On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Ondrej Pokorny via Lazarus
On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution images? Fixed. The problem is that once a form with an

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Werner Pamler via Lazarus
Am 05.02.2018 um 19:45 schrieb Ondrej Pokorny via Lazarus: On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Ondrej Pokorny via Lazarus
On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution images? The problem is that once a form with an image

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Giuliano Colla via Lazarus
Il 05/02/2018 16:01, Ondrej Pokorny via Lazarus ha scritto: No, it's not needed if no extra resolutions are stored. I'll check if it can be omitted (it's a manually added entry and not a normal property). If not, I'll add an ignore entry for 1.8.2. In the past undefined properties were

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Ondrej Pokorny via Lazarus
On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution images? The problem is that once a form with an image

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Werner Pamler via Lazarus
The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution images? The problem is that once a form with an image list has been opened by Laz trunk it cannot be opened by

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread C Western via Lazarus
On 29/01/18 22:10, C Western via Lazarus wrote: On 29/01/18 09:44, Ondrej Pokorny via Lazarus wrote: On 29.01.2018 10:02, C Western via Lazarus wrote: On 29/01/18 08:45, Ondrej Pokorny via Lazarus wrote: On 28.01.2018 15:33, C Western via Lazarus wrote: On 27/01/18 18:59, Ondrej Pokorny via

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread C Western via Lazarus
On 29/01/18 09:44, Ondrej Pokorny via Lazarus wrote: On 29.01.2018 10:02, C Western via Lazarus wrote: On 29/01/18 08:45, Ondrej Pokorny via Lazarus wrote: On 28.01.2018 15:33, C Western via Lazarus wrote: On 27/01/18 18:59, Ondrej Pokorny via Lazarus wrote: I merged the High-DPI

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread Werner Pamler via Lazarus
Am 29.01.2018 um 11:29 schrieb Ondrej Pokorny via Lazarus: On 29.01.2018 0:18, Werner Pamler via Lazarus wrote: Porting the TurboPower SysTools library to Lazarus, I noticed today (after having updated trunk to contain the new imagelist) that their palette icons no longer have a transparent

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread Ondrej Pokorny via Lazarus
On 29.01.2018 0:18, Werner Pamler via Lazarus wrote: Am 27.01.2018 um 19:59 schrieb Ondrej Pokorny via Lazarus: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread Ondrej Pokorny via Lazarus
On 29.01.2018 10:02, C Western via Lazarus wrote: On 29/01/18 08:45, Ondrej Pokorny via Lazarus wrote: On 28.01.2018 15:33, C Western via Lazarus wrote: On 27/01/18 18:59, Ondrej Pokorny via Lazarus wrote: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread C Western via Lazarus
On 29/01/18 08:45, Ondrej Pokorny via Lazarus wrote: On 28.01.2018 15:33, C Western via Lazarus wrote: On 27/01/18 18:59, Ondrej Pokorny via Lazarus wrote: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread Ondrej Pokorny via Lazarus
On 28.01.2018 15:33, C Western via Lazarus wrote: On 27/01/18 18:59, Ondrej Pokorny via Lazarus wrote: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in

Re: [Lazarus] High-DPI TImageList

2018-01-28 Thread Werner Pamler via Lazarus
Am 27.01.2018 um 19:59 schrieb Ondrej Pokorny via Lazarus: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in http://wiki.freepascal.org/Lazarus_1.10.0_release_notes Porting the

Re: [Lazarus] High-DPI TImageList

2018-01-28 Thread C Western via Lazarus
On 27/01/18 18:59, Ondrej Pokorny via Lazarus wrote: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in http://wiki.freepascal.org/Lazarus_1.10.0_release_notes Ondrej With

Re: [Lazarus] High-DPI TImageList

2018-01-27 Thread Ondrej Pokorny via Lazarus
I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in http://wiki.freepascal.org/Lazarus_1.10.0_release_notes Ondrej -- ___ Lazarus

Re: [Lazarus] High-DPI TImageList

2018-01-11 Thread Ondrej Pokorny via Lazarus
I added Qt, Qt5 and Gtk2 support. I also rewrote the IDE ImageList editor to support multiple resolutions. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] High-DPI TImageList

2018-01-10 Thread Ondrej Pokorny via Lazarus
And the screenshots of a LCL application at 100% and 150%. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] High-DPI TImageList

2018-01-10 Thread Ondrej Pokorny via Lazarus
I am happy to announce that I uploaded the first version of High-DPI TImageList. The LCL part should be complete, the win32 part as well. There is one backwards compatibility issue: adding sprites - their support is broken (the image is added as one and not cut into several images). I haven't