Re: [Lazarus] Color and transparancy selection ?

2018-03-29 Thread Graeme Geldenhuys via Lazarus
On 2018-03-23 08:27, Michael Van Canneyt via Lazarus wrote: > This is lazarus, after all - it should work on all supported platforms. ROFL. Sorry, I couldn't resist. ;-) Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org htt

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Ondrej Pokorny via Lazarus
On 23.03.2018 10:51, Michael Van Canneyt via Lazarus wrote: I need it for FPReport, meaning it must be in Lazarus itself, so I will write a minimalistic dialog that supports Alpha and include it in the report designer package. Yes, that makes sense. In Lazarus itself the same problem is solve

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Michael Van Canneyt via Lazarus
On Fri, 23 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 23.03.2018 8:11, Michael Van Canneyt via Lazarus wrote: Since I don't want dependencies on other packages - only the LCL can be used - this is not an option... Unfortunately LCL always uses native widgets - including dialogs. Non-na

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Ondrej Pokorny via Lazarus
On 23.03.2018 8:11, Michael Van Canneyt via Lazarus wrote: Since I don't want dependencies on other packages - only the LCL can be used - this is not an option... Unfortunately LCL always uses native widgets - including dialogs. Non-native and custom widgets (that are not in the VCL) are left

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/23/2018 10:27 AM, Michael Van Canneyt via Lazarus wrote: ported platforms. Well, Qt works on all supported desktop platforms :) Oh please, you know what I meant :) s/platforms/platforms+widgetsets/g :) Of course I know :) zeljko -- ___ La

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Michael Van Canneyt via Lazarus
On Fri, 23 Mar 2018, zeljko wrote: On 03/23/2018 09:27 AM, Michael Van Canneyt via Lazarus wrote: On Fri, 23 Mar 2018, zeljko wrote: On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/23/2018 09:27 AM, Michael Van Canneyt via Lazarus wrote: On Fri, 23 Mar 2018, zeljko wrote: On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt4/Qt5 ws have alpha option in standard

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Michael Van Canneyt via Lazarus
On Fri, 23 Mar 2018, zeljko wrote: On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt4/Qt5 ws have alpha option in standard color dialog. That's no good to me. It needs to work on all pl

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt4/Qt5 ws have alpha option in standard color dialog. zeljko -- ___ Lazarus mailing list Lazarus@l

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Ondrej Pokorny via Lazarus
On 23.03.2018 1:25, Werner Pamler via Lazarus wrote: Looking at the demo of the mbColorLib again after some time I see now a terrible flicker on Windows. Ondrej, I fear your change in double-buffering killed a majority of third-party components. It may take some time until all authors will fix

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Michael Van Canneyt via Lazarus
On Fri, 23 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 22.03.2018 21:41, Michael Van Canneyt via Lazarus wrote: On Thu, 22 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Maybe you can try to build one using http://wiki.lazarus.fr

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread Ondrej Pokorny via Lazarus
On 22.03.2018 21:41, Michael Van Canneyt via Lazarus wrote: On Thu, 22 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers It looks like I

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Anthony Walter via Lazarus
I've written a pascal version of some color controls which I've ported to Lazarus. Here is a link to a page with demo video: https://www.codebot.org/delphi/?doc=9524 These controls includes a hue picker that has 2 styles (radial as shown and bar), a saturation pick again with 2 styles, and an alp

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Vojtěch Čihák via Lazarus
Hello,   native TColorDialog in Qt4 has slider and edit for Alpha channel but this value is never in the result (i.e. TColorDialog.Color property). TColor uses upper 8 bits for other purposes than alpha.   V. __ Od: Michael Van Canneyt

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Werner Pamler via Lazarus
Am 22.03.2018 um 21:36 schrieb Ondrej Pokorny via Lazarus: Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers I did the port to Lazarus. But no - none of them supports an alpha channel, they focus on color selection bas

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Michael Van Canneyt via Lazarus
On Thu, 22 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Is there a version of TColorDialog which allows to specify an Alpha channel ? Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mb

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Ondrej Pokorny via Lazarus
On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Is there a version of TColorDialog which allows to specify an Alpha channel ? Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers I didn't use it myself, it jus