Closed MarkOates closed 2 years ago
Currently, SurfaceAreas are initialized by new when creating a UIWidget object:
SurfaceArea
new
UIWidget
new UIWidget(parent, "UIWidget", new UISurfaceAreaBox(10, 20, 30, 40));
Rather they should be passed by value:
new UIWidget(parent, "UIWidget", UISurfaceAreaBox(10, 20, 30, 40));
All UIWidget classes will be depreciated in the migration. Closing this issue.
Situation
Currently,
SurfaceArea
s are initialized bynew
when creating aUIWidget
object:Rather they should be passed by value: