view/model questions [message #65580] |
Thu, 12 March 2009 09:05 |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Hi people,
I've a window who draws a view. This view has the same size as the
window and contains a model with a lot of graphical objects. The time
to render this view is considerable...
Then, I want to draw some "dynamic" graphical object over this view.
This new "dynamic" objects can change with the mouse position.. So I
need to do some redraws.
Use only one view and model is not a good idea because the dynamic
objects change for each mouse movement and the time to render the view
is too much. So, the interaction sucks...
If I separate the static and dynamic objects with 2 models and views
and I only redraw the dynamic objects contained in the 2nd model, the
"dynamic" view hides the static view beacuse has the same dimensions.
Then how can I do to separate this to create a good interaction
redrawing only the "dynamic" objects.
Any suggestion.
Thanks,
llo
|
|
|