@d-healey i must of mistyped it cause i just retyped it and its better than before your a genius you have no idea how much i appericate you taking your time with me. Im sure you have a million other things you could be doing right now, I JUST WANT YOU TO KNOW THAT I TRULY AND GRATELY APPERICATE YOU THANK YOU VERY MUCH I SINCERLY MEAN THAT
Best posts made by Jaytove
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
Latest posts made by Jaytove
-
COMPLING ISSUSE ON MY MACposted in General Questions

IT COMPILES FINE IN STANDALONE BUT AU OR VST NOT HAPPENING PLEASE HELP -
RE: ERROR: Cycle inside a single targetposted in General Questions
@Morphoice Im having this exact same issue i didnt exactly catch what you did to fix it something about linking phase is that the fix or did i miss something if you point me in the right direction it would bbe greatly appericated im so close to downgrading but i really dont want to do that
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey i must of mistyped it cause i just retyped it and its better than before your a genius you have no idea how much i appericate you taking your time with me. Im sure you have a million other things you could be doing right now, I JUST WANT YOU TO KNOW THAT I TRULY AND GRATELY APPERICATE YOU THANK YOU VERY MUCH I SINCERLY MEAN THAT
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey ```
{ g.setColour(Colours.withAlpha(Colours.white, obj.hover ? 1.0 : 0.5)); g.drawImage(obj.text, a, 0, 0); g.drawText(obj.text,a); } ``` when i add the if statemet the image disapears this way everything works accpet that the preset names have xxx over them -
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey so now im lost im not spouse to use the draw function to get the text to show i thought once i drew one i had to draw everything?
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey when ever i add the if(obj.column == -1) the image disapears the only place im stuck at now is that all the preset names have xxx over them how do i remove xxx from covering the presets names?
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey i do only want images for expansions im only going to use the expansion and the preset browers the other 2 columns are not going to be used why is double letters coimng up on my presets?
-
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey
thank you now i just need to figure out why the text the preset dosent onlly show the preset name its 2 names on top of each other -
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey ```
// === Load Expansion Images into LookAndFeel ===
inline function loadExpansionImagesIntoLaf(obj)
{
local expHandler = Engine.createExpansionHandler();for (e in expHandler.getExpansionList()) { local img = e.getWildcardReference("Icon.png"); if (isDefined(img)) { obj.loadImage(img, e.getProperties().Name); } }}
// === Look & Feel Setup ===
const laf = Content.createLocalLookAndFeel();
loadExpansionImagesIntoLaf(laf);laf.registerFunction("drawPresetBrowserListItem", function(g, obj)
{
var a = obj.area;{ g.setColour(Colours.withAlpha(Colours.white, obj.hover ? 1.0 : 0.5)); g.drawImage(obj.text, a, 0, 0);}
});
// Load the expansion first
Console.print("Expansion failed to load!"); Console.print("Expansion loaded successfully");// Load images into LookAndFeel
loadExpansionImagesIntoLaf(laf);// Set LookAndFeel on the preset browser
const var fltPresetBrowser = Content.getComponent("fltPresetBrowser");
fltPresetBrowser.setLocalLookAndFeel(laf); -
RE: Image shows in expansion but now presets dontposted in Presets / Scripts / Ideas
@d-healey @Chazrox
// === Load Expansion Images into LookAndFeel === inline function loadExpansionImagesIntoLaf(obj) { local expHandler = Engine.createExpansionHandler(); for (e in expHandler.getExpansionList()) { local img = e.getWildcardReference("Icon.png"); if (isDefined(img)) { obj.loadImage(img, e.getProperties().Name); } } } // === Look & Feel Setup === const laf = Content.createLocalLookAndFeel(); loadExpansionImagesIntoLaf(laf); laf.registerFunction("drawPresetBrowserListItem", function(g, obj) { var a = obj.area; if(obj.text == -1) { g.setColour(Colours.withAlpha(Colours.white, obj.hover ? 1.0 : 0.5)); g.drawImage(obj.text , a, 0, 0); } else { g.drawAlignedText(obj.text, a, 0, 0, 0); g.setColour(Colours.withAlpha(Colours.white, obj.hover ? 1.0 : 0.5)); }