Author: qmathe
Date: Sun Jan 24 16:48:41 2010
New Revision: 5866

URL: http://svn.gna.org/viewcvs/etoile?rev=5866&view=rev
Log:
Rewrote the field editor management to be much simpler and more robust (we 
simply insert it as a subview of the window content view now and we override 
the instrument in use with our own until the editing ends).

Added -hitTestFieldEditorWithEvent: to ETWindowItem and modified 
-hitTestWithEvent: and -updateActiveInstrumentWithEvent: to use it.
Rewrote -setActiveFieldEditor:editedItem: -removeActiveFieldEditorItem: to 
implement the behavior described above.

Simplified -[ETActionHandler beginEditingItem:property:inRect:] a bit and 
tweaked it to prevent crash when the property is not editable or the value is 
nil.

Fixed -[ETEventProcessor processMouseEvent:] to correctly update the 
activeInstrument local variable in the mouse down case.

Modified:
    trunk/Etoile/Frameworks/EtoileUI/Headers/ETActionHandler.h
    trunk/Etoile/Frameworks/EtoileUI/Headers/ETWindowItem.h
    trunk/Etoile/Frameworks/EtoileUI/Source/ETActionHandler.m
    trunk/Etoile/Frameworks/EtoileUI/Source/ETEventProcessor.m
    trunk/Etoile/Frameworks/EtoileUI/Source/ETInstrument.m
    trunk/Etoile/Frameworks/EtoileUI/Source/ETWindowItem.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to