Advertisement
robn

new-ui todo

Sep 26th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. - Widget show/hide
  2. - Continues to contribute to layout
  3. - Receives Update()
  4. - Does not recieve events or Draw()
  5.  
  6. - Contributes layout == leaves gaps
  7. - Enable/Disable that doesn't contribute layout either?
  8. - "Slide" animation - gradually increasing layout?
  9. - So we end up have different overlaid regions for different phases.
  10. - Needs some brainstorming about regions.
  11.  
  12. - Check header documentation against implementation.
  13.  
  14. - TextureFont should only measure/render single line spans (remove
  15. newline/paragraph handling)
  16.  
  17. - Review class structure and use of friend classes.
  18. - Combine Widget and Container?
  19.  
  20. - Sliders should handle clicks either side of button.
  21.  
  22. - Use unsigned ints where appropriate.
  23.  
  24. - Grid rowspan/colspan. AttributedWidget.
  25.  
  26. - Clean up inclusions. Should mostly only need to include Context.h.
  27.  
  28. - Check that all container adds/removes issue RequestLayout().
  29.  
  30. - Scroller needs to calculate travel from inner widget height.
  31.  
  32. - Scroller should take mouse input from the entire inner area, not just that
  33. covered by the inner widget.
  34.  
  35. - Should boxes preserve aspect?
  36.  
  37. - Make console handle UI.Foo
  38. - Generalise LuaObject dispatcher and have it call in
  39.  
  40.  
  41. ANSWERED:
  42.  
  43. - Why does Scroller not inherit from Single?
  44. - Because its not a Single. It has two widgets inside.
  45.  
  46. - Are mouseup/down and mouseactivate/deactivate fundamentally different?
  47. - Up/down has position.
  48.  
  49. - Does Image need STRETCH_MAX scaling? Is there a time where scaling
  50. shouldn't be aspect-aware?
  51. - Yes, backgrounds.
  52.  
  53. - Scissor should be queryable so that widgets can choose not to do expensive
  54. draw ops that will just be clipped (MultiLineText).
  55. - Except that its really fiddly. Premature optimisation?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement