HISE Logo Forum
    • Categories
    • Register
    • Login

    "How to make only image shape clickable on a button in HISE?"

    Scheduled Pinned Locked Moved Solved General Questions
    7 Posts 5 Posters 214 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.
    • M
      marcrex
      last edited by

      Hi everyone ;)
      I'm trying to make each button clickable but only in the coloured shape, because the square shape of hise buttons causes clickable areas to overlap. Any Idea?untitled.png

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

        @marcrex Use a panel instead of a button, or use multiple buttons with laf to style them.

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

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          @d-healey yeah that sounds like an evening with a glass of red wine, the mouse callback of a ScriptPanel and some good old trigonometry...

          ustkU 1 Reply Last reply Reply Quote 2
          • ustkU
            ustk @Christoph Hart
            last edited by

            @Christoph-Hart I was shy to bring trigo on the table, thinking, "Well, Chris'll come with a shiny CSS trick of his own" :beaming_face_with_smiling_eyes:

            Pythagoras's not dead ! :face_with_tongue:
            a-silhouette-of-Pythagoras-contemplating-a-geometric-diagram-with-a-celestial-metaphysical-background.png

            Can't help pressing F5 in the forum...

            Christoph HartC 1 Reply Last reply Reply Quote 2
            • Christoph HartC
              Christoph Hart @ustk
              last edited by

              @ustk nah, that's a circle and you need to calculate angles this time for real :)

              1 Reply Last reply Reply Quote 0
              • M
                marcrex
                last edited by

                All right let's play with trigonometry then :grinning_face_with_sweat:
                Thank you guys

                LindonL 1 Reply Last reply Reply Quote 0
                • M marcrex has marked this topic as solved on
                • LindonL
                  Lindon @marcrex
                  last edited by

                  @marcrex definitely do-able

                  Link Preview Image
                  Elitist Loop | Modern Vocal Hook Generator | Music Software Instruments | Sound Effects | Professional Audio | Ava Music Group

                  Elitist Loop is a modern vocal engine that features 480+ unique vocal chops. Choose from over 250 premade loops. Change rhythm and pitch in just one click. With highly customizable features and endless combinations to choose from, ELITIST gives you vocals you won’t hear on anyone else’s track.

                  favicon

                  AVA MUSIC GROUP (avamusicgroup.com)

                  HISE Development for hire.
                  www.channelrobot.com

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

                  31

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.3k

                  Posts