mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Remove excess logging
This commit is contained in:
parent
9d74699181
commit
aaeb58e993
1 changed files with 1 additions and 10 deletions
|
@ -415,29 +415,20 @@ drawFocusRingOnGadget( XP_U16 idLow, XP_U16 idHigh )
|
|||
|
||||
form = FrmGetActiveForm();
|
||||
index = FrmGetFocus( form );
|
||||
XP_LOGF( "%s: FrmGetFocus=>%d", __FUNCTION__, index );
|
||||
if ( index >= 0 ) {
|
||||
focusID = FrmGetObjectId( form, index );
|
||||
XP_LOGF( "%s: FrmGetObjectId=>%d", __FUNCTION__, focusID );
|
||||
|
||||
if ( (focusID >= idLow) && (focusID <= idHigh) ) {
|
||||
Err err;
|
||||
RectangleType rect;
|
||||
|
||||
getObjectBounds( focusID, &rect );
|
||||
XP_LOGF( "focusID=%d; index=%d", focusID, index );
|
||||
XP_LOGF( "rect=%d,%d,%d,%d", rect.topLeft.x, rect.topLeft.y,
|
||||
rect.extent.x, rect.extent.y );
|
||||
|
||||
/* growing the rect didn't work to fix glitches in ring drawing. */
|
||||
|
||||
err = HsNavDrawFocusRing( form, focusID, 0, &rect,
|
||||
hsNavFocusRingStyleObjectTypeDefault,
|
||||
false );
|
||||
if ( err != errNone ) {
|
||||
XP_LOGF( "%s: err=%d (0x%x)", __FUNCTION__, err, err );
|
||||
}
|
||||
XP_ASSERT( err == errNone ); /* firing */
|
||||
XP_ASSERT( err == errNone );
|
||||
}
|
||||
}
|
||||
LOG_RETURN_VOID();
|
||||
|
|
Loading…
Reference in a new issue