Amaruq Posted May 26, 2004 Posted May 26, 2004 (edited) Thank you very much Holger and Jon ! Edited May 26, 2004 by Amaruq
Administrators Jon Posted May 26, 2004 Administrators Posted May 26, 2004 I notice that the GUI uses colours in BGR format like the Pixel colour functions. God I wish I'd caught that mistake in the Pixel functions early on # At least it's consistant, probably worth a page of it's own in the helpfile explaining that we don't use RGB . Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Valik Posted May 26, 2004 Posted May 26, 2004 I notice that the GUI uses colours in BGR format like the Pixel colour functions. God I wish I'd caught that mistake in the Pixel functions early on #At least it's consistant, probably worth a page of it's own in the helpfile explaining that we don't use RGB .Jon, I think there is a way you can deprecate something like this to get the "logical" handling. You could create an AutoItSetOption to toggle RGB or BGR and default to RGB (The right way). Then anybody who needs to continue to use BGR can set the option and there script won't be broken. Otherwise, any new scripts will use the correct form. Then after a couple versions, you can remove the old BGR way and all should be well.
Administrators Jon Posted May 26, 2004 Administrators Posted May 26, 2004 Jon, I think there is a way you can deprecate something like this to get the "logical" handling. You could create an AutoItSetOption to toggle RGB or BGR and default to RGB (The right way). Then anybody who needs to continue to use BGR can set the option and there script won't be broken. Otherwise, any new scripts will use the correct form. Then after a couple versions, you can remove the old BGR way and all should be well.I think I will, because it really bugs me. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now