HISE Logo Forum
    • Categories
    • Register
    • Login

    Use CSS in Keyboard Floating Tile

    Scheduled Pinned Locked Moved Scripting
    5 Posts 2 Posters 206 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.
    • CasmatC
      Casmat
      last edited by

      Hey!

      How can I use CSS for the keyboard floating tile? I couldn't figure it out as there are drawBlackNote and drawWhiteNote register functions and I don't what to select. Tried selecting divs using the setInlineStyleSheet but no luck. Any ideas?

      Thanks!

      i make music

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

        @Casmat I haven‘t setup the keyboard to use the CSS renderer yet but I agree that‘s a good candidate.

        It might be a bit tricky to get animations between key states to work as the current animation system keeps a single state for each component and the entire keyboard is one component but the basics should be doable quite easily.

        CasmatC 2 Replies Last reply Reply Quote 1
        • CasmatC
          Casmat @Christoph Hart
          last edited by

          @Christoph-Hart Ahh I see! Adding that would definitely be useful, I'd be probably adding some borders, box shadows, gradients for each key. I was planning on making the active state consist of a white dropshadow on the key, and having a subtle animation between them would be nice if not too messy, but having the rest would be great!

          i make music

          1 Reply Last reply Reply Quote 0
          • CasmatC
            Casmat @Christoph Hart
            last edited by

            @Christoph-Hart Any luck so far?

            i make music

            CasmatC 1 Reply Last reply Reply Quote 0
            • CasmatC
              Casmat @Casmat
              last edited by Casmat

              bada-bump is there any update on this, didnt find any related commit and messing with it in hise beared no luck, dont know if I missed something or if its still in the works?

              i make music

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

              37

              Online

              1.7k

              Users

              11.7k

              Topics

              102.1k

              Posts