You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current need is to use an horizontal range slider, e.g. for a slideshow with frames in a video. If they could follow the same colored style the current vertical sliders currently do in your demo, it would be perfect for me :-)
(as a simple) example below, Vmin = 1, Vmax = 1000, Rmin = 200 and Rmax = 500.
As a summary, the need could be to display an horizontal slider + two colored rectangles + the Rmin and Rmax values + a colored region between them , as visible information for the user.
You can use DragFloatRange2 as a workaround, but it doesn't exactly look the same as what you want.
It is totally doable to make the slider range but right now I myself have other priorities. I would probably want to refactor the internal slider code quite a bit and consider the Navigation branch (~navigation within the range slider to select either sides). You can look at the code and try to make one yourself by copying the slider code.
Closing as duplicate of #76. Please move the conversation there.
Hello,
My current need is to use an horizontal range slider, e.g. for a slideshow with frames in a video. If they could follow the same colored style the current vertical sliders currently do in your demo, it would be perfect for me :-)
(as a simple) example below, Vmin = 1, Vmax = 1000, Rmin = 200 and Rmax = 500.
As a summary, the need could be to display an horizontal slider + two colored rectangles + the Rmin and Rmax values + a colored region between them , as visible information for the user.
I searched in ImGui code and found nothing like that. Or maybe SliderAngle ? In this link http://danielcrisp.github.io/angular-rangeslider/demo/ it's question of SliderAngle, but I'm a bit confused.
Last, in the ImGui demo window, there are two rectangles doing what I need, but it looks unfinished (if I'm not wrong).
Question 1 : what about add this control in the list ? (see the proposed interface below)
--- old/imgui.h 2017-08-28 10:50:13.000639675 +0200
+++ new/imgui.h 2017-08-28 10:53:29.120236271 +0200
@@ -313,11 +313,13 @@
Question 2 : do you suggest another solution / workaround ?
What do you think ? Thanks in advance for your answer :-)
Edit : modified what had to be drawn
The text was updated successfully, but these errors were encountered: