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.
    • LindonL
      Lindon @d.healey
      last edited by

      @d-healey said in Dropdown colours?:

      but look at what happens if you do anything other than fillAll...

      HiseSnippet 920.3ocsVstaaaCElzNpaV6BRA1Cff+kMfmgca5Efhg4Xm3BiljZTmUj+UPSQKyFIRAJplXLz2s8Fs8Fzcnnt4UmhLuUY.Kbt7Q9cN7bNTyURJKIQpP3VWtIlgveuyhMB85IqIbAZ1IH7O5bNIQyTdVUi2DSRRX9HLt4KMJvsN.k87W+5XRHQPYUpPn2J4T1Y7HttR67QuhGFNk3ytjGUy6iFMiJESjgxTfOMcFfhIzqIArKHF2Z3fvO3TetVpVnIZVBBevXo+lEqk2Hr9+VdBeYHyHLDs.VHq5oxPeCiMZQSVyC8mWD2IHXUlWkEZZyB+jy4bedo9prwgYF7pPTOefarM8ZtE8FVmdCpQucPIbMJcfkROzYAUwi0UVL746blIfCmUDHsWmJVeQM7Z5LQBdHz8iHWylp.gRDcd5fA87f+59BWWH0mn8nxnkxwxa89EuBbTECBmyjTR3YR40GK7mxXgcrXrd2WwB3lhjooBplKEcZ6qH2LI2b6ddqJLDzySt78cc+c2VA8WA0AGGF1AzzeYf8jGVWvRBSaEyroY2pqa0r3GGxCDL+KASk9js18I.g640lBjWw7aCP938frykwowmyDoight.kLU3em7da1sMyMwzaXTKoLT4e69OSyhtic17q9taekz+l0bM6+Tpwb1+ABzjmSxg0J.BL6WTrT.BcZW5gAsaojgUeVMRQH28EEQimTbgTydsniMf9nq2+zzpU6zlgMJYXHSsSylQIpuDvNhznkLUOHLCSYkNB8Wa2z5b2Ms0moPsImZNJEyDb8qiYh6ZRCJOiZZvyYE3pNq89v716hDJh6a5tKyunLZWMr7vQnea1IDMoXwf0E1qXlRyMgA9D1GfQu1YGsbNgkbsVFm4a9QIB+M2ys91xs8OtZzlJNb0nHBXyA6.BPEXThA2P2G49X2ibeBpnw.P7ftc+yOYm9+YS1fYpR+zPhd6AslaWxM.GjaMcyLASjv0ape6y+aSeuuT7gNy4Z55cywF6fivQ0WCNlem0O3b5pUvfmJBdfyzq95bAE5MxTMWDbNQq3lRfKRiV.mzTFr6BAKzzHgaXJ4sxCLxlLvBlvOS3SvStwgFYbtwgEFQQDpR9NpsQwbq32loA3jH6CBZAeYBH6U1a33Ln+.TDbA86nTS3+yPW3tw7n8.yi2CLGsGXdxdf4o6AlmsGXd9WDi4aiNNUKirsCfh4mlMiBiOUPfJqrpPzee.MyeF
      

      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

        Console.print(trace(obj)); ;)

        Have you disabled the undefined variable warnings?

        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 said in Dropdown colours?:

          @Lindon

          Console.print(trace(obj)); ;)

          Have you disabled the undefined variable warnings?

          nope I havent...meanwhile this...even with fillAll

          HiseSnippet 917.3ocsV01aSjCD1aR2plE3DHcesRqxmRkBQIjxKRnSjlzFTDsknK8P8aHGuNaL0q8JudoMBw+s6mz8O.FuuGHEUxA4CsZd4wyyLimw6TkjPihjJjUiKVERQV22d1Jgd4nkXl.M4Xj0eXeFNRSUtopFtJDGEQ8PVV0esQgUicPI+9uWMDywBBsTEB8NIiPOkEvzkZmN3MLNeL1idAKnh2GNXBQJFI4xXfO0s6hBwjqv9zywF2pYir18DOlVplowZZDxZmgRuUyVJuVj5+6XQr4bpQnGZFbPopGK4dFFazhFsjw8llm2QH3TlVVEpmVE9S6yXdrB8kUiGlXvsDQ05gUs0oW80nWupzqaE5sAJYUgR6jRoGYOinXg5RKF9bO6IBn4r.Ck8pTI0WTscqaORBdHzcBvWQGq.gBDsdV2tscg+bvKcbfRej1kHClKGJuw8ubywQTTHcNURv7SkxqNR3MlR4sRwj5cGE0mYtjLNVPzLonUSOE95QYla11cQtA+1tx4e3.mO4zvuyB3dvQbdKPSm49ocd3bAKQTcpXhMM8FcUqlC+HNyWP8t.LU3SxY2ACDtsaSBPdE0qI.4y2AxNUFFGdFUDODtz4qjwBu6DuYZZPA294hzD.5sFixJP5+h5b8RHV+uJ.lN7GwvnbFA6UoM6ahWPnT.BsZV3gAsSgjgUe2Mg7z8fWlmItRw4RM8shVIIiymcb+VSKVrQaF1njbNUsQylEFpeDvVh3f4TUaHM4wzBGgon0GMsu8QypaNHoEmJNJESDL8aCohaaeBJqhZFiyXE3pNYH9gYCw4ETDyyLCWTeQIztbk3dCP+yjiwZb9gAmKDqPpRyLog0wzOBKXS2Pzv9XZzUZYXhuYsRj0d2wPeSQX+2KGrpjCWNH.C1rsrAAys8HCtdNOwouygNOEkO3BH1c+82+KnL2J01ue+rM+e2VMXepzKli0quj07xRlAn8t1lMy1KQDSup5KO+x17dWo3irmxzjkali01.GgF3uCNl8d0CrOYwBJQWRvcrGe4umGmP+sLVyD9mg0Jl4hw4wAyfNMgBQWHnby3kUMyfPpbWiroBLiJ7RD9B7KyXOirUlwd4FQAXhR9dR53i4Ew8Rz.bRj7w.MfuJAjcKlXrs61oKJ.db98DhI8eLLatYLOYKvzeKvb3Vf4oaAlmsEXd9Vf4E+PLluK5nXsLHcb.TL8jjMWVVmHvvMqjagnuBnvLueH
          

          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 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

                                58

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.7k

                                Posts