<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Customise Macros]]></title><description><![CDATA[<p dir="auto">Does anyone know how to customise (or where the source file is) the macro square or the button grey out? Would be nice to be able to choose how it shows what's linked to the macro...</p>
<p dir="auto"><img src="https://i.imgur.com/1oOmgQG.png" alt="Screenshot 2021-02-26 at 09.27.34.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hise.audio/topic/3694/customise-macros</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 18:36:11 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/3694.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Feb 2021 09:29:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Customise Macros on Sat, 13 Mar 2021 14:10:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/831">@DanH</a> found it in the LAF Docs: <a href="https://docs.hise.audio/glossary/custom_lookandfeel.html#getting-started" rel="nofollow ugc">https://docs.hise.audio/glossary/custom_lookandfeel.html#getting-started</a></p>
<pre><code>laf.registerFunction("drawNumberTag", function(g, obj)
{
    obj.area[0] += obj.area[2] - 16;
    obj.area[1] += 2;
    obj.area[2] = 14;
    obj.area[3] = 14;
    
    g.setColour(0x88000000);
    g.fillRoundedRectangle(obj.area, 4);
    g.setColour(Colours.white);
    g.drawRoundedRectangle(obj.area, 4, 2);
    
    var letters = ["A", "B", "C"];
    
    g.drawAlignedText(letters[obj.macroIndex], obj.area, "centred");
});
</code></pre>
<p dir="auto">And make sure to put in the below as well</p>
<pre><code>const var laf = Engine.createGlobalScriptLookAndFeel();
</code></pre>
]]></description><link>https://forum.hise.audio/post/31908</link><guid isPermaLink="true">https://forum.hise.audio/post/31908</guid><dc:creator><![CDATA[DanH]]></dc:creator><pubDate>Sat, 13 Mar 2021 14:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to Customise Macros on Sat, 27 Feb 2021 08:52:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/666">@yall</a> Thanks, I know how the macros work, I just want to change the image that appears when you link them</p>
]]></description><link>https://forum.hise.audio/post/30895</link><guid isPermaLink="true">https://forum.hise.audio/post/30895</guid><dc:creator><![CDATA[DanH]]></dc:creator><pubDate>Sat, 27 Feb 2021 08:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to Customise Macros on Fri, 26 Feb 2021 20:16:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/831">@DanH</a> the macro is you who must connect. and there is a small number that appears on the assigned buttons. you can also configure them.</p>
]]></description><link>https://forum.hise.audio/post/30877</link><guid isPermaLink="true">https://forum.hise.audio/post/30877</guid><dc:creator><![CDATA[yall]]></dc:creator><pubDate>Fri, 26 Feb 2021 20:16:36 GMT</pubDate></item></channel></rss>