accessiblecontrolcontext.cxx (b0724fc6) | accessiblecontrolcontext.cxx (7950f2af) |
---|---|
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 --- 246 unchanged lines hidden (view full) --- 255 // In design mode (and this is what this class is for), the surrounding shape (if any) should handle this call 256 // The problem is that in design mode, our size may not be correct (in the drawing layer, controls are 257 // positioned/sized for painting only), and that calculation of our position is expensive 258 259 // what we know (or can obtain from somewhere): 260 // * the PosSize of our peer, relative to it's parent window 261 // * the parent window which the PosSize is relative to 262 // * our foreign controlled accessible parent | 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 --- 246 unchanged lines hidden (view full) --- 255 // In design mode (and this is what this class is for), the surrounding shape (if any) should handle this call 256 // The problem is that in design mode, our size may not be correct (in the drawing layer, controls are 257 // positioned/sized for painting only), and that calculation of our position is expensive 258 259 // what we know (or can obtain from somewhere): 260 // * the PosSize of our peer, relative to it's parent window 261 // * the parent window which the PosSize is relative to 262 // * our foreign controlled accessible parent |
263 // from this info, we can determine the the position of our peer relative to the foreign parent | 263 // from this info, we can determine the position of our peer relative to the foreign parent |
264 265 // our control 266 Reference< awt::XWindow > xWindow; 267 Window* pVCLWindow = implGetWindow( &xWindow ); 268 269 awt::Rectangle aBounds( 0, 0, 0, 0 ); 270 if ( xWindow.is() ) 271 { --- 105 unchanged lines hidden --- | 264 265 // our control 266 Reference< awt::XWindow > xWindow; 267 Window* pVCLWindow = implGetWindow( &xWindow ); 268 269 awt::Rectangle aBounds( 0, 0, 0, 0 ); 270 if ( xWindow.is() ) 271 { --- 105 unchanged lines hidden --- |