HISE Logo Forum
    • Categories
    • Register
    • Login

    Colour accent on preset select, laf fix?

    Scheduled Pinned Locked Moved General Questions
    22 Posts 3 Posters 1.2k 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.
    • StraticahS
      Straticah @DanH
      last edited by Straticah

      @DanH haha i have too much going on in my project to share, maybe this will help? :)

      //color preset select
      
      	if(obj.selected)
      	{
      		g.setColour(0x99521F22);
      		g.fillRoundedRectangle(obj.area, 3.0);
      
      //red accent
      		   
      		g.setColour(0x99ED3237);    
      		g.fillRoundedRectangle([a[0], a[1], a[2] / 1000 + 3, a[3]], {CornerSize: 2, Rounded:[1, 0, 1, 0]});
      	}
      
      

      did you mean that?

      building user interfaces in HISE :)
      web: www.vst-design.com

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @Straticah
        last edited by

        @Straticah yes, thanks!

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

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

        16

        Online

        1.7k

        Users

        11.8k

        Topics

        103.2k

        Posts