Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
More tasks
Browse files Browse the repository at this point in the history
svn path=/trunk/moon/; revision=79360
  • Loading branch information
migueldeicaza committed Jun 13, 2007
1 parent fd422fa commit 1b2af8d
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion TODO
@@ -1,6 +1,11 @@

Feel free to add items to this TODO list

* GetKind
=
All the managed classes need to implement GetKind() as well,
to ensure that we pass the proper object to unmanaged code

* Managed Code:

Change all the calls to DependencyProperty.Register to
Expand Down Expand Up @@ -98,4 +103,26 @@ Feel free to add items to this TODO list
Must be researched, Rolf said something about:

<rolf> miguel_, that requires more code :)
<rolf> you'd have to attach to every property you want to listen to
<rolf> you'd have to attach to every property you want to listen to

* Managed side

UIElement.cs currently uses standard events, it should instead
use something like EventList like Windows.Forms does to avoid
wasting all that space on all those fields that are barely used.

Also, it should probably flag when the frist event is set to
avoid having the native code send any events when we are not
interested in them.

Something like on "add" we would do:

NativeMethods.UIElement_register_interest_in_events (...)

* Canvas/Surface

The canvas currently is set to width/height = 0 (we never initialize it),
but the surface should actually track the size of the canvas.

This leads to code in Canvas::handle_motion that does not work
for now (since we are an object with no size).

0 comments on commit 1b2af8d

Please sign in to comment.