@d-healey call me an absolute noob, but where do I put that value?
Latest posts made by MysticForgeRider
-
RE: LAF disappears when preset is selected!
-
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.
-
Crash while using FloatingTile (Waveform)
Hey guys!
I've been looking at a FloatingTile with the Waveform option, but whenever I try to edit the Index line, to 2, HISE instantly crashes..
Any ideas how to fix this?Cheers!
-
undeclared identifier
hi guys! The idiot with little to no knowledge of programmer: I've got everything running now, and did a test with a SNIPPET that came out as expected: good.
Now I'm trying it with my own plugin, and I'm getting this error while building through Xcode:
REGISTER_STATIC_DSP_LIBRARIES()
{
REGISTER_STATIC_DSP_FACTORY(hise::HiseCoreDspFactory);
REGISTER_STATIC_DSP_FACTORY(duckverbDSP);
}/Users/Bodi/Documents/HISE Projects/DuckVerb by SoundSloth/Binaries/Source/Plugin.cpp:18:30 Use of undeclared identifier 'duckverbDSP'
You got any idea on how to fix this issue?
-
RE: Bad CPU type in executable
@Christoph-Hart not giving an error anymore, and it's now stuck on the 50% 'compiling fx plugin....'.
That's progress, now the waiting game on my poor old macbook has begon! Thank you ;)
-
RE: Bad CPU type in executable
@MysticForgeRider same error so it seems.. it's giving headaches because i'm trying for a couple of days now to just export a test for my plugin.
-
RE: Bad CPU type in executable
@Christoph-Hart can you expand on that UB version? I've just re-installed xcbeautify, this time the correct version (oops).
Trying an new compile now :)