@Christoph-Hart Any luck so far?
Posts made by Casmat
-
RE: Use CSS in Keyboard Floating Tile
@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!
-
Use CSS in Keyboard Floating Tile
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!
-
RE: Change Hitbox for Keyboard
@d-healey hmm how else should I go about it? I can only think of resorting to a ton of panels haha
-
Change Hitbox for Keyboard
Hey!
How do I change the hitbox of the floating tile keyboard for each key? So basically, I'm doing custom LAF on the keys and one of the things I'm adding to the keys is a box shadow, so I'll need to extend the floating tile into some blank space so the shadow doesn't get cut off and this allows the user to click the blank space and activate the near key. Is there a way or an alternative that can help me?
Thanks!
-
RE: Paint Routine Rounded Image
@d-healey Yeah saw that post, was hoping there'd be a simpler way by now.. @Christoph-Hart ?
-
Paint Routine Rounded Image
Hey!
I was wondering how I could put an image inside a rounded panel and the image be in the confines of that rounding? I know that
fillRoundedRectangle()
only draws another rounded rectangle within the parent panel and doesnt round the parent panel, but even if I'm increasing the border radius on the parent panel via the property editor, it still wont work and even with a child panel..HiseSnippet 890.3ocsV0taSCCE0taAVKeHPhGfn8qfT0TaYrgDBArtUTErQ0Jf3eH2X2DqkXGY6rsBh2Jj30h2.353zlT1XLpD8GS49kumq8wGuQJYHSqkJDt46lkwP3a6MdlvD2OlvEng6iv206Ph1vT9NW6MKin0LJBiW6UVG3lqiJ98imuGIgHBYUtPnOH4gr2vS4lJuidwq4IICHT163o0xd6WLLTJ5KSj4.dVyqCJiDdBIhcDwlVCOD9FGP4FoZrgXXZHm8jzYiikmIb4+AtlOIgYM5hFCKjyMpeLOgNZ9rpQH75ipl70bS9C7NjS4K7WsCbuh.9UUTeO.23pfT2+AHgqAo0cP59diCU7LSUDKdtk2PAbfLk.a00ghKWTica30WBYHLakRNgMPAFKpHXmNcZ6C+4gOsUKX6Va7Okn7y7el+7hhXl9xzLo.LB1bDQvR5tIjdsr68GSuDvKJpUVusRjD5vT3fLXSdZzVYhH+HIS6GyTrMa6ac5RcKMCJkKLGKyMbAKXZtHzvkhfnG15KsZZ6MAZsIlqs88MxPRxdxbAUGXGnlQ1UvwfB5b9fAur2S1Y2scQlBjtis4xnGyBMDQTBKfz1uWQks9ZIXuFPXxU.AamnJxYUyKLgSZ6Ca51vPWluf9RwQRC6shfhEt0Wa4+6glN8RiY24UxjDl5RCauUotpBCD4oSXp1vYYRNaQh.saYt7Mtdb4PGQnVhRwPA271LVo8.YB0xQseeQlOpjIAe89g6SLD6kgRePdYLkgagCde1ofZh6pQSu8Y5SLxrhbKoeH7Flhn2wqFODwgVugmiShNGg8veG50L6G.dPmwolXqw2.iXFOJ1XsZiQnIREkoNlP4455BUN+i4edIwtkPxM+SH4t08TfmpUXVciE3htDtrVYDEzj5y87wCcQUDP+RRySHlkE0rp2kA.1wRJIV0BglalUWc+ePoqyUpzccg388FwMgwWNFabIXDNA9efwx2Gti2ASmBBGU.bcuAebUeL3uzdm5SzgDihaYrGkmNFD0BYP2EvAs1xDZXu63r6Xss6.iYBZgwOgekA6ZswkA6NOHJkDpjeJzoIXeAZiBO.lDEO31Dd4Gr86hJzIpuOmBOH9ovvkWpKTXuUsvGspEt8pV3iW0B2YUKb2Usvm72Kz9+q7xbiL0csAgNbzAEBqX7ABBv.KXqneAD7GBSA
Thanks!
-
RE: Function Problems
@d-healey Ahh yup, will put it in objects!
And yeah each component would have different paint routines/callbacks, I was intending on using it more for a general animation use case and being able to apply it to any panel
-
RE: Return the old Content.setKeyPressCallback functionality (that we had for a few days)
@d-healey Yup, on windows, not able to type in the label, on Aug 13 commit
-
RE: Function Problems
HiseSnippet 5025.3ocsZ1ujihjb.u6819BOs843tH7+61ye0i0bLBITizNdsWfBjPHjnz2nKt3BDfPfP.BPewcaD9Q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ebIM9td96NIAronSOio2biNl9N1qNsL+xw409N9+Ia6WVUeVAq70VvpesEj6qsf09ZK3CesEj+qsf0+oKH9JvD1lG+3dpfB5FxmhKd80xQVfG3Iu0q9+vNfQxI
Its kind of messy, but should show the usage of what I'm trying to do
Edit: updated snippet
-
Function Problems
Hey!
I think I've been trying to fix this issue for hours and it just wont play nice! I have this:
namespace HoverAnimation { inline function applyHoverAnimation(component, baseColorNest, hoverColorNest, alphaSpeedNest, paintFnNest, clickFnNest) { reg nest = { baseColor: baseColorNest, hoverColor: hoverColorNest, alphaSpeed: alphaSpeedNest, paintFn: paintFnNest, clickFn: clickFnNest }; component.data.baseColor = baseColorNest; component.data.hoverColor = hoverColorNest; component.data.alphaSpeed = alphaSpeedNest; component.data.alpha = 0.0; component.data.hover = false; component.setPaintRoutine(function(g) { g.setColour(Colours.mix(this.data.baseColor, this.data.hoverColor, this.data.alpha)); nest.paintFn(g, this); }); component.setTimerCallback(function() { if (this.data.hover) { if (this.data.alpha < 1.0) this.data.alpha += this.data.alphaSpeed; } else { if (this.data.alpha > 0.0) this.data.alpha -= this.data.alphaSpeed; } this.data.alpha = Math.range(this.data.alpha, 0.0, 1.0); this.repaint(); if (this.data.alpha == 1.0 || this.data.alpha == 0.0) this.stopTimer(); }); component.setMouseCallback(function(event) { if (event.clicked) nest.clickFn(this); if (event.hover != this.data.hover) { this.data.hover = event.hover; this.startTimer(1000 / 60); } }); } }
I'm basically trying to make the hover animation stuff modular but as you can probably see, its a mess from some debugging. I saw this:
https://forum.hise.audio/topic/5370/possible-breaking-change-local-variables-references-inside-nested-function-definitionswhich made this somewhat harder and now I'm in a mess trying to solve this, I can't store functions in component.data and reg nest wont work as all the icons that use this fcn will be overridden by the latest call of the fcn. Local variables wont work due to scope issues, i'm completely lost and I believe there is an easier way to do all this and another pair of eyes would help!
Thanks!
-
RE: Animating Hover States
@aaronventure Thanks a lot! Didn't think of the mix fcn being used for that! Here's some code for anyone else stumbling on this, allowing you to smoothly transition between two colors on a panel component based on mouse hover:
const var icon = Content.getComponent("icon"); icon.data.alpha = 0.0; icon.data.hover = false; icon.setPaintRoutine(function(g) { g.setColour(Colours.mix(DEFAULT COLOR, HOVER COLOR, this.data.alpha)); g.setFont("Oxygen", 50); g.drawAlignedText("TEXT GOES HERE", [0, 0, 100, 100], "centred"); }); icon.setTimerCallback(function() { if (this.data.hover) { if (this.data.alpha < 1.0) this.data.alpha += 0.25; } else { if (this.data.alpha > 0.0) this.data.alpha -= 0.25; } this.data.alpha = Math.range(this.data.alpha, 0.0, 1.0); this.repaint(); if (this.data.alpha == 1.0 || this.data.alpha == 0.0) this.stopTimer(); }); icon.setMouseCallback(function(event) { if (event.clicked) Engine.openWebsite("https://forum.hise.audio"); if (event.hover != this.data.hover) { this.data.hover = event.hover; this.startTimer(15); } });
Is there anything that should be changed? Is timer callback at 15 ms ok? It was a good swift transition with that amount.
-
Animating Hover States
Hey!
Got a question, so I've got an icon that changes color on hover, is it possible to smoothy animate the color transition in hise?
Thanks!
-
RE: SVG Help!
@d-healey For anyone else with general hise svgs looking wonky, after fiddling around basically to get the svg to properly display, all the render data has to be specified in the path data for hise to correctly render it. Since the svg im using above stores many of its render properties in attributes when taking the path data, those attribute data will be lost.
To fix this, I saved the svg data in a .svg file and opened it within inkscape. Clicked the path on the canvas and went to Path -> Stroke to Path which basically took all those attributes/what we see and generated a new path that outlines the stroke, then save as optimized svg and take the path out of that svg file and use that within hise to get:
also had to change area to match size of svg path dimensions in inkscape. And used fillPath instead of drawPath in hise
HiseSnippet 3608.3ocsYu1ihikdG.mZltVscmrQ6Jk88klWUiXjE2unUqRar4NFrAiASTzFiswXvXSgMWi1uq4iP9Fj7+uouT8L8NIpU1Qyr6Od34b7wmyy4.3R8PjsabbzgLO7V8q6cy7v+3iStFlrVZskeXltxYd3e5QEq3D2COcOTiq6shiccx7vCeeaF3g29lLo+y+0+RCq.qPa2OGJSFiHea2A967S9bT0222OHnkkiqt+tWkco220NJTJJH5HFOe+i4xr2xdqk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9ee9KFj49VdOEqjC9nd3wgG2MAaescwUODUIrd+guiUl2ecN9ZNCLwMzI8E+23e9valmu9gO7l4+3alYmk8gn+h88cY7OSwuMMBFSgo+EZd6iJ70OkOS5NuWOOuy2w+uXa+kc0ungE9VaXwu0FV5asgk+VaXku0FV8asg09eug7Opk3wjnc221jIihZyzisd3gl3qVFbuZMy+CXZD9FJ
-
RE: SVG Help!
@d-healey I was just using a simple example svg for this that could be drawn but I would also eventually be needing to use more complex svgs in the heroicons library: https://heroicons.com/
-
RE: SVG Help!
@d-healey This is what i'm getting in HISE:
And on a web page:
The middle bar for some reason is twice ish the height of the others and I couldn't get
p.roundCorners()
to work properly.. Any ideas why this is happening? -
SVG Help!
Hey!
I've been fiddling with this menu svg from Heroicons:
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" /> </svg>
and trying to put it into hise, but just won't budge.. I tried using the juce converter and found it worked when @d-healey's video from a while back, but it looks wonky... The proportions seem off and not right. Tried putting it into the hise tool, but don't know how to use the resulting output, tried many different ways throughout the forum but don't know which one goes with which. The preview in hise tool and juce tool looks right, but it just wont appear on panel, can anyone point me in the right direction or share some code that presents it? I was trying to use rounded caps method in the api, on the generated svg path but it doesnt seem to work, how do i correctly use this. The color i was trying to use was 0xFFA3A3A3 (light grey color).
Thanks!