AppCUI icon indicating copy to clipboard operation
AppCUI copied to clipboard

[Core][Control] Re-design control deletion

Open gdt050579 opened this issue 3 years ago • 0 comments

Control deletion / removal has to be redisign. Things to include:

  • Closing somehting from the framework (a regular window) should dealocate the control
  • Closing a modal window, should not dealocate the control (most likely that window was built on the stack and will self detele)
  • For windows built on the stack, make sure the desrtuctor also deletes child controls
  • Make sure that window manager can not delete a modal window
  • Rethink a new way of keep references to controls via ControlReference<T> : Reference<Control>

gdt050579 avatar Oct 08 '21 05:10 gdt050579