Draggable combo type for int uniform

More
1 year 11 months ago #1 by Daodan
Draggable combo type for int uniform was created by Daodan
It would be nice to have a uniform type that takes a list of items and lets the user just drag through them - instead of tediously clicking through the list of a combo type uniform.
I don't know if that is possible, but having the combo type support dragging and picking from the list at the same time would be good.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #2 by OtisInf
Replied by OtisInf on topic Draggable combo type for int uniform
Or maybe [+][-] buttons next to it (variants: [<] [>] or [v][^])? (which is a bit more complex than you think, considering you need to disable one if the end of the selections are reached (or wrap around?) I don't recall ImGui having a draggable combo control...
Last edit: 1 year 11 months ago by OtisInf.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #3 by Marty McFly
Replied by Marty McFly on topic Draggable combo type for int uniform
On Windows, mouse scroll cycles through the options of last selected drop down menu, maybe link this behavior to mouse hover over?
Last edit: 1 year 11 months ago by Marty McFly.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #4 by Daodan
Replied by Daodan on topic Draggable combo type for int uniform

OtisInf wrote: Or maybe [+][-] buttons next to it (variants: [<] [>] or [v][^])? (which is a bit more complex than you think, considering you need to disable one if the end of the selections are reached (or wrap around?) I don't recall ImGui having a draggable combo control...


I've never worked with ImGui, so I don't know what can and cannot be done with it. My basic idea with this suggestion is that you can cycle back and forth through the items without having to 'reposition' the cursor. That might sound really nitpicky but I think it would greatly increase the user experience.

Marty McFly wrote: On Windows, mouse scroll cycles through the options of last selected drop down menu, maybe link this behavior to mouse hover over?


Mouse scrolling is also a good idea. But that would then interfere with global scrolling I guess?
Last edit: 1 year 11 months ago by Daodan.

Please Log in or Create an account to join the conversation.