Installing Samples Dialog....
-
@d-healey Did you get the "installSampleButton->setVisible(false);" thing to work, though? It doesn't work here either, unfortunately, but maybe you've succeeded with that?
-
@tomekslesicki I haven't tried it yet. Next time I compile a plugin I'll test it.
-
Ok, thanks! @dustbro , could you please share how you did it?
-
@tomekslesicki Do you use Windows or Mac?
-
I'm on Windows 10
-
@tomekslesicki Ok, that issue can be about caches. Sometimes Windows stuck on old versions. You might need to clear the cache before compiling new Hise versions.
-
Open "C:\Users\YourUserName\AppData\Roaming" folder and delete Projucer and Hise folders.
-
Re-download the new Hise version, don't rebuild on the old one.
-
Also rename your "Hise-scriptnode" folder with a small modification, for example "Hise-scriptnode_"
-
Then re-build Hise again. Then rebuild your plugin. If the new flag works, it should work.
-
-
I just tested and it works as expected on my system.
-
We solved that via PM and Tomek is about to discover all the new things in scriptnode :)
-
Ok, Christoph pointed out that I shouldn't have downloaded the main Hise files but rather this branch: https://github.com/christophhart/HISE/tree/scriptnode After compiling, it works great :-) Thanks for help, everyone, I'm still getting my feet wet with this and your patience is nothing short of awesome!
-
One last (hopefully!) thing: how can I change GLOBAL_FONT and GLOBAL_BOLD_FONT to custom fonts?
-
@tomekslesicki sorry for the late reply. My day job is getting in the way
Did you get anything sorted? -
@tomekslesicki said in Installing Samples Dialog....:
how can I change GLOBAL_FONT and GLOBAL_BOLD_FONT to custom fonts?
I am currently prepping for a way to define a global look and feel that can be customised via JSON and is applied to all modal windows, confirmation dialogs and context menu popups. I'll let you know when it's ready.
-
@dustbro Yup, Christoph and David helped a lot, thanks! :-)
-
OK so I got around to trying this... and no no no no no NO NO! surely I have this wrong and I'm making some silly mistake in implementing this -----
As far as I can see I can have:
-
both buttons: (dont put anything in the extra definitions..)
-
Just the locate button: (put HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0 in the extra definitions)
-
Have no buttons and no dialog at all: (put HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0 in the extra definitions)
- Anyone see my dilemma?
I have a bunch of users who are getting confused when there are two buttons on show - they keep pressing the LOCATE button when I want them to press the INSTALL button - this generates a bunch of support calls.....
So I want to be able to show them just the INSTALL button...and that's not an option listed above...
I've tried a bunch of things e.g.:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0but I cant get anything to do what I need, someone please please tell me I'm making a silly mistake and its not been implemented this way?
-
-
@Lindon said in Installing Samples Dialog....:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0I thought that would work, I'll test it later.
-
Yep, it doesn't work. I'll take a look in the source and see if it's something I can fix
-
-
@d-healey well done - thanks.. I take it now I can say:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0to get what Im looking for...?
-
@Lindon Yeah.
-
@d-healey great thanks mate you're a life saver....