EditorWindowDock.txt 1.3 KB

123456789101112131415161718192021222324252627
  1. Add icons to drag and drop
  2. Move WindowMover to BansheeEditor
  3. end drag doesn't get called unless mouse is released over a window
  4. - Capture mouse on start drag (SetCapture, and release with ReleaseCapture)
  5. - End drag should be handled by GUIManager, but if it doesn't process it DragAndDrop manager should check if mouse was released, and
  6. release capture and activate end drag callback
  7. When I do drop it over a window an exception with layout happens
  8. Add highlight to WindowMover so I can know when I'm mousing over it with a dragged window in hand
  9. Drag and drop manager currently ignores the provided icon, but it should use it as a cursor
  10. Prevent docking if available size is less than 20 pixels, otherwise there might be some weirdness
  11. GUIViewport:
  12. - MAJOR TODO - GUIViewport updateRenderElementsInternal only gets called when contents change, but viewport should update even if
  13. only its offset changes (normally that just marks the mesh as modified, which doesn't result in a call to updateRenderElementsInternal)
  14. - UPDATE: I don't use GUIViewport anymore
  15. ------------------------
  16. Other things to remember:
  17. - Possibly add a way to have hidden widgets in the EditorWidgetContainer (like side-bars that pop on mouse over in Visual Studio)
  18. - A way to persist window states
  19. - Also a way to reset all widgets to original locations