Lines Matching refs:pWin
155 ObjectWin* pWin = (ObjectWin*) pChildWin; in ProcessChildWindowEvent() local
159 pWin->CaptureMouse(); in ProcessChildWindowEvent()
160 pWin->SetMarkMode( MARKMODE_SELECTED ); in ProcessChildWindowEvent()
161 pWin->MarkNeeded(); in ProcessChildWindowEvent()
162 pWin->MarkDepending(); in ProcessChildWindowEvent()
163 pWin->Invalidate(); in ProcessChildWindowEvent()
166 pWin->LoseFocus(); in ProcessChildWindowEvent()
167 pWin->SetMarkMode( MARKMODE_SELECTED ); in ProcessChildWindowEvent()
168 pWin->UnsetMarkMode( MARKMODE_ACTIVATED ); in ProcessChildWindowEvent()
169 pWin->MarkNeeded( sal_True ); in ProcessChildWindowEvent()
170 pWin->MarkDepending( sal_True ); in ProcessChildWindowEvent()
181 ObjectWin* pWin = (ObjectWin*) pChildWin; in ProcessChildWindowEvent() local
182 MarkObjects( pWin ); in ProcessChildWindowEvent()
202 ObjectWin* pWin = (ObjectWin*) pChildWin; in ProcessChildWindowEvent() local
203 GetDepWin()->NewConnector( pWin ); in ProcessChildWindowEvent()
212 ObjectWin* pWin = (ObjectWin*) pChildWin; in ProcessChildWindowEvent() local
213 pWin->ReleaseMouse(); in ProcessChildWindowEvent()
214 pWin->SetMarkMode(MARKMODE_SELECTED); in ProcessChildWindowEvent()
319 ObjectWin* pWin = GetObjectList()->GetObject( 0 ); in ToggleHideDependency() local
320 pWin->ToggleHideMode(); in ToggleHideDependency()
366 ObjectWin* pWin = RemoveObjectFromList( mpObjectList, mnSolWinCount, nId, sal_False ); in RemoveObject() local
367 if ( pWin ) in RemoveObject()
369 ByteString aBodyText( pWin->GetBodyText() ); in RemoveObject()
382 delete pWin; in RemoveObject()
383 return pWin; in RemoveObject()
711 ObjectWin* pWin = new ObjectWin( mpBaseWin, WB_BORDER ); in Load() local
712 pWin->Load( aInFile ); in Load()
713 …st, AddObjectToList( mpBaseWin, mpObjectList, mnSolLastId, mnSolWinCount, pWin->GetBodyText(), sal… in Load()
714 pNewWin->SetId( nLoadOffs + pWin->GetId()); in Load()
715 pNewWin->SetPosPixel( pWin->GetPosPixel()); in Load()
716 pNewWin->SetSizePixel( pWin->GetSizePixel()); in Load()
814 ObjectWin *pWin = ObjIdToPtr( mpObjectPrjList, nObjectId ); in InitPrj() local
815 pWin->SetViewMask( 0x0001 ); in InitPrj()
819 pWin->SetTipText( sPath ); in InitPrj()
872 ObjectWin *pWin = ObjIdToPtr( mpObjectPrjList, nObjectId ); in InitPrj() local
873 pWin->SetViewMask( 0x0001 ); in InitPrj()
1171 ObjectWin* pWin; in CalcDistSum() local
1181 pWin = pObjList->GetObject( i ); in CalcDistSum()
1183 if ( pWin && pWin->IsVisible()) in CalcDistSum()
1187 while ( (pCon = pWin->GetConnector( j )) ) in CalcDistSum()
1190 bIsStart = pCon->IsStart( pWin ); in CalcDistSum()
1196 pCon->UpdatePosition( pWin, sal_False ); in CalcDistSum()
1197 dWinVal += pCon->GetLen() * pWin->mnHeadDist; in CalcDistSum()
1204 pCon->UpdatePosition( pWin, sal_False ); in CalcDistSum()
1205 dWinVal += pCon->GetLen() * pWin->mnRootDist; in CalcDistSum()
1211 pCon->UpdatePosition( pWin, sal_False ); in CalcDistSum()
1213 dWinVal += pCon->GetLen() * ( pWin->mnHeadDist + 1 ); in CalcDistSum()
1215 dWinVal += pCon->GetLen() * pWin->mnRootDist; in CalcDistSum()
1229 sal_uInt16 SolDep::Impl_Traveller( ObjectWin* pWin, sal_uInt16 nDepth ) in Impl_Traveller() argument
1239 pWin->mbVisited = sal_True; in Impl_Traveller()
1240 pWin->mnRootDist = Max ( nDepth, pWin-> mnRootDist ); in Impl_Traveller()
1248 while ( (pCon = pWin->GetConnector( i )) ) in Impl_Traveller()
1250 if ( pCon->IsStart( pWin )&& pCon->IsVisible() ) //removed: don't show null_project in Impl_Traveller()
1252 pNewWin = pCon->GetOtherWin( pWin ); in Impl_Traveller()
1256 mpTravellerList->Insert( pWin, LIST_APPEND ); in Impl_Traveller()
1262 pWin->mnHeadDist = MAX( pWin->mnHeadDist, nMaxDepth - nDepth ); in Impl_Traveller()
1376 ObjectWin* pWin; in OptimizePos() local
1401 pWin = pObjLst->GetObject( i ); in OptimizePos()
1402 if ( pWin->IsVisible()) { in OptimizePos()
1403 pWin->mbVisited = sal_False; in OptimizePos()
1404 pWin->mnHeadDist = 0; in OptimizePos()
1405 pWin->mnRootDist = 0; in OptimizePos()
1412 while ( (pCon = pWin->GetConnector( j )) ) in OptimizePos()
1415 if( pCon->IsStart( pWin )) in OptimizePos()
1427 if ( nTopId != pWin->GetId()) in OptimizePos()
1428 AddConnectorToObjects( pObjLst, nTopId, pWin->GetId()); in OptimizePos()
1433 pWin = ObjIdToPtr( pObjLst, nTopId ); in OptimizePos()
1442 nRetVal = Impl_Traveller( pWin, nRootDist ); in OptimizePos()
1457 pWin = pObjLst->GetObject( i ); in OptimizePos()
1458 if ( pWin->IsVisible()) { in OptimizePos()
1459 if (( pWin->mnHeadDist + pWin->mnRootDist ) == nRetVal ) in OptimizePos()
1461 if ( !LevelList[ pWin->mnHeadDist ] ) in OptimizePos()
1462 LevelList[ pWin->mnHeadDist ] = new ObjWinList; in OptimizePos()
1463 LevelList[ pWin->mnHeadDist ]->Insert( pWin ); in OptimizePos()
1464 LevelUse[ pWin->mnHeadDist ]++; in OptimizePos()
1467 if ( pWin->mbVisited ) in OptimizePos()
1469 if ( !LevelSecList[ nRetVal - pWin->mnRootDist ] ) in OptimizePos()
1470 LevelSecList[ nRetVal - pWin->mnRootDist ] = new ObjWinList; in OptimizePos()
1471 LevelSecList[ nRetVal - pWin->mnRootDist ]->Insert( pWin ); in OptimizePos()
1472 LevelSecUse[ nRetVal - pWin->mnRootDist ]++; in OptimizePos()
1478 pWin->SetCalcPosPixel( aPos ); in OptimizePos()
1480 Point aTmpPos = pWin->GetCalcPosPixel(); in OptimizePos()
1481 pWin->SetPosPixel( mpBaseWin->LogicToPixel( aTmpPos )); in OptimizePos()
1483 nUnvisYOffs += pWin->PixelToLogic( pWin->GetSizePixel()).Height(); in OptimizePos()
1748 pWin = pObjLst->GetObject( j ); in OptimizePos()
1749 if ( pWin->IsVisible()) { in OptimizePos()
1750 aTmpPos = pWin->GetCalcPosPixel(); in OptimizePos()
1751 if ( pWin->mbVisited ) in OptimizePos()
1758 aTmpPos.X() -= pWin->PixelToLogic( pWin->GetSizePixel()).Width() / 2 ; in OptimizePos()
1760 pWin->SetPosPixel( GetDepWin()->LogicToPixel( aTmpPos )); in OptimizePos()
1783 ObjectWin* pWin; in WriteToErrorFile() local
1798 pWin = mpTravellerList->GetObject( i ); in WriteToErrorFile()
1799 fprintf( pErrFile, " %s -> \n", (pWin->GetBodyText()).GetBuffer()); in WriteToErrorFile()