TreeView.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. TODO:
  2. - Callback on tree item select
  3. - Clicking on an already selectecd element starts rename
  4. - Will likely need some kind of check to ignore double-clicks?
  5. - Context menu with rename/copy/paste/duplicate
  6. - Delete with Undo/Redo support
  7. - Auto scroll
  8. - 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.
  9. - Support for icons next to tree elements
  10. - Ability to move selection via arrow keys
  11. Drag and drop problem:
  12. - Test it properly
  13. If I make three element deep tree
  14. A
  15. --B
  16. ----C
  17. And the move C to have parent A, nothing will happen when I first do it. And when I do it next time element will move properly but a ghost element will remain.
  18. MenuBar problems:
  19. - Clicking the top menu item closes and immediately opens the menu again (it should only close it)
  20. - Something similar probably also happens with ListBox
  21. Other:
  22. - When dragging in tree view automatically expand mouse over elements
  23. - "Ping" effect
  24. - Copy/Paste/Duplicate
  25. - 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.
  26. --------------------------------------------------
  27. LOW PRIORITY:
  28. Shoutcuts ideas:
  29. 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).
  30. - I will need some kind of generic shortcuts at some point so there is no point that Rename is hardcoded to F2
  31. - I should also add a GUIShortcutManager, as a centralized place for dealing with shortcuts (so that I my edit them at a later date)
  32. - 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?
  33. - This shortcut system would be separate from the input manager, and would not be meant for in-game use