The Opaque Flag is Funny?
-
I may not remember correctly what this flag does, but the panels here remain translucent when I enable the flag—they simply get brighter.
Screenshot 2025-03-18 at 10.24.56 amitalicised text
-
@clevername27 said in The Opaque Flag is Funny?:
but the panels here remain translucent
Are you sure? You have editing mode on so you will see the grid.
Here's a little test. First opaque false on the blue panel:
Now opaque on:
HiseSnippet 792.3ocsU0raSCDDd2z3pl.EQk5CPNvgVTEJNIMMQbfRyOzHHsQjREvEzl0qqWU6cM1qaaDBIDODbfybk2Ad.3ggyboLqcRiSaT+IR3CV67mmOOy2Lau.IkEFJCP37GLzmgv22n+PgxogCgKPcZhvOvnKITwBJjnZmg9jvPlEBiW3EZE3bYQwO+4Y6PbIBJahJD5PImxdE2iqlns21uj651lXwNf6kx6Ja2gJEMjtxH.OKXTD4SnGSNhsGQ6VFCztjPGD9wFkrGPKYuU4Zl0MquUk5llaVaPkhknVaVub4pksrKUiTsFDzhsr3JYPeEQwBgO5NRqg8cjmJRRvg7P9.WlVvD0GxbhZTCGtqUuwEmPDBms2jR0BIkpUM5xs3WneRI6gwFJLIhzEMblqCRl2AHgSAorIPZEi9z.tuZhEMdtmQGAzAsIPuIMTR7Eg+kQCI3fP8DOxwr1AfvEArV0hE2n.7Z8mZGInJtTTPJ1SpX6KVa87eJet7eNegKax1dl1zoIP55xBloYMcH35BbMQj2.VvFENg3FwtvQ32e5Z5h2tZJM4uNkiRQGAWsuOajbaoqktVoOe0N.ZTYCN8lNMIJhtoLRG3mOKPw0vA2jcBLFjzhxYzjEdrR5CL5FROeoP+EvKohst73FHQvbQbH0KYDe1DcFBafeOjqg5COBNbJ2R4nE9NFgbX7ibTZoeCRbEya7jTtEQny+ldBah1RiT+03IuT3H2MfiRI3X0w33rz3H6T33unKiie9tc+wLvAn9KZ0RexGifjiyftJ0FFpjVQtD0zSZ5cPiL.Tkon2ZNrHjqFldG0cX7q30N9cag3JF83JpyrwXlYfQfD8+.iiVZsrQKaaFUMAfYMZ+14cC0Mj9WKiTbwQcIp.tl1rWjWenoSYP1E.YJTSSxnIfIxE0x5JPelvJV3b3YjQSsLdjQywFQdDZf7CzjED50hKEqAvjH9Zibv8WfbAST7Riz0YOXK8Gnzo+TWIvRyafkm2.qLuAt47FX04Mvsl2.qcyApuD84QJoWxXCB0sWq3srXbKAAXfwrUz+vhd3UE
-
the opaque flag prevents repainting of all parent components (or overlaying siblings) so it's a huge performance gain.
-
@d-healey @Christoph-Hart Understood—I've used that flag, often. But as you can see (in my example), the panels are still translucent. I need to double-check that I'm doing something stupid.
-
(I have edit mode turned on so you can see that Opaque is selected, and the other flags, in case I'm missing something.)
-
@clevername27 it might interfere with the shader in the background, as that‘s not rendered within the JUCE graphics system…
-
@Christoph-Hart Appreciated - the shader isn't behind the panel—that's just a static image. (See the example snippet.) The shader is in the header.
-
C clevername27 marked this topic as a question