Re-add Parameter Menu
Open, Needs TriagePublic

Description

Open Todos:

☑ separate different menuitem types into their own classes instead of defining menuitemtypes
☑ numeric parameter menu (non popup)
☑ more than 7 choice parameter menu (non popup)
☑ not dimming the menu item line currently being changed with popupparameter
☐ checkbox for boolean choices in separate subtask: T1193
☑ read-only item drawing
☐ pressed - color drawing of popupparametermenu/parameterscreen
☑ update and draw previous choice indicator in parameter list screen

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit

Related Objects

sebastian added a comment.EditedApr 20 2020, 10:37 AM

The structure should allow for different datatypes in the future.

Currently its a dropdown menu of string entries only.

1.
I would like to support integer values as well in the future where just one item appears in the parameter menu and the value changes as the knob is turned.

Can create visual concept if required.

2.
boolean options with checkbox (on /off)
no menu should open here when clicked, just the checkbox checked/unchecked

sebastian added a subscriber: BAndiT1983.

latest commits add:

  • dimming of background to give visual focus to popupmenu
  • automatic resizing - matching the choices
  • alignment to right side of menu
  • display of current value in the settingsmenu
  • parametermenu normally opens "upwards" from the selected entry but if that entry is further up leaving not enough space for the popup the parameter menu is pushed down automatically.
BAndiT1983 added a commit: Restricted Diffusion Commit.Fri, May 1, 6:57 PM
sebastian added a commit: Restricted Diffusion Commit.Fri, May 1, 11:36 PM

The structure should allow for different datatypes in the future.

Currently its a dropdown menu of string entries only.

1.
I would like to support integer values as well in the future where just one item appears in the parameter menu and the value changes as the knob is turned.

Can create visual concept if required.

2.
boolean options with checkbox (on /off)
no menu should open here when clicked, just the checkbox checked/unchecked

Reconsidered and do not think the integer selection is a good idea in a popupparametermenu, rather it should be a full screen menu, that way its clearer what the min/max values are and what the range of choices is.

boolean checkbox is still on though, will implement next.

sebastian updated the task description. (Show Details)Sun, May 3, 2:52 PM
sebastian updated the task description. (Show Details)
sebastian updated the task description. (Show Details)Sun, May 3, 3:25 PM
sebastian closed this task as Resolved by committing Restricted Diffusion Commit.Mon, May 4, 7:14 PM
sebastian added a commit: Restricted Diffusion Commit.
sebastian reopened this task as Open.Tue, May 5, 1:26 PM
sebastian updated the task description. (Show Details)Thu, May 7, 7:54 PM
sebastian updated the task description. (Show Details)Fri, May 8, 9:14 PM
sebastian updated the task description. (Show Details)Fri, May 8, 9:18 PM
sebastian updated the task description. (Show Details)Sun, May 10, 7:22 PM
sebastian updated the task description. (Show Details)Sun, May 10, 8:02 PM