EditorWindowDock.txt 1.5 KB

1234567891011121314151617181920212223242526
  1. Add icons to drag and drop - There's a built-in windows icon for this. I think. Although solution that accepts custom cursors is probably better longterm. (Special class BuiltinCursors?)
  2. end drag doesn't get called unless mouse is released over a window
  3. - Capture mouse on start drag (SetCapture, and release with ReleaseCapture)
  4. - End drag should be handled by GUIManager, but if it doesn't process it DragAndDrop manager should check if mouse was released, and
  5. release capture and activate end drag callback
  6. Add highlight to WindowMover so I can know when I'm mousing over it with a dragged window in hand
  7. Reopening the window I can see the update takes a few frames. This shouldn't be the case.
  8. Drag and drop manager currently ignores the provided icon, but it should use it as a cursor
  9. Prevent docking if available size is less than 20 pixels, otherwise there might be some weirdness
  10. GUIViewport:
  11. - MAJOR TODO - GUIViewport updateRenderElementsInternal only gets called when contents change, but viewport should update even if
  12. only its offset changes (normally that just marks the mesh as modified, which doesn't result in a call to updateRenderElementsInternal)
  13. - UPDATE: I don't use GUIViewport anymore
  14. ------------------------
  15. Other things to remember:
  16. - Possibly add a way to have hidden widgets in the EditorWidgetContainer (like side-bars that pop on mouse over in Visual Studio)
  17. - A way to persist window states
  18. - Also a way to reset all widgets to original locations