adamearle / AniMix-Popout-Editor-Windows

Creating popout windows for Blender
9 stars 0 forks source link

Drag & Drop Docking Windows #5

Open adamearle opened 1 year ago

adamearle commented 1 year ago

Drag and drop buttons from the topbar into any area for the buttons area type to be docked into any open window in Blender.

Modal? When the cursor hovers over or near the edge of an area the user will enter split mode.

  1. Top & bottom edges horizontal split
  2. Left & right edges vertical split

Dragging the button over an edge will allow the user to set where they want to split the window.

The cursor will read the area height and width breaking it up into quadrants. depending on where the cursors is on the split of the area the new window will open up in that newly slit space.

Graphical feedback will display where exactly the area will open based by placing a highlight over the area based on the quadrant the cursor is in defining the split line.

Demo

https://github.com/adamearle/AniMix-Popout-Windows/assets/16330340/1f8a8c23-5455-40eb-9dd8-f82a68d03622

Exit edit mode. Esc Escape key will allow the user to exit that mode.