How to change Keyboard Hover Colour
-
How to change Keyboard Hover Color?
-
easiest
function onNoteOn() { Engine.setKeyColour(Message.getNoteNumber(), Colours.withAlpha(Colours.green, 0.7)); } function onNoteOff() { Engine.setKeyColour(Message.getNoteNumber(), Colours.withAlpha(Colours.green, 0.0)); }
-
I don't think you can change the mouse hover colour (if that's what you mean). You'd need to make a custom keyboard with a panel or C++.
-
I overlooked "Hover" - sorry
-
-
@Tania-Ghosh You can easily do it if you study C++
-
Will you tell us how?
-
@MikeB I found this in the source code once and now I can't find it - does anyone know where it is?!
-
@DanH Use Look and Feel.
-
@d-healey I gave it a try this morning - seemed like I'd need to create a whole new keyboard? I like the stock one
-
@DanH said in How to change Keyboard Hover Colour:
seemed like I'd need to create a whole new keyboard? I like the stock one
Yes you'd need to draw your own, it's not too difficult and can be fun. Here's an example that I'm using which is similar to the stock one. You'll probably want to change the colours and I think the stock one has some more gradients going on. The stock one will have a paint routine in the source code somewhere that you might be able to use.
HiseSnippet 1412.3ocwWs0aaaCEVJMpa1q6Rw1S6IN+jxpqgjcabRKJZtY2EzjFu5z1AjYTPKQawEYRAI5jXTDfh8Ka+j1+frCIkrjSbRZM1v7CA4b+iGdNGdTmXtGIIgGaXV5vIQDCy6Y0cBSDrc.lxL1cGCyuwZebhfDizr1ZRDNIg3aXZdmWHYXVZYC0u+94agCwLORNKCi2xodj8ninhbtc13kzvv1XexgzQEz9QarqGmsMOjOFvycrbLhvdGiGRdEVp1RVFl2skOUvi6JvBRBnyVb+IcC3mxz5+VZBseHQR3ZzEbjlsw1AzP+NYm0DCCyk6jexui9j+CV6S8oS4mmA9Nk.TtEEyAlKcSPx8y.RlEfzxZHceqtdwzHQtDId9JqcYvEx.LjpKBEstFK88eg01bPCln1H7wj1w.wTKrW0woJB9yJOsbYHcmHPg3AnmgZwFRYjZdwD3f7hPdebn1g6w4GuIyuMgDZKMBTuVLYHUVTzdLySP4L6J9w3SeW.UPdEWPpTEMHSxvpHd++XkxenboSvwHLDpi.F0vPfNx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++L1B14F2B9SEh22pCU3ELeLtzbvHz28eAFS+1gu1pErromHGfKa092VzOT3VBOLFW1juOVDSgdbKneoKzw4QRqH.maYtjb1il1QRKy.cILeEgrcMUnqj1LUnalPiQXuX968zyTkecxWp3.Xho9XrRvWEBzHWC0bVvNKmZNFifdh264IO9ODFGNeapu.1zXAr4QKfMOdArY0EvllKfMqci1HGGs4XXLntc.XzokZvqoYKFFprTUgF+CvECDJJ
-
@d-healey Thanks, does the stock one not use images rather than paint routines?
-
@DanH No, it used to and you had to change the
"UseVectorGraphics"
option to true to disable that, but now this option doesn't seem to have any effect on the stock keyboard. -
@d-healey ok thanks, your keyboard is nice, actually it suits my needs a little better :)