mediashape.cxx (70f497fb) | mediashape.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 --- 117 unchanged lines hidden (view full) --- 126 } 127 } 128 129 // --------------------------------------------------------------------- 130 131 void MediaShape::implViewsChanged() 132 { 133 // 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 --- 117 unchanged lines hidden (view full) --- 126 } 127 } 128 129 // --------------------------------------------------------------------- 130 131 void MediaShape::implViewsChanged() 132 { 133 // resize all ViewShapes |
134 ::basegfx::B2DRange aBounds = getBounds(); |
|
134 ::std::for_each( maViewMediaShapes.begin(), 135 maViewMediaShapes.end(), 136 ::boost::bind( 137 &ViewMediaShape::resize, 138 _1, | 135 ::std::for_each( maViewMediaShapes.begin(), 136 maViewMediaShapes.end(), 137 ::boost::bind( 138 &ViewMediaShape::resize, 139 _1, |
139 ::boost::cref( getBounds())) ); | 140 ::boost::cref( aBounds ) ) ); |
140 } 141 142 // --------------------------------------------------------------------- 143 144 void MediaShape::addViewLayer( const ViewLayerSharedPtr& rNewLayer, 145 bool bRedrawLayer ) 146 { 147 maViewMediaShapes.push_back( --- 146 unchanged lines hidden --- | 141 } 142 143 // --------------------------------------------------------------------- 144 145 void MediaShape::addViewLayer( const ViewLayerSharedPtr& rNewLayer, 146 bool bRedrawLayer ) 147 { 148 maViewMediaShapes.push_back( --- 146 unchanged lines hidden --- |