|
Lines 148-159
Link Here
|
| 148 |
void AppletShape::implViewsChanged() |
148 |
void AppletShape::implViewsChanged() |
| 149 |
{ |
149 |
{ |
| 150 |
// resize all ViewShapes |
150 |
// resize all ViewShapes |
|
|
151 |
::basegfx::B2DRectangle bounds( AppletShape::getBounds() ); |
| 151 |
::std::for_each( maViewAppletShapes.begin(), |
152 |
::std::for_each( maViewAppletShapes.begin(), |
| 152 |
maViewAppletShapes.end(), |
153 |
maViewAppletShapes.end(), |
| 153 |
::boost::bind( |
154 |
::boost::bind( |
| 154 |
&ViewAppletShape::resize, |
155 |
&ViewAppletShape::resize, |
| 155 |
_1, |
156 |
_1, |
| 156 |
::boost::cref( AppletShape::getBounds())) ); |
157 |
::boost::cref( bounds )) ); |
| 157 |
} |
158 |
} |
| 158 |
|
159 |
|
| 159 |
|
160 |
|
|
Lines 252-262
Link Here
|
| 252 |
|
253 |
|
| 253 |
bool AppletShape::implStartIntrinsicAnimation() |
254 |
bool AppletShape::implStartIntrinsicAnimation() |
| 254 |
{ |
255 |
{ |
|
|
256 |
::basegfx::B2DRectangle bounds( getBounds() ); |
| 255 |
::std::for_each( maViewAppletShapes.begin(), |
257 |
::std::for_each( maViewAppletShapes.begin(), |
| 256 |
maViewAppletShapes.end(), |
258 |
maViewAppletShapes.end(), |
| 257 |
::boost::bind( &ViewAppletShape::startApplet, |
259 |
::boost::bind( &ViewAppletShape::startApplet, |
| 258 |
_1, |
260 |
_1, |
| 259 |
::boost::cref( getBounds() ))); |
261 |
::boost::cref( bounds ))); |
| 260 |
mbIsPlaying = true; |
262 |
mbIsPlaying = true; |
| 261 |
|
263 |
|
| 262 |
return true; |
264 |
return true; |