app:dock:: fix redraw panel problem.

redraw panel is slow.

reason:
the images will be read each time to draw.

solution:
reading images once and then reusing them, like copy, scale.
Merge branch 'develop'