Simon Altschuler

Results 52 comments of Simon Altschuler

I've changed the track color to use `ImGuiCol_Button`, that seems like a reasonable default and it makes the input field separately stylable with `ImGuiCol_FrameBg`/`ImGuiCol_Text` etc.

Hi and thank you for the PR! I like the idea of making the start/end angles configurable, but I'm not sure if using a separate SetStartAndEndAngle function is desirable, because...

Hi @GyorgyRotter, I decided to just add another two arguments to the knob functions. While not ideal I think the added context and extra setter functions are too much for...

Sure that would be possible. I don't have a lot of time at the moment, but will look into it at some point. Happy to accept a PR too :)

> @elanhickler @altschuler I'm happy submit a PR for this but need some info. > > * Should there still be support for horizontal and vertical modes? > > *...

@RobertAlbus I tested this out and found that it's arguably better using bi-directional dragging, so I made that default.

Hi, good catch. I believe it's because the arc drawing isn't optimal when using transparency, since it's drawn in multiple overlapping segments. I'm sure it can be optimized somehow in...

> Basically you just need to draw the two parts as inverses so that they both move. I may be able to spend some time on that next week. Can...

I've been away for a while, but better late than never I guess :) Thank you for your suggestion! Like @dromer shows, you can implement double click to reset with...

> @altschuler well not entirely. I had to modify imgui-knobs to set `k.value_changed = true;` when this happens. Right, I see. Why is that? What's the reason you're setting the...