brdwin.cxx (9f62ea84) | brdwin.cxx (52d63d7e) |
---|---|
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 --- 1310 unchanged lines hidden (view full) --- 1319 ControlState nState = CTRL_STATE_ENABLED; 1320 1321 if ( !pWin->IsEnabled() ) 1322 nState &= ~CTRL_STATE_ENABLED; 1323 if ( pWin->HasFocus() ) 1324 nState |= CTRL_STATE_FOCUSED; 1325 else if( mbNWFBorder ) 1326 { | 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 --- 1310 unchanged lines hidden (view full) --- 1319 ControlState nState = CTRL_STATE_ENABLED; 1320 1321 if ( !pWin->IsEnabled() ) 1322 nState &= ~CTRL_STATE_ENABLED; 1323 if ( pWin->HasFocus() ) 1324 nState |= CTRL_STATE_FOCUSED; 1325 else if( mbNWFBorder ) 1326 { |
1327 // FIXME: this is curently only on aqua, see if other platforms can profit | 1327 // FIXME: this is currently only on aqua, see if other platforms can profit |
1328 1329 // FIXME: for aqua focus rings all controls need to support GetNativeControlRegion 1330 // for the dropdown style 1331 if( pCtrl->HasFocus() || pCtrl->HasChildPathFocus() ) 1332 nState |= CTRL_STATE_FOCUSED; 1333 } 1334 1335 sal_Bool bMouseOver = sal_False; --- 1017 unchanged lines hidden --- | 1328 1329 // FIXME: for aqua focus rings all controls need to support GetNativeControlRegion 1330 // for the dropdown style 1331 if( pCtrl->HasFocus() || pCtrl->HasChildPathFocus() ) 1332 nState |= CTRL_STATE_FOCUSED; 1333 } 1334 1335 sal_Bool bMouseOver = sal_False; --- 1017 unchanged lines hidden --- |