pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.2k stars 355 forks source link

hasNonStandardPalette is always returning false #12046

Closed Ducasse closed 1 year ago

Ducasse commented 1 year ago

hasNonStandardPalette is defined as

hasNonStandardPalette
    "Return true if the receiver has a non-standard palette.
    Non-standard means that RGBA components may be located
    at positions differing from the standard Pharo RGBA layout
    at the receiver's depth."
    ^false

so we can simplify all the senders. I checked in Squeak 5. this is the same.

S

Ducasse commented 1 year ago

I looks like Form is only support RGBA so we could drop ARGB support in Color.

https://www.educative.io/answers/what-is-the-difference-between-rgba-and-argb

Educative: Interactive Courses for Software Developers
What is the difference between RGBA and ARGB?
Contributor: Marvah Mushtaq