LAF Collection for everyone
-
Hello @orange @Straticah I would like to know how to change Label Right Click PopUp Menu via LAF.
-
Why am I asking to change default Greyish black Label RC PopUp menu (Cut, Copy etc) ? Suppose you have a Light/White theme. Label Right click with Dark Poup menu will look very weird. So in my opinion it should be changed via LAF or via Source code. But How? Please help.
-
Thank you for this generous share! This is what I have here, cheers!
HiseSnippet 1765.3oc0Y0saSbDEd2jrHrAjfVPEItYUTuvgXLqc9gDUgv1IwoQjebiSADQQQS1cr8TudlkcGGhKJRn9BzmgJUodaeD5s8t9HzGg9Fjdl82YcrCgHf.qPQYN+LmuyYNy4blPcWlI1yi4pnlYm9NXE0qq0nOk2do1HBUYskUTug15UpsxQntN1XOkp8cPddXKEU0wWUHhZlIT7+9umTEYinl3DRJJOiQLwqS5R3ITqW9oDa6ZHK7NjtRROa40LYzkX1rd.bFWyPwAY1A0BuIRH1XZJpWYEKBm41fi3.VTmnJypei1rWSCj+YDOxA1XwhhJMfMJfbMlsk.wBpJK0lXaUOxs8TTT0pmDDFOHHbasMHVjX5IAia5yPOQC43g5Xog23ofWQY3YHAug.IUIHMQ.jtkVCSWhCOgi.OWSaMJG61DAgcYnDHqxXO9JZKw.In7BcQcv0bgEwZjadCi75yZXL02kM36gOTeclIxVGNxyBGFdbcalo891nl5OVOZmLcwfC5K35LVmJTqZXrctfcA1hcPfWpWGwamMR6Bt3VDOvt05QM4DFM2jVtnW6KoPvIyq2LhSq75rC9oox9lr5vWqBdX9ptHKBX5ZPhStcMNpF7UrZwp40AGvnPo6Kzn.Bv0tyrGP4nJyVonQkkVLudQfaLyRBlEVLk36A3NvPBDI.SNAWG3WxGKWd8YBEazfZFi2Anl2HATyjFTEKL+PAk+OBrXSvLi.chH+wgGhIweFgxOeG.BIG9IPlLGhb0ENZOOHCvnvbfUxjA926w4BO1HgAhZ0F7zQRjTmQoTMJnjYfnxJ11DGObtcGPCi8lN.44GbuJNRNk16Akt+H3MSBOATRNfHM8OTZyND6NkOk2DEgBJmkKHzH9.EyD3.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vAzBk7tkWG2Bro7AyNXXDmAqS0nKiwaSnsRWq+1kgQ8cBJTZkpxXaHgEFfGdQPpsA11cXafDuuZI3kAcjYtTOONqaDP+TMVaCN1wetV0c0le1Bw7WTH+La8gYsxGtalicNS2+Z+jp3rGQ50mgWJCPYbN7kHJujmd6raJBSl74cw0uQClPpjteEV8KkRrJay5wgBTaffFsvbbZa1qaCXDTSLfRJ7zRwK5UGSTmIXsgXseQIL0xeA7xoSBYVTrVMjYwHleRrQWjoKaeyf+p.ha7W0mB32T++qAxnsgXsd7eN.MMiBFJcgo312zTju9.XnvgqSoKfNybAzY1KfNycAzY9KfNO5BnyBmoNhAnqzC5cEjyCDpuRPKE03Vipiq7+.XqFDH.
-
@Fortune Thank you, added this to the top of this post.
If anyone has some examples to share, post them here. Let's make a huge LAF library! :)
-
@orange Great idea. But maybe a public Github repository would be more suitable for this, these kind posts quickly get out of hand and it will be hard not to miss any gem.
There you could also see the code directly.
I could make one and invite you all as collaborators.
-
@Christoph-Hart Sure, a Public GitHub project would be be much more useful ️ waiting for your invitation
-
@orange Done: https://github.com/christoph-hart/hise_laf_library
If you send me your GitHub credentials, I'll add you as admin so that you can also invite other people.
I've also added the two examples you posted to establish a good structure for the repository, but I'm open for suggestions there too.
-
@Christoph-Hart I have included the @orange scripts. Noting is working in my master branch HISE.
HiseSnippet 1000.3ocsVEzaaaCElJ1Lq1csnsnmKD5oDft.6jttAzCQ0NNcFsI0axsXmVFsDUDioHEDoZiSQA5g1+NEX21os8CX+HxtrK6RuuCajTJVzINYAFq5PPd789duO9dO9ddPFO.KD7LfSigSRw.mOG5OgIi6FiHLP+s.NKCG1yeHnyjTjPfCANN0drVmSi5.y2G2rChhXA3pi.fWvIA3mRRHxpSG38DBktMJDOjjXY8885GvYc4TdthG0fs.onfwn8w6hzlsDTQhdgDIOyWhjXAvodGd3D+X9qXE1+BhfLhh0BsA9JGUb71bZnlw5SAciIzvAmbeE.kWFTc6qUb6uMbGRHY54UYgaXT3VgvNe3rzrzq1LzqsM8ZYQu4PIGKJUufR2D5GjQRkUZz74pv9LINKBoR61TovVfywvtbkAL4ZInw3syTBSArxCZ05dtp+r5CaRXAz7P7J2khh1KfSo3.Igy1q8ZGHt6pOLJmYjc4rc4R7yXqrZyW2rQy2zz8zphhlqNMMxz9Matp0cBYWDvUX4IivY2y8kHZNdpgpzyr4b34mysaIBJxJVFxY8YD4yRwryqQATlJ0sLkrRYpzTctdY0wmRBwY.hpH7Yvmv3iZCLDtrK288+0OsI37.2IWJ4LC3FvmvL3pUC7J2hvs6njQwArjK79ZGh4qs3IhmwEe77YvYn+5y.93u8m+yMAOu+VHIR2kVlPTIoTbljny+Nageo5IeQOaC3VXwXIOUUWTzIkyzoOGXQPuVYPeJZDlZh4Ufl+uM3vor8Xj2joBu8QdDIN4jQDMVVc1GJyIm16WPEox6dGX68HKuut18arwu+2m180uD0rp.7iBq..9AOaOs7kr7YQWtk27R8RPJcPmZJIMyUo+aACOHtYHYbTSQzAhn3IyP9q+eVtqB1uQsB1w4dB4DpYwv2vyHGop7HJHgDFRwC3Bh90pUK1uJj3TexQlNmWe6O73+3n2sYh85B.vv9plRQdTD4Pyb9HBMQHULrehZ7u9V8bA1MDGgxoRWwXkenD1Xb3Ptw9WQBkw5Lwun7TLlrertOv4NlsMmYRpZFNOLmhjyNXWuMqTg9tXOMUOxjotiSr46+aS6urT7lvADYP7743RygipmneJ3X4NxqA6EEoVSTQv5vs+9OMKDAeGOWRX6uCR0Un642MOwW8JM.qhNigo5I+NKoeoVH2RKqy.9XVnQ3eTekJaqkcJU19Dkp9wfL9dAEiF0aguh4DEmXle.RC3NZY2oCTgvVq0R+FfrWPf95+EsAf4iY8E.yFK.l6u.X9xE.yCV.Le0Bf4quPL5eK1ixk7jhmCpCFzyraxwoGCo5rLcgf+EOj319.
-
@DabDab Your snippet loads up empty here.
-
@DabDab These are made with the local look and feel functions. So in order to use them, you need to create the UI elements with the dedicated text and assign them to the LAF functions. For example:
Knob1.setLocalLookAndFeel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. Whether I compiled Scriptnode version or Develop version now master branch my snippets doesn't work ....
-
@orange Thank you. Will try and learn from it.
Now understood. I didn't declare UI element. I used to use Global LAF. Now got LAF functionality.
-
Now my question is @Christoph-Hart @d-healey @orange @Matt_SF @Fortune what is
getIdealPopupMenuItemSize
,drawthumbnail
,drawmatrixpeakmeter
,drawsliderpack
drawtablecell
,drawwhitenote
functions? How to use them? Any Example? Documentation is not full of all laf.registerfunction examples. Can we get update ? This help doc will be a great place to learn Local LAF for newbies. -
@DabDab I haven't look at these yet. But it would be great if someone has the examples.
drawmatrixpeakmeter
looks interesting -
How can I use Sliderpack Flash using LAF? I have tried but it is not linked with step size.
const var SliderPack1 = Content.getComponent("SliderPack1"); SliderPack1.setLocalLookAndFeel(locl_laf); locl_laf.registerFunction("drawSliderPackFlashOverlay", function(g, obj) { g.setColour(Colours.pink); g.drawRect([0,0,20,240], 2.0); });
-
@DabDab Please use
(obj.area);
-
OK.. Now I got it
-
@DabDab Another example You can try:
const locl_laf = Content.createLocalLookAndFeel(); const var SliderPack1 = Content.getComponent("SliderPack1"); SliderPack1.setLocalLookAndFeel(locl_laf); locl_laf.registerFunction("drawSliderPackFlashOverlay", function(g, obj) { g.setColour(obj.itemColour); g.fillRect(obj.area); g.setColour(obj.itemColour2); var a = obj.area; g.fillRect([a[0], 230, a[2], 12]); }); locl_laf.registerFunction("drawSliderPackBackground", function(g, obj) { g.fillAll(obj.bgColour); });
-
@DabDab Alternatively you can open the Hise source code with the IDE. I am using Xcode, so searching for the keyword is a short way to understand what is going on. When we search
drawMatrixPeakMeter
, we will find this:void ScriptingObjects::ScriptedLookAndFeel::Laf::drawMatrixPeakMeter(Graphics& g_, float* peakValues, float* maxPeaks, int numChannels, bool isVertical, float segmentSize, float paddingSize, Component* c) { if (functionDefined("drawMatrixPeakMeter")) { auto obj = new DynamicObject(); Array<var> peaks, maxPeakArray; for(int i = 0; i < numChannels; i++) { peaks.add(peakValues[i]); if(maxPeaks != nullptr) maxPeakArray.add(maxPeaks[numChannels]); } obj->setProperty("area", ApiHelpers::getVarRectangle(c->getLocalBounds().toFloat())); obj->setProperty("numChannels", numChannels); obj->setProperty("peaks", var(peaks)); obj->setProperty("maxPeaks", var(maxPeakArray)); obj->setProperty("isVertical", isVertical); obj->setProperty("segmentSize", segmentSize); obj->setProperty("paddingSize", paddingSize); if(auto pc = c->findParentComponentOfClass<PanelWithProcessorConnection>()) { obj->setProperty("processorId", pc->getConnectedProcessor()->getId()); } setColourOrBlack(obj, "bgColour", *c, MatrixPeakMeter::ColourIds::bgColour); setColourOrBlack(obj, "itemColour", *c, MatrixPeakMeter::ColourIds::peakColour); setColourOrBlack(obj, "itemColour2", *c, MatrixPeakMeter::ColourIds::trackColour); setColourOrBlack(obj, "textColour", *c, MatrixPeakMeter::ColourIds::maxPeakColour); if (get()->callWithGraphics(g_, "drawMatrixPeakMeter", var(obj), c)) return; }
Thus we can say that the below list is for the properties of the
drawMatrixPeakMeter
LAF function. Then you can insert a MatrixPeakMeter FloatingTile and go on with these..obj.area obj.numChannels obj.peaks obj.maxPeaks obj.isVertical obj.segmentSize obj.paddingSize obj.processorId obj.bgColour obj.itemColour obj.itemColour2 obj.textColour obj.maxPeakColour
-
@orange Which Cpp file do I need to open to view all LAF functions?