appletshape.cxx (70f497fb) appletshape.cxx (a72d41dc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 140 unchanged lines hidden (view full) ---

149 }
150 }
151
152 // ---------------------------------------------------------------------
153
154 void AppletShape::implViewsChanged()
155 {
156 // resize all ViewShapes
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 140 unchanged lines hidden (view full) ---

149 }
150 }
151
152 // ---------------------------------------------------------------------
153
154 void AppletShape::implViewsChanged()
155 {
156 // resize all ViewShapes
157 ::basegfx::B2DRectangle aBounds = AppletShape::getBounds();
157 ::std::for_each( maViewAppletShapes.begin(),
158 maViewAppletShapes.end(),
159 ::boost::bind(
160 &ViewAppletShape::resize,
161 _1,
158 ::std::for_each( maViewAppletShapes.begin(),
159 maViewAppletShapes.end(),
160 ::boost::bind(
161 &ViewAppletShape::resize,
162 _1,
162 ::boost::cref( AppletShape::getBounds())) );
163 ::boost::cref( aBounds ) ) );
163 }
164
165 // ---------------------------------------------------------------------
166
167 void AppletShape::addViewLayer( const ViewLayerSharedPtr& rNewLayer,
168 bool bRedrawLayer )
169 {
170 try

--- 82 unchanged lines hidden (view full) ---

253
254 return true;
255 }
256
257 // ---------------------------------------------------------------------
258
259 bool AppletShape::implStartIntrinsicAnimation()
260 {
164 }
165
166 // ---------------------------------------------------------------------
167
168 void AppletShape::addViewLayer( const ViewLayerSharedPtr& rNewLayer,
169 bool bRedrawLayer )
170 {
171 try

--- 82 unchanged lines hidden (view full) ---

254
255 return true;
256 }
257
258 // ---------------------------------------------------------------------
259
260 bool AppletShape::implStartIntrinsicAnimation()
261 {
262 ::basegfx::B2DRectangle aBounds = getBounds();
261 ::std::for_each( maViewAppletShapes.begin(),
262 maViewAppletShapes.end(),
263 ::boost::bind( &ViewAppletShape::startApplet,
264 _1,
263 ::std::for_each( maViewAppletShapes.begin(),
264 maViewAppletShapes.end(),
265 ::boost::bind( &ViewAppletShape::startApplet,
266 _1,
265 ::boost::cref( getBounds() )));
267 ::boost::cref( aBounds )));
266 mbIsPlaying = true;
267
268 return true;
269 }
270
271 // ---------------------------------------------------------------------
272
273 bool AppletShape::implEndIntrinsicAnimation()

--- 53 unchanged lines hidden ---
268 mbIsPlaying = true;
269
270 return true;
271 }
272
273 // ---------------------------------------------------------------------
274
275 bool AppletShape::implEndIntrinsicAnimation()

--- 53 unchanged lines hidden ---