Solved Plotter Colors and Engine.createGlobalLookAndFeel
-
Hi,
I'm having a bit of trouble displaying custom plotter colors.
Plotter colors stop working when I createGlobalLookAndFeel. Even before I add any g.draw functions. The plotter turns pale grey and it doesn't seem to accept any color changes.
I'm confused since I don't see any draw functions for plotters.
Is there another way to color the plotter after a Global look and feel has been created?
HiseSnippet 1262.3oc2Xs0SabDEdVLKJ1ospzhp5iqP8AhJkfIzzapBCFL0pXvh0IoR8gngcO1dDyNylYmkDDJu2ed8s92H+.pD8L6E60Ia.GGRZT7CV6btL9aNW9ly5tJoGDEIUDqp8NODHVehs64B8vlCoLAo8tDqaY2UAQflry4gznHvmXYUYeiVqpySR97hs1gxoBOXrHB4gRlGb.KfoGKsaiemw4sn9POVPAq2rQaOonojKiQjTwdcRH06T5.3Ppwr4rIVKrmOSKUtZpFhHVyuiz+b2gxmJRs+grH1IbvrnNwE2nTwsjbeChMOSZNjw86lehiHDK6tiO+URO+KY2g4yFIebb3yST3L1ihwCq4lDdUl.d0ecvqDHYU.RymBoEsc8TrP8XMF7ba61BMn5SwvdQnjZKYtSrraJQKD50BnmBsT3hQdrxFqu9pN3W24WpUCC8QZmPtTiZc9Umb2n99s3RplIFziwgUVNyjkW0ActfqmQUNGz5n5nuIEOqM.zcj9wbJFRVYYipkMVe26lZOm1GMcOw.l.VySAXLaet7DJOE6GHkmtsvuE.7ULt0OV3oYRgiTbnTCGIV4N0tnV0ZOulyKqpe+R0YNQJImCpRUaJFUWkiqHhCNATqhmTdLLxPLCMYZegoKs6kFfKXnTzVvzGEBYqGW2VujhDRVFBe5As2kpol5lLYncgfRyLvwZW3LrILsJpp8tPzoZYXhsAgRgYGrppyJ6Si8ES3DluwsrrN4YX+hkoa877Gx9Iy2+tYFdxf7N4pKjyFvzPvXo+6EO4ulT5FFwWd4k6ZDmbjr9M6Kp43r7nCda+k+YmzhoUMJZK7gmgh9t5IKwPFW9zGIUmFgjG.pnOkGA0dNR67JsTXybd8YwNbCsVlBL+OQako0QDwzmWj16ka6m+0m+WuTVoRytSIbWztKS6Mrb7NWI3EqRdWi2LRzO0du98AO8XvNucq+3JYLuwgxmkBkaa6hrLIzRI.4qRV67H5Yfy9f.TlfZ8q3xs+dZubKbpub6HOM9y2SQEQgxnI1XWHf0CaMiJJ7AQH8M7jiMY4hxaJopRU8hsZgGxR8wkpiUIkKaGHiE5IJOpL04jhzYS10Tv9Rtda92U239ds06smonxzA2qY.gp4XzkEDxg8DmAbj9OAieAx22mFy04RmrHuiTHCGJELuhU.GCZEav.PUD6kdf1VqwQzFKYoFGCbfVrZ9aZb.VERUXbBlwXwa9vRklu9Z6T35X5Lc93fguxaKC+avbxEiyKlBXaa7l3DTtf4o5WenbGVnjSUlKmLLSwfvKWeiZ+ykaYXNaKJdXLjz8kpfrALxk23.X.FnJt28.bfFjjehhY2.oTOLYXlh7wK0.GvLbOAEiC9E2jtCwxWbDRyK6TbavssmrCMBmsoIWVrnmPZOPHUP5XoSPMGGokA4GfjWgwUCgoS17m12ey0vO8+Vy2+TS7q6czMyZxMWy0bSYU5WZx+NiR4l1qOv6qRQ7nhvOPP7+2yNcrL1L4eGJdEfYV+CiCbwQV7.DIBAviLi8Omo1Nc854uFfKH7SVfyueYlx5l0VYJqmq78xuQ.0SIerW5atYJjuUhD7bKR92DpZ2wr1oNI4s4J10Ffya7XOuI2pWwwMlUGu2r53lypie+r538mUG+gY0we75czLN31wHuZ5kgDRmt6kxnZMhN2pB4+.XvuCfG
-
-
@CyberGen you need to register the "laf" for the type of component your going to use, in this case you have "drawAnalyserBackground" & "drawAnalyserPath" for the "Plotter"
Uncomment the "Console.prints" in the snippet, and you'll see what properties you're able to change
HiseSnippet 1460.3ocyXs0aZbDEdVi2n.ospoMppOtB0GvsTB33jdIpJXiMonZhQFRRkrhhFu6AXpmclMyNXGTTdu+35C8s92H+.pj6Y1KvRLwlPct3GP6dtLy24Lm46bV2QIcgvPohXku23.fX8I1cGKzCaLjxDjVaSrtpcGEDBZxViCnggfGwxJ28MZsxuJI5u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HpoWDP9pn2cdL8Xv49f.TljZsyYzo+dQGcJXgGcZOrWywPOjrNLPFNyB2E7Y8vqlgYE9vPb3.3Y6aNkyJugjplqpWculXPNWe5R0iTQkKa5is9zyTdjagOSdKFga0O5Fg68GgvkyTl4SwXWle.G1QbLvQV9HL9EHsde5HtNU5r0xskBYvPof4l8fdePqXCvIExh84FPap03zaSkbi56Cbflsn8apuKVrQUXdBVxbQs25Itm640WaGCWGyEPmOHmaWJj24VHx6KmZqqGCRaarwZDxth4oZWbJaKVfjSUldMFhlQfvMUe8B+yo2yPD1RjM.Lbt8kJ+j4ERkWeWX.lbxt18.b9Djydlh1t9RodXzrIYoWuQcbHwfcDTL18xtHcFhko3TfluLN6xfKaOYapYV9FbY1haBo0.gTAwSVNCS6nPszOM.h9d2tZHHdPkCruyFUv+5+cle+oF3O2ZuKm2IWdWhVYAqL+Ry4uyjiby0nOBu+DixIEde.Q4xOxyxu83GsZFRuMEowMik+fQ9cwoKbAb2EBfa97CqUL0swuWMch8tfvK5EbT6SSTVy7tUhxZoJeurG9TWk7otweXkoH8pQRv3VD8uUJucay6N0HQerU1aj93bBO00c1k5LNt9x53sVVG2XYc71Kqi2YYc7GVVG+wK1QyXbaNB4LiatQHs6rSLao0DpZqbj+C78m3xF
-
@CyberGen Anyone else having this issue?
A little help confirming?
The snippet has everything to recreate the issue.
All that needs to be done is to "un-comment" the Engine.createGlobalLookAndFeel and recompile the script and you should see the color on the UI plotter turn to grey.
-
@CyberGen you need to register the "laf" for the type of component your going to use, in this case you have "drawAnalyserBackground" & "drawAnalyserPath" for the "Plotter"
Uncomment the "Console.prints" in the snippet, and you'll see what properties you're able to change
HiseSnippet 1460.3ocyXs0aZbDEdVi2n.ospoMppOtB0GvsTB33jdIpJXiMonZhQFRRkrhhFu6AXpmclMyNXGTTdu+35C8s92H+.pj6Y1KvRLwlPct3GP6dtLy24Lm46bV2QIcgvPohXku23.fX8I1cGKzCaLjxDjVaSrtpcGEDBZxViCnggfGwxJ28MZs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