TreeView.txt 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. TODO:
  2. - Add better TreeViewEditBox texture
  3. - Callback on tree item select
  4. - In disableEdit make sure I actually apply name change
  5. - Use Undo/Redo system (TODO: Not implemented yet)
  6. - Clicking on an already selectecd element starts rename
  7. - Will likely need some kind of check to ignore double-clicks?
  8. - Pressing F2 starts rename
  9. - Context menu with rename
  10. - Detect when I click outside of input box and disable edit (TODO: Need a way to easily detect this)
  11. - Delete
  12. - Needs Undo/Redo support
  13. - Drag and drop
  14. - If a mouse drag is detected DragAndDropManager is activated
  15. - Element is not removed from its original position until drag is complete
  16. - Dragging over an element will make a highlight box appear around it
  17. - Dragging between elements will make a thick line appear between them
  18. - Releasing the drag changes the element parents
  19. - Auto scroll
  20. - Sliding over top or bottom of the tree view while dragging an element will search GUIElement parents to find a ScrollArea. If it finds one it will attempt to scroll up or down.
  21. Gained/Lost focus refactor:
  22. - Add Window mouse hooks for detecting a mouse press outside of a window: http://www.codeproject.com/Articles/187869/Your-Desktop-and-Microsoft-s-SetWindowsHookEx
  23. - Remove Selective input and port DropDownBox so it uses the focus system
  24. Other:
  25. - When dragging in tree view automatically expand mouse over elements
  26. - Ability to select and drag multiple elements
  27. - "Ping" effect
  28. - All operations should be undo-redoable
  29. - Context menu with copy/paste
  30. - Copy/Paste/Duplicate
  31. - This is more of a problem with actual copying of SceneObjects (It's not implemented). I should be able to serialize, and then de-serialize with a new parent as a form of copy.
  32. --------------------------------------------------
  33. LOW PRIORITY:
  34. Shoutcuts ideas:
  35. Remove Cut/Copy/Paste/Undo/Redo/Rename/SelectAll and similar shortcuts from InputCommands. Instead send generic shortcut commands whenever user presses some key (with shift/ctrl/alt state).
  36. - I will need some kind of generic shortcuts at some point so there is no point that Rename is hardcoded to F2
  37. - I should also add a GUIShortcutManager, as a centralized place for dealing with shortcuts (so that I my edit them at a later date)
  38. - TODO - Figure out how would this work. How would the centralized system know all of the UI shortcuts? Probably register them somehow on program start?
  39. - This shortcut system would be separate from the input manager, and would not be meant for in-game use