Re: dark theme

"'Neil Hodgson' via scite-interest" <[email protected]> Fri, 5 May 2023 08:43:44 +1000
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Andrew:

> Sorry, more succinctly: ColourRGB() and ColourRGBA() perform a very simple clear job. ColourFromString and ColourAlphaFromString are not necessarily so generic, eg. they could be name ColourFromProperties and they could interpret text from properties circumspectly.

   ColourFromProperties would carry some notion of context. ColourFromString is an isolated leaf function with no context dependence.

   Performing the colour transformation in both ColourFromString and ColourAlphaFromString is repetition. Any transformation should be a separate function or method.

   It is fine to hack a demonstration but not a finished feature.

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/44538CBA-ED5C-4F15-85C7-8DEC7106DE1B%40me.com.