| soldep.cxx (d9e04f7d) | soldep.cxx (0deba7fb) |
|---|---|
| 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 --- 965 unchanged lines hidden (view full) --- 974 fprintf(stdout,"null\n"); 975 } 976 } 977 return sal_True; 978} 979 980void SolDep::Resize() 981{ | 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 --- 965 unchanged lines hidden (view full) --- 974 fprintf(stdout,"null\n"); 975 } 976 } 977 return sal_True; 978} 979 980void SolDep::Resize() 981{ |
| 982//funzt! mu� aber von der applikation aufgerufen werden. | 982//funzt! mu?aber von der applikation aufgerufen werden. |
| 983 Point aOutPos = Point( 0, 0 ); 984 Size aOutSize = mpProcessWin->GetOutputSizePixel(); 985 // calculate output size 986 sal_uIntPtr nTaskHeight = maToolBox.CalcWindowSizePixel().Height(); 987 sal_uIntPtr nTaskWidth = maToolBox.CalcWindowSizePixel().Width(); 988 Size aSize( aOutSize.Width(), nTaskHeight ); 989 990// sal_uIntPtr nMenuHeight = 0; 991 Point aGraphWinPos = Point(0,0); 992 Size aGraphWinSize = Size(0,0); 993 | 983 Point aOutPos = Point( 0, 0 ); 984 Size aOutSize = mpProcessWin->GetOutputSizePixel(); 985 // calculate output size 986 sal_uIntPtr nTaskHeight = maToolBox.CalcWindowSizePixel().Height(); 987 sal_uIntPtr nTaskWidth = maToolBox.CalcWindowSizePixel().Width(); 988 Size aSize( aOutSize.Width(), nTaskHeight ); 989 990// sal_uIntPtr nMenuHeight = 0; 991 Point aGraphWinPos = Point(0,0); 992 Size aGraphWinSize = Size(0,0); 993 |
| 994//wei� nicht wie: nMenuHeight = aMenuBar.GetWindow()->GetSizePixel().Height(); //H�he des Menues | 994//wei?nicht wie: nMenuHeight = aMenuBar.GetWindow()->GetSizePixel().Height(); //H�he des Menues |
| 995 996 //aInRect = pTBManager->Resize( Rectangle( aOutPos, aOutSize ); 997 // Set Docking-Rectangle for ToolBar 998 Rectangle aInRect; 999 1000 if (( !maToolBox.IsFloatingMode() ) && ( maToolBox.GetAlign() == WINDOWALIGN_TOP )) 1001 { 1002 // waagerechte Toolbar oben --- 706 unchanged lines hidden (view full) --- 1709 } 1710 } 1711// i--; 1712 } while ( i != 0 ); 1713 SetMainProgressBar( 100 ); 1714 1715 sal_uIntPtr nNewXSize = ( DEPPER_MAX_WIDTH + 1 ) * ( OBJWIN_X_SPACING + GetDefSize().Width() ); 1716 | 995 996 //aInRect = pTBManager->Resize( Rectangle( aOutPos, aOutSize ); 997 // Set Docking-Rectangle for ToolBar 998 Rectangle aInRect; 999 1000 if (( !maToolBox.IsFloatingMode() ) && ( maToolBox.GetAlign() == WINDOWALIGN_TOP )) 1001 { 1002 // waagerechte Toolbar oben --- 706 unchanged lines hidden (view full) --- 1709 } 1710 } 1711// i--; 1712 } while ( i != 0 ); 1713 SetMainProgressBar( 100 ); 1714 1715 sal_uIntPtr nNewXSize = ( DEPPER_MAX_WIDTH + 1 ) * ( OBJWIN_X_SPACING + GetDefSize().Width() ); 1716 |
| 1717 // sal_uIntPtr aObjID = GetStart(pIdMapper, pObjLst) //hier mu� man switchen GetStart/GetPrjStart oder so | 1717 // sal_uIntPtr aObjID = GetStart(pIdMapper, pObjLst) //hier mu?man switchen GetStart/GetPrjStart oder so |
| 1718 1719 ObjectWin* pObjWin = ObjIdToPtr( pObjLst, aObjID); 1720 1721 sal_uIntPtr nNewYSize = pObjWin->GetCalcPosPixel().Y() + GetDefSize().Height() + 2 * OBJWIN_Y_SPACING; 1722 if (( nUnvisYOffs + GetDefSize().Height()) > nNewYSize ) 1723 nNewYSize = nUnvisYOffs + GetDefSize().Height(); 1724 1725 MapMode aMapMode = GetDepWin()->GetMapMode(); --- 32 unchanged lines hidden (view full) --- 1758 aTmpPos.X() -= pWin->PixelToLogic( pWin->GetSizePixel()).Width() / 2 ; 1759 } 1760 pWin->SetPosPixel( GetDepWin()->LogicToPixel( aTmpPos )); 1761 } 1762 } 1763 aWorkList.Clear(); 1764 GetDepWin()->EnablePaint( sal_True ); 1765 GetDepWin()->Invalidate(); | 1718 1719 ObjectWin* pObjWin = ObjIdToPtr( pObjLst, aObjID); 1720 1721 sal_uIntPtr nNewYSize = pObjWin->GetCalcPosPixel().Y() + GetDefSize().Height() + 2 * OBJWIN_Y_SPACING; 1722 if (( nUnvisYOffs + GetDefSize().Height()) > nNewYSize ) 1723 nNewYSize = nUnvisYOffs + GetDefSize().Height(); 1724 1725 MapMode aMapMode = GetDepWin()->GetMapMode(); --- 32 unchanged lines hidden (view full) --- 1758 aTmpPos.X() -= pWin->PixelToLogic( pWin->GetSizePixel()).Width() / 2 ; 1759 } 1760 pWin->SetPosPixel( GetDepWin()->LogicToPixel( aTmpPos )); 1761 } 1762 } 1763 aWorkList.Clear(); 1764 GetDepWin()->EnablePaint( sal_True ); 1765 GetDepWin()->Invalidate(); |
| 1766//LevelListen loeschen H�? Welche Levellisten? | 1766//LevelListen loeschen H? Welche Levellisten? |
| 1767 1768//Update all Connectors 1769// --> To be done: Don't call twice Object1-Connector-Object2 1770 ObjectWin* pObject1; 1771 for ( i = 0 ; i < nObjCount ; i++) 1772 { 1773 pObject1 = pObjLst->GetObject( i ); 1774 if ( pObject1->IsVisible()) --- 29 unchanged lines hidden --- | 1767 1768//Update all Connectors 1769// --> To be done: Don't call twice Object1-Connector-Object2 1770 ObjectWin* pObject1; 1771 for ( i = 0 ; i < nObjCount ; i++) 1772 { 1773 pObject1 = pObjLst->GetObject( i ); 1774 if ( pObject1->IsVisible()) --- 29 unchanged lines hidden --- |