Look and Feel question.
-
Is there a function that I can use to see the default look and feel code of objects so that I can use it as reference when writing custom laf for similar objects?
-
@RastaChess You'd need to go into the HISE source code to find it
-
Do you mean
Console.print(trace(obj));
?
-
@aaronventure trace is more for like properties, I mean something like (see below) but instead of this customized code, the original or default look and feel code. It would be so useful as a starting point reference.
// ALERT WINDOW laf.registerFunction("drawAlertWindow", function(g, obj) { Console.print(trace(obj)); var a = obj.area; var mA = [a[3]*0.01, a[3]*0.01, a[2]*0.99, a[3]*0.99]; g.setColour(Colours.darkgrey); g.drawRect(mA, 1); });
-
@d-healey daunting.
-
@RastaChess
daunting.
https://github.com/christophhart/HISE/blob/develop/hi_tools/hi_tools/HI_LookAndFeels.cpp
-
@d-healey thank you for pointing me in the right direction.