Lazarus

Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: winni on January 29, 2020, 10:48:57 am

Title: Dead link in doc: BGRABitmap Color definitions
Post by: winni on January 29, 2020, 10:48:57 am
Hi!

In this page

https://wiki.freepascal.org/BGRABitmap_Color_definitions (https://wiki.freepascal.org/BGRABitmap_Color_definitions)

is this dead link about CssColors:

http://www.w3schools.com/cssref/css_colornames.asp (http://www.w3schools.com/cssref/css_colornames.asp)

Winni

Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: circular on January 29, 2020, 12:49:18 pm
Well you are welcome to change it to a working one.  8-)

Though, that need an update in the source code as well.
Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: Bart on January 29, 2020, 01:38:04 pm
Maybe https://www.w3schools.com/colors/colors_names.asp  or better (from the horses mouth) https://www.w3.org/wiki/CSS/Properties/color/keywords ?

Bart
Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: marcov on January 29, 2020, 02:16:09 pm
Note in FPC 3.2+ some w3c colors are in system.uitypes.

https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl-objpas/src/inc/system.uitypes.pp?view=markup
Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: winni on January 29, 2020, 04:50:37 pm
Hi!

Dead link changed to https://www.w3schools.com/cssref/css_colors.asp (https://www.w3schools.com/cssref/css_colors.asp)

Winni
Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: circular on January 29, 2020, 07:04:19 pm
Note in FPC 3.2+ some w3c colors are in system.uitypes.

https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl-objpas/src/inc/system.uitypes.pp?view=markup
Ok. Good to know.

But, but... why not prefixed with "cl"?

Hi!

Dead link changed to https://www.w3schools.com/cssref/css_colors.asp (https://www.w3schools.com/cssref/css_colors.asp)

Winni
Thanks. I'll update in source code the same way.
Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: marcov on January 29, 2020, 07:28:10 pm
Note in FPC 3.2+ some w3c colors are in system.uitypes.

https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl-objpas/src/inc/system.uitypes.pp?view=markup
Ok. Good to know.

But, but... why not prefixed with "cl"?

http://docwiki.embarcadero.com/Libraries/Rio/en/System.UITypes.TColors_Fields

Title: Re: Dead link in doc: BGRABitmap Color definitions
Post by: circular on January 29, 2020, 09:11:29 pm
For Delphi compatibility I presume.
TinyPortal © 2005-2018