Draggable combo type for int uniform

  • Posts: 176
1 year 5 months ago #1 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.

  • Posts: 336
1 year 5 months ago - 1 year 5 months ago #2 by OtisInf
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...

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

  • Posts: 1221
1 year 5 months ago - 1 year 5 months ago #3 by Marty McFly
On Windows, mouse scroll cycles through the options of last selected drop down menu, maybe link this behavior to mouse hover over?

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

  • Posts: 176
1 year 5 months ago - 1 year 5 months ago #4 by Daodan

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?

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