Forum
    • Categories
    • Register
    • Login

    47f54ba6f - remove Content.setColour & ScriptComponent.setColour - why ????

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 54 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • OrvillainO
      Orvillain
      last edited by

      In the HISE develop branch these commits perform a removal of the setColour
      47f54ba6f - remove Content.setColour & ScriptComponent.setColour
      0319df243 - remove Content.setColour & ScriptComponent.setColour

      It looks like they've just been straight up replaced with .set() calls ?? Why the change?? Just curious.

      Musician - Instrument Designer - Sonic Architect - Creative Product Owner
      Crafting sound at every level. From strings to signal paths, samples to systems.

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Orvillain
        last edited by

        @Orvillain yes they were relicts of long before the set call and I just forgot they exist until the AI tried to use it and messed up the magic numbers. There‘s no need for it - they just route to the set call but without a self-contained explanation.

        The content.setColour call sets the background color of the interface and can easily be replaced with a panel if a plan colour background is what you want.
        Are you using these methods?

        OrvillainO 1 Reply Last reply Reply Quote 0
        • OrvillainO
          Orvillain @Christoph Hart
          last edited by Orvillain

          @Christoph-Hart said in 47f54ba6f - remove Content.setColour & ScriptComponent.setColour - why ????:

          @Orvillain yes they were relicts of long before the set call and I just forgot they exist until the AI tried to use it and messed up the magic numbers. There‘s no need for it - they just route to the set call but without a self-contained explanation.

          The content.setColour call sets the background color of the interface and can easily be replaced with a panel if a plan colour background is what you want.
          Are you using these methods?

          I was! About 30 replacements later, I'm now not! They're still reference in the documentation on the website. I was using the call on a ton of script button objects.

          Musician - Instrument Designer - Sonic Architect - Creative Product Owner
          Crafting sound at every level. From strings to signal paths, samples to systems.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          22

          Online

          2.2k

          Users

          13.5k

          Topics

          117.5k

          Posts