diff options
-rw-r--r-- | include/tools/rcid.h | 2 | ||||
-rw-r--r-- | rsc/inc/rscdb.hxx | 2 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 54 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 11 | ||||
-rw-r--r-- | tools/source/rc/resmgr.cxx | 2 |
5 files changed, 0 insertions, 71 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h index c41a2f32483c..122c48efb022 100644 --- a/include/tools/rcid.h +++ b/include/tools/rcid.h @@ -45,8 +45,6 @@ #define RSC_IMAGELIST (RSC_NOTYPE + 0x24) #define RSC_WINDOW (RSC_NOTYPE + 0x35) -#define RSC_SYSWINDOW (RSC_NOTYPE + 0x36) -#define RSC_WORKWIN (RSC_NOTYPE + 0x37) #define RSC_CONTROL (RSC_NOTYPE + 0x44) #define RSC_BUTTON (RSC_NOTYPE + 0x45) diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index a84af73eafa4..d6a24088e1cb 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -182,8 +182,6 @@ class RscTypCont RscTop * pClassColor, RscCont * pStrLst ); RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, RscArray * pLangGeo ); - RscTop * InitClassSystemWindow( RscTop * pSuper ); - RscTop * InitClassWorkWindow( RscTop * pSuper ); RscTop * InitClassControl( RscTop * pSuper ); RscTop * InitClassCheckBox( RscTop * pSuper ); RscTop * InitClassPushButton( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index cb8648c673f2..fc13647fb4c0 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -302,60 +302,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, return pClassWindow; } -RscTop * RscTypCont::InitClassSystemWindow( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassSystemWindow; - - // initialize class - nId = pHS->getID( "SystemWindow" ); - pClassSystemWindow = new RscClass( nId, RSC_SYSWINDOW, pSuper ); - pClassSystemWindow->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassSystemWindow ); - - INS_WINBIT(pClassSystemWindow,Sizeable) - INS_WINBIT(pClassSystemWindow,Moveable) - InsWinBit( pClassSystemWindow, "Minable", nMinimizeId ); - InsWinBit( pClassSystemWindow, "Maxable", nMaximizeId ); - INS_WINBIT(pClassSystemWindow,Closeable) - INS_WINBIT(pClassSystemWindow,App) - INS_WINBIT(pClassSystemWindow,SysWin) - - return pClassSystemWindow ; -} - -RscTop * RscTypCont::InitClassWorkWindow( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassWorkWindow; - - // initialize class - nId = pHS->getID( "WorkWindow" ); - pClassWorkWindow = new RscClass( nId, RSC_WORKWIN, pSuper ); - pClassWorkWindow->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - - aNmTb.Put( nId, CLASSNAME, pClassWorkWindow ); - - // initialize variables - { - Atom nVarId; - RscEnum * pShow; - - aBaseLst.push_back( pShow = new RscEnum( pHS->getID( "EnumShowState" ), RSC_NOTYPE ) ); - - SETCONST( pShow, "SHOW_NORMAL", WORKWIN_SHOWNORMAL ); - SETCONST( pShow, "SHOW_MINIMIZED", WORKWIN_SHOWMINIMIZED ); - SETCONST( pShow, "SHOW_MAXIMIZED", WORKWIN_SHOWMAXIMIZED ); - - - // add variable - nVarId = aNmTb.Put( "Show", VARNAME ); - pClassWorkWindow->SetVariable( nVarId, pShow ); - } - - return pClassWorkWindow; -} - RscTop * RscTypCont::InitClassControl( RscTop * pSuper ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index b796c62d45a5..e7a55ac14210 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -66,8 +66,6 @@ void RscTypCont::Init() RscTop * pClassImage; RscTop * pClassImageList; RscTop * pClassWindow; - RscTop * pClassSystemWindow; - RscTop * pClassWorkWindow; RscTop * pClassControl; RscTop * pClassButton; RscTop * pClassCheckBox; @@ -309,15 +307,6 @@ void RscTypCont::Init() pRoot->Insert( pClassWindow ); } { - - pClassSystemWindow = InitClassSystemWindow( pClassWindow ); - //aBaseLst.Insert( pClassSystemWindow, LIST_APPEND ); - pRoot->Insert( pClassSystemWindow ); - - pClassWorkWindow = InitClassWorkWindow( pClassSystemWindow ); - pRoot->Insert( pClassWorkWindow ); -} -{ pClassControl = InitClassControl( pClassWindow ); pRoot->Insert( pClassControl ); diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 668b414e1ae4..2b46d4b02a50 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -1411,7 +1411,6 @@ OString ResMgr::GetAutoHelpId() // auto help ids for top level windows switch( pRC->pResource->GetRT() ) { case RSC_DOCKINGWINDOW: aHID.append( "DockingWindow" ); break; - case RSC_WORKWIN: aHID.append( "WorkWindow" ); break; default: return OString(); } } @@ -1421,7 +1420,6 @@ OString ResMgr::GetAutoHelpId() const ImpRCStack *pRC1 = StackTop(1); switch( pRC1->pResource->GetRT() ) { case RSC_DOCKINGWINDOW: - case RSC_WORKWIN: // intentionally no breaks! // auto help ids for controls switch( pRC->pResource->GetRT() ) { |