• How do I use LAF to draw the dropdown of a comboBox?

    5
    0 Votes
    5 Posts
    418 Views
    VirtualVirginV

    @Chazrox Thanks!!

  • Customise Combobox font with LAF?

    10
    0 Votes
    10 Posts
    869 Views
    Christoph HartC

    Actually the support for custom fonts was already there in CSS for the multipage dialog, but I haven't added it to the script components yet, but now it should work.

    Note that you have to use a @font-face at rule that defines the custom font like this (this is somewhat standard compliant):

    const var laf = Content.createLocalLookAndFeel(); laf.setInlineStyleSheet(" @font-face { font-family: FunkyFont; src: url({PROJECT_FOLDER}Fonts/DigitalNormal.ttf); } button { font-family: FunkyFont; } "); Content.getComponent("Button1").setLocalLookAndFeel(laf); const var Label1 = Content.getComponent("Label1"); Label1.set("fontName", "FunkyFont");
  • CPU stays up eventhough panel gets painted only once

    7
    0 Votes
    7 Posts
    584 Views
    A

    @d-healey Thank you, i will try that

  • Preset Browser Laf || Multi-line?

    Solved
    10
    0 Votes
    10 Posts
    786 Views
    rglidesR

    @Chazrox 😁

  • ScriptFX Interface || How do I script knobs n stuff??

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    ChazroxC

    @d-healey
    80008192-4bd4-44ac-9160-83b0f3e0e99c-image.png
    lol

  • HELP

    22
    0 Votes
    22 Posts
    4k Views
    R

    @rava2212 it works thanks a lot

  • Random Button & Radio Buttons?

    12
    0 Votes
    12 Posts
    1k Views
    d.healeyD

    @ILIAM said in Random Button & Radio Buttons?:

    David, is this Correct now?

    I don't know, if it does what you want then it is...

    Buttons[i].setValue(i == random ? 1 : 0);

    i == random will either be 1 or 0 already, so no need for the ternary operator here.

  • Theme Controller Module?

    21
    0 Votes
    21 Posts
    4k Views
    d.healeyD

    @Chazrox Yup, watch my file and file system api video

  • Oscilloscope Script

    5
    11 Votes
    5 Posts
    569 Views
    ChazroxC

    @HISEnberg Gnarrly 🔥

  • Display output levels.

    15
    0 Votes
    15 Posts
    1k Views
    LindonL

    @d-healey said in Display output levels.:

    @Lindon you can with laf

    oh of course, silly me...

  • Table Points, am I going mad?

    7
    0 Votes
    7 Posts
    603 Views
    rglidesR

    @Oli-Ullmann Just looked, wow that is massively helpful!! Thanks!

  • How do I access LFO Intensity via script?

    Solved
    3
    0 Votes
    3 Posts
    333 Views
    ChazroxC

    @d-healey wow. lol. Thanks!

  • 0 Votes
    17 Posts
    1k Views
    d.healeyD

    @VirtualVirgin yeah once in on init is good

  • Error Help?

    10
    0 Votes
    10 Posts
    812 Views
    ChazroxC

    @d-healey I'll read this for sure. Thank you.

  • Persistent Data Recommendation

    Solved
    7
    0 Votes
    7 Posts
    581 Views
    HISEnbergH

    @d-healey Wonderful I'll see if I can rewrite with just the File (System) APIs in that case! Luckily for me these are "universal settings" so they should be applied cross each instance of the plugin.

  • combining paths

    1
    0 Votes
    1 Posts
    107 Views
    No one has replied
  • Problems with persistent panel data?

    10
    0 Votes
    10 Posts
    814 Views
    d.healeyD

    @VirtualVirgin

    You shouldn't declare a function within a paint routine or mouse callback. I'm pretty sure that will reallocate memory for every redraw of the screen or mouse movement.

    Functions should be declared in on init, and 99% of the time they should be inline functions.

    For paint routines and the like for your factory functions, I would declare them outside of the factory function - unless they're really short. This is more of a code cleanliness thing though than a performance issue.

    local t = Engine.createTimerObject(); t.setTimerCallback(function[panel, t, rangeMinMaxArray]

    Why don't you use the panel's built in timer instead of using a separate timer object?

  • LAF KEYS! GOING GREAT!

    7
    0 Votes
    7 Posts
    587 Views
    ChazroxC

    @d-healey Wow...

    ok. Thats way easier. I wish I would have known this a few hours ago. lol eh.

    Thanks!
    (for the next one)
    Screenshot 2025-05-11 at 2.39.49 AM.png

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • Do global cables contain a refrence, or real data?

    Solved
    2
    0 Votes
    2 Posts
    218 Views
    Christoph HartC

    @griffinboy yes it copies the data so that it works across the DLL boundary of the network DLL (otherwise it would be very prone to crashes). Once it's in HISE it will be referenced (so if you attach multiple callbacks they will use the same data object).

23

Online

1.8k

Users

12.1k

Topics

105.7k

Posts