HISE Logo Forum
    • Categories
    • Register
    • Login

    Dropdown colours?

    Scheduled Pinned Locked Moved General Questions
    18 Posts 5 Posters 821 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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @Lindon I refer you to my previous post

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      LindonL B 2 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey so..
        whats wrong with this statement then:

        g.fillAll(Colours.withAlpha(Colours.red,0.1));

        • should be pretty transparent no? - its not.

        HISE Development for hire.
        www.channelrobot.com

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Lindon
          last edited by d.healey

          @Lindon Yeah you can't do transparency with it because it has a solid white background by default. So it's as if your always drawing over a white rectangle.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by Lindon

            @d-healey said in Dropdown colours?:

            @Lindon Yeah you can't do transparency with it because it has a solid white background by default. So it's as if your always drawing over a white rectangle.

            --thank you - my point exactly - you cant do anything except set the colour (and without transparency....)

            HISE Development for hire.
            www.channelrobot.com

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Lindon
              last edited by d.healey

              @Lindon You can draw icons, shapes and text. The only thing you can't do is set a transparent colour. Looking at the source code I think this is because HISE is just adding to JUCE's default laf rather than replacing it.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              LindonL 1 Reply Last reply Reply Quote 1
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey said in Dropdown colours?:

                @Lindon You can draw icons, shapes and text. The only thing you can't do is set a transparent colour. Looking at the source code I think this is because HISE is just adding to JUCE's default laf rather than replacing it.

                yeah - I wanted to replace the background completely- for a funky alternative drop down design- but I discovered this limitation - still I've lived with it for a couple of years _ I guess its not that important to me...

                HISE Development for hire.
                www.channelrobot.com

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Lindon
                  last edited by

                  @Lindon You can do it but you'll need to modify the JUCE function (probably just commenting out a line).

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey yeah might get around to it if I ever see the bottom of the to-do list....;-)

                    HISE Development for hire.
                    www.channelrobot.com

                    N 1 Reply Last reply Reply Quote 2
                    • N
                      Noahdeetz @Lindon
                      last edited by

                      @Lindon Hey, just ran into this.

                      Do you know if there have been any threads on workarounds for this? What is the specific change to the source code?

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Noahdeetz
                        last edited by

                        @Noahdeetz said in Dropdown colours?:

                        @Lindon Hey, just ran into this.

                        Do you know if there have been any threads on workarounds for this? What is the specific change to the source code?

                        my specific change was to change my mind - and not do it :-)

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 1
                        • B
                          bennyjoan @d.healey
                          last edited by

                          @d-healey Thnx for sharing!
                          I also have this issue.

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

                          59

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.7k

                          Posts