@MidiMinion i guess i was that stupid. thanks!
Best posts made by MysticForgeRider
-
RE: Global 'showValuePopup' not working?
Latest posts made by MysticForgeRider
-
RE: MusicDSP.org importing?
little bump to @d-healey, you probably know how to, or give me a nudge in the right direction?
-
MusicDSP.org importing?
Hi all!
I've been playing around with audio modules, some little Scriptnode's, and I want to see if I can import anything from for example musicdsp.org
How would one do this? Seems like a good way of learning my way around everything.
Thanks!
-
RE: Global 'showValuePopup' not working?
@MidiMinion i guess i was that stupid. thanks!
-
Global 'showValuePopup' not working?
Hi guys!
I'm having an issue where the valuepopup on knobs/sliders keeps appearing, while having this at the end of my script:
for (k in AllKnobs) k.set("showValuePopup", No);
Someone having an idea on a fix? Thnx!
-
RE: Looking for scriptnode scripts
@goldee Hope this is still a thing, im interested too!
-
RE: LAF disappears when preset is selected!
@MysticForgeRider little bump for this one @d-healey. I still have this issue:
-
RE: LAF disappears when preset is selected!
@d-healey call me an absolute noob, but where do I put that value?
-
RE: LAF disappears when preset is selected!
@Chazrox that fixed a lot, thank you!
Now only to fix the list showing up, it keeps it LAF, but doesn't show anything when selected.
-
LAF disappears when preset is selected!
Hey guys!
I've got a problem (See screenshots), I've got a combobox going with custom LAF, and whenever I select a preset, the text within the box, and the LAF disappears, any ideas on how to fix this?
const var PresetDropdown = Content.getComponent("PresetDropdown"); // 2) Position & size (adjust x/y to sit in your top‐left corner; width/height as desired) PresetDropdown.set("x", 88); PresetDropdown.set("y", 57); PresetDropdown.set("width", 150); PresetDropdown.set("height", 30); // 3) Populate with 12 preset names (each on its own line): PresetDropdown.set("items", ITEMS... const var ddCombo = Content.getComponent("PresetDropdown"); const var lafDropdown = Content.createLocalLookAndFeel(); // DRAW CLOSED DROPDOWN lafDropdown.registerFunction("drawComboBox", function(g, obj) { var a = obj.area; var radius = 6.0; // corner radius var outlineThickness= 1.0; // border thickness // 1) background g.setColour(0xFF191919); // dark grey g.fillRoundedRectangle(a, radius); // 2) outline g.setColour(0xFF000000); // black g.drawRoundedRectangle(a, radius, outlineThickness); // 3) displayed text g.setColour(obj.textColour); g.setFont("Roboto-Medium", 13.0); g.drawAlignedText(obj.text, [ a[0] + 10, a[1], a[2] - 20, a[3] ], "left"); // 4) small arrow var arrowSize = a[3] * 0.4; // 40% of height var px = a[0] + a[2] - arrowSize - 6; var py = a[1] + (a[3] - arrowSize) * 0.5; g.setColour(obj.itemColour1); g.fillTriangle([ px, py, arrowSize, arrowSize ], Math.PI); }); // DRAW POPUP BACKGROUND lafDropdown.registerFunction("drawPopupMenuBackground", function(g, obj) { g.setColour(0xFF191919); g.fillRoundedRectangle([0, 0, obj.width, obj.height], 4.0); g.setColour(0xFF000000); g.drawRoundedRectangle([0, 0, obj.width, obj.height], 4.0, 1.0); }); // DRAW EACH POPUP ITEM (text + highlight) lafDropdown.registerFunction("drawPopupMenuItem", function(g, obj) { var a = obj.area; if (obj.isSeparator) { g.setColour(obj.textColour); g.drawLine(a[0] + 5, a[1] + a[3]/2, a[0] + a[2] - 5, a[1] + a[3]/2, 1); } else { if (obj.isHighlighted) { g.setColour(Colours.darkgrey); g.fillRect(a); } g.setColour(obj.textColour); g.setFont("Roboto", 12.0); g.drawAlignedText(obj.text, a, "center"); } }); ddCombo.setLocalLookAndFeel(lafDropdown);
-
RE: Crash while using FloatingTile (Waveform)
@Chazrox My bad, im working with the Analyser, not the Waveform.