Window content synchronization
Window content synchronization
- Subject: Window content synchronization
- From: Torsten Radtke <email@hidden>
- Date: Fri, 9 Mar 2007 19:12:54 +0100
Hi there,
I would like to synchronize the contents of two windows (i.e. their
custom views): one custom view inside the main window draw some
graphics, while the other custom view in a semitransparent HUD draws
additional information. If I move the HUD the contents changes (works
well with a modification of the current transformation function). I
update the offset between the two content rectangles in the
windowDidMove: method of the custom view in my HUD.
The contents of my HUD window is always drawn after I move the window
(since I update my schedule redraw after the window moves) and this
results in a visible offset which is larger as I move the window faster.
Is there a possibility to synchronize window movement and content
redraw?
If I move my HUD by dragging the window background ([...
setMovableByWindowBackground:YES]) the windowDidMove: notifications
arrive only if I move the mouse very slowly or stop dragging.
Is there a reason for this behaviour?
Thanks for any help in advance,
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden