Is it possible to increase the default area height (obj.area[3]) of drawDialogButton and drawPresetBrowserListItem with standard LAF?
I can imagine that it's possible with CSS.
Is it possible to increase the default area height (obj.area[3]) of drawDialogButton and drawPresetBrowserListItem with standard LAF?
I can imagine that it's possible with CSS.
@bendurso yes, I think it's not working. I fixed it by resetting the visible property with a small delay:
AudioWaveform.set("visible", false);
Content.callAfterDelay(30, function() {
AudioWaveform.set("visible", true);
The sendRepaintMessage seems not to be working on the AudioWaveform. Is that right?
HiseSnippet 1070.3ocsVs0ahaDEdLINpPaWsqT22s3ISUDhK4Boqp5FHPKpgrnPZZea0f8XXJ1yfFONDTUdru1eQ8mR+Qz+AsmYrMXGnYSPpyCVdlysuyk4blgBtCILjKPFktY4bBx3KLGsjIm1YJlxP8u.Y7JyA3PIQXEeT6kywggDWjgwdeu5.ih6izq+96Zi8wLGx5iPna4TGxkz.pb8oCe+OR886gcI2PCxv8QuuuCm0g6yi.7rmYMzbryL7DxUXEaELQ+.NbJx3qMa3M1og2oMaU+r5mc5QmUu9wsFeTsFNtGeVylmzz0qQK7Is.gNnqKUxEijXIIDTZat6xQS4KXwF3VZHcrOQsoNZDX43iQclR8cGlFbBQHi8GtNTsWbn5qLGPcoqNecH60ZBVqkHaPynvSAo5u.HYjAR6GCo2XNxQPmKWSQgmO2rOCxfdXH2jEJw7hJ766Y1gCbvjUCvyH8DvlURXeRsZGZAep7tRkf7Snz5NrvZA9NhGWD3i8r9VqTwcDDvqtj6f8ujymcNysGg3aqDMi.UEjITUMUuHlijxY1kcE3E2LMJXLCS8aCo8IBdDys7gVdo7L4PK93esRoeqjErndV1oVcBQ1gGLmyfM1kGKYPpfMgDWIUthh9sX+HhckJZYi0fZMoZnRVEe10tuWxBf6ZF7fZ0qINRav3Uwf+kP8A8WheH4o0Y6550ySmVVkdHeb97HWJ+mShc0yDpy6z4YqLni7mnvzFokLoDkQKQY9TFYUD2hydTrTYaA221I0vGBXDBrpjRwMLHy8Zxb3Ngb.TJBWiUkAEAUDx8IUmKnJb2OzhwkVK3hYT1DquwVA8G.v7bys5XsFUcv99igJG6+KXq8wRY7tq3RxGX1ZzWBxmOljm2VoknNehXqjUM0DOkf1LnNmHxF6TLBWhy2Y3fmWmAm3HUFF4r9Lp7CyII66w8cU23U+uYeDTRnF5nTHAg.qRc+jWkzOocjTxYHpqpEyihtHsajcN.ZkZNHVMuMQM4JQzZ60l4KadrxPHWrDqa9KTlDhMBXThoghj9jtL2z8nep+EJtgdaI9D3myIBIUENMtfbGLLJtQYQyKHgyj74ZmNo9Bx.u.29dkY+KvpKU+bORGIWooWtmq02ejpu+D9YA0UNUs4Fv8lRnSlJSsIZyd+vTGtajOVleTjZHcBAnJLW+eUOdVHUtLax6ELep1SNe54Bw2XNjJcltcLVXKXTUn9+.FSlp+klc87fdyqA39l89kccD9mv7WyijPeuAXofpx+WEELBpsbHpJMFLbQkuKnprh2WKsTeDzcUu4efUBw5p8FIDqmRDEfcD7O5DekT8tgOSeBfIl9cUEgG3A6s1xcu.3YLezwIup1PvF6pfM2UAOZWE73cUvS1UAOcWEr0mVP0qLOORxChu1fPCF1U2.zvnKCCUf5pUz+B.v6k4H
@d-healey said in CustomSettings Floating Tile: Space between items:
e options in the buffer size and sample rate lists. It's a can of worms.
Oh, thanks for the advice. Then maybe I won't do it manually hehe
@d-healey Oh ok thanks. Then I may have to set all the settings manually.
How can I set the space between items of the CustomSettings floating tile? Is it possible with CSS?
@bendurso Well, I just made my own svg paths for the waveforms. If someone needs them, here it goes:
Sine
110,109,0,0,0,0,0,0,72,66,98,0,0,200,65,0,0,0,0,0,0,150,66,0,0,200,66,0,0,200,66,0,0,72,66,101,0,0
Saw
110,109,0,0,200,66,0,0,72,66,108,0,0,200,66,0,0,0,0,108,0,0,72,67,0,0,200,66,108,0,0,72,67,0,0,72,66,99,101,0,0
Square
110,109,0,0,0,0,0,0,200,66,108,0,0,0,0,0,0,72,66,108,0,0,72,66,0,0,72,66,108,0,0,72,66,0,0,200,66,99,109,0,0,72,66,0,0,0,0,108,0,0,72,66,0,0,72,66,108,0,0,200,66,0,0,72,66,108,0,0,200,66,0,0,0,0,99,101,0,0
Triangle
110,109,0,0,0,0,0,0,72,66,108,0,0,72,66,0,0,0,0,108,0,0,200,66,0,0,72,66,108,0,0,22,67,0,0,200,66,108,0,0,72,67,0,0,72,66,101,0,0
Random
110,109,0,0,0,0,0,0,72,66,108,0,0,160,65,0,0,72,66,108,0,0,160,65,0,0,240,65,108,0,0,32,66,0,0,240,65,108,0,0,32,66,0,0,160,66,108,0,0,112,66,0,0,160,66,108,0,0,112,66,0,0,160,65,108,0,0,160,66,0,0,160,65,108,0,0,160,66,0,0,112,66,108,0,0,200,66,0,0,
112,66,108,0,0,200,66,0,0,32,65,108,0,0,240,66,0,0,32,65,108,0,0,240,66,0,0,180,66,108,0,0,12,67,0,0,180,66,108,0,0,12,67,0,0,32,66,108,0,0,32,67,0,0,32,66,108,0,0,32,67,0,0,140,66,108,0,0,52,67,0,0,140,66,108,0,0,52,67,0,0,72,66,108,0,0,72,67,0,0,72,
66,101,0,0
They're SVG paths. So you can customize them within a panel :)
@Matt_SF @Morphoice I've been working with Hise for about two years now and never knew how to move around the GUI. Until I found this, this changed my life haha
@aaronventure Mm, yes I think for all shaders you have to call repaint in the timer callback.
@aaronventure Did you adapted the code to hise?
If you did this, you can check if the GLSL Morphball example works on your computer (it's in the snippet browser)
@d-healey Thanks! I found one and modified it significantly. I also used uniform float values to adjust different aspects with knobs.
@d-healey It works on mine, and it's a M2. I didn't receive any complaints either.
@xsaad You're welcome!
Oh yeah, you have to remove saveInPreset from all momentary buttons :)
@xsaad Are you using mac or windows? Are you using global app data or user app data? Because if you are using global app data with mac, the file cannot be created if the folder does not exist (Application Support/Your Brand/Your plugin)
You can check in your project settings if you have enabled "Use Global App Data Folder"
@xsaad That file is created automatically after you insert the serial and click submit (check dumpAsJSON). Here:
inline function onSubmitButtonControl(component, value)
{
if(!value) // Just execute once
return;
local v = SerialInput.getValue();
Console.print(v);
// Checks if it's in the input
if(serials.Data.contains(v))
{
Console.print("Serial number found");
local data =
{
"Serial": v
};
// Stores the file to the hard drive. In HISE it will be the project folder
// but in the compiled plugin it will use the parent directory to the
// user preset directory (which is usually the app data folder).
Engine.dumpAsJSON(data, "../RegistrationInfo.js");
setValidLicense(true);
}
else
{
Console.print("Invalid serial number");
Description.set("text", "Invalid serial number. The number you supplied does not match");
setValidLicense(false);
}
};
Content.getComponent("SubmitButton").setControlCallback(onSubmitButtonControl);
If the file is not created in the app data folder after you insert the serial, then there is a problem with the creation of this file. Most likely a system permissions issue.
@xsaad Are you saying that the file was created in the app data folder?
On Windows, it's located at %AppData%/Your Brand/Your Plugin, and on macOS, it's in Library/Application Support/Your Brand/Your Plugin.
If you mean it was created inside the HISE project folder, that has no connection to the exported plugin. It's only for working inside HISE.
@xsaad Have you checked if the RegistrationInfo.js file was created correctly in the plugin folder? After you enter the serial number, the plugin generates this file to store the license. Each time you open the plugin, if the file is missing, it will prompt you to enter the serial number again.
@CyberGen Maybe you could create a manual installer that always sends the sounds/samples to the main plugin, while everything else is treated as an expansion (images, presets).