Restore unresolved TODO items
This commit is contained in:
1 parent
234abb8052
commit
338f10f070
1 file changed
+14
-1
@@ -1 +1,14 @@
|
|||||||
consider typed TextureHandle<T> variants for distinct texture uses
|
images
|
||||||
|
settings (sampler)
|
||||||
|
consider typed TextureHandle<T> variants for distinct texture uses
|
||||||
|
|
||||||
|
WidgetRef<W> or smth instead of Id
|
||||||
|
enum that's either an Id or an actual concrete instance of W
|
||||||
|
painter takes them in instead of (or in addition to) id
|
||||||
|
then type wrapper widgets to contain them
|
||||||
|
allows for compile time optimization if a widget wrapper's inner is known at compile time
|
||||||
|
and the id of inner is not needed anywhere
|
||||||
|
maybe introduce InnerWidget trait to allow for editors to expose & modify inner type
|
||||||
|
maybe could also store a parent widget and keep using InnerWidget trait? unsure if possible
|
||||||
|
|
||||||
|
POTENTIAL BUG: closures that store IDs will not decrement the id!!! need to not increment id if moved into closure somehow??? wait no, need to decrement ID every time an event fn is added...... only if the id is used in it..??
|
||||||
Reference in new issue
Block a user