diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 08:56:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 10:22:12 +0100 |
commit | 933bcfd2feafa82afc480161471cfeb29c6a0b7a (patch) | |
tree | 61a263843670ea43456aed4d89d3929696f4a141 /rsc/source | |
parent | e1683c2d13a744344ee6a7b06917f65c11d8b35b (diff) |
various ids not loaded from .res anymore
Change-Id: Id2fab3e4b7a8feed3107e66d02cdf2a278ae9ef7
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 85 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 22 |
2 files changed, 0 insertions, 107 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 067047b589fe..e75ca8435e92 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -373,20 +373,6 @@ RscTop * RscTypCont::InitClassModalDialog( RscTop * pSuper ) return pClassDialog; } -RscTop * RscTypCont::InitClassModelessDialog( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassDialog; - - // Klasse anlegen - nId = pHS->getID( "ModelessDialog" ); - pClassDialog = new RscClass( nId, RSC_MODELESSDIALOG, pSuper ); - pClassDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassDialog ); - - return pClassDialog; -} - RscTop * RscTypCont::InitClassControl( RscTop * pSuper ) { Atom nId; @@ -596,61 +582,6 @@ RscTop * RscTypCont::InitClassMultiLineEdit( RscTop * pSuper ) return pClassMultiLineEdit; } -RscTop * RscTypCont::InitClassScrollBar( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassScrollBar; - - // Klasse anlegen - nId = pHS->getID( "ScrollBar" ); - pClassScrollBar = new RscClass( nId, RSC_SCROLLBAR, pSuper ); - pClassScrollBar->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassScrollBar ); - - // Variablen anlegen - nId = aNmTb.Put( "MinPos", VARNAME ); - pClassScrollBar->SetVariable( nId, &aShort ); - { - RSCINST aDfltI; - - aDfltI = aShort.Create( NULL, RSCINST(), false ); - aDfltI.pClass->SetNumber( aDfltI, 100 ); -// aDfltI.pClass->MakeDefault( aDfltI ); - - nId = aNmTb.Put( "MaxPos", VARNAME ); - pClassScrollBar->SetVariable( nId, &aShort, &aDfltI ); - } - nId = aNmTb.Put( "ThumbPos", VARNAME ); - pClassScrollBar->SetVariable( nId, &aShort ); - { - RSCINST aDfltI; - - aDfltI = aShort.Create( NULL, RSCINST(), false ); - aDfltI.pClass->SetNumber( aDfltI, 1 ); -// aDfltI.pClass->MakeDefault( aDfltI ); - - nId = aNmTb.Put( "PageSize", VARNAME); - pClassScrollBar->SetVariable( nId, &aShort, &aDfltI ); - } - { - RSCINST aDfltI; - - aDfltI = aShort.Create( NULL, RSCINST(), false ); - aDfltI.pClass->SetNumber( aDfltI, 1 ); -// aDfltI.pClass->MakeDefault( aDfltI ); - nId = aNmTb.Put( "LineSize", VARNAME ); - pClassScrollBar->SetVariable( nId, &aShort, &aDfltI ); - } - nId = aNmTb.Put( "VisibleSize", VARNAME ); - pClassScrollBar->SetVariable( nId, &aShort ); - - INS_WINBIT( pClassScrollBar, HScroll ); - INS_WINBIT( pClassScrollBar, VScroll ); - INS_WINBIT( pClassScrollBar, Drag ) - - return pClassScrollBar; -} - RscTop * RscTypCont::InitClassListBox( RscTop * pSuper, RscArray * pStrLst ) { Atom nId; @@ -683,22 +614,6 @@ RscTop * RscTypCont::InitClassListBox( RscTop * pSuper, RscArray * pStrLst ) return pClassListBox; } -RscTop * RscTypCont::InitClassMultiListBox( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassMultiListBox; - - // Klasse anlegen - nId = pHS->getID( "MultiListBox" ); - pClassMultiListBox = new RscClass( nId, RSC_MULTILISTBOX, pSuper ); - pClassMultiListBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassMultiListBox ); - - INS_WINBIT(pClassMultiListBox,SimpleMode) - - return pClassMultiListBox; -} - RscTop * RscTypCont::InitClassComboBox( RscTop * pSuper, RscArray * pStrLst ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 0ff5e2487cdc..d45450d62fd4 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -73,7 +73,6 @@ void RscTypCont::Init() RscTop * pClassWorkWindow; RscTop * pClassDialog; RscTop * pClassModalDialog; - RscTop * pClassModelessDialog; RscTop * pClassControl; RscTop * pClassButton; RscTop * pClassCheckBox; @@ -86,13 +85,10 @@ void RscTypCont::Init() RscTop * pClassTriStateBox; RscTop * pClassEdit; RscTop * pClassMultiLineEdit; - RscTop * pClassScrollBar; RscTop * pClassListBox; - RscTop * pClassMultiListBox; RscTop * pClassComboBox; RscTop * pClassFixedText; RscTop * pClassFixedImage; - RscTop * pClassGroupBox; RscTop * pClassKeyCode; RscTop * pLangClassKeyCode; RscTop * pClassAccelItem; @@ -378,10 +374,6 @@ void RscTypCont::Init() // Klasse anlegen pClassModalDialog = InitClassModalDialog( pClassDialog ); pRoot->Insert( pClassModalDialog ); - - // Klasse anlegen - pClassModelessDialog = InitClassModelessDialog( pClassDialog ); - pRoot->Insert( pClassModelessDialog ); } { pClassControl = InitClassControl( pClassWindow ); @@ -441,18 +433,11 @@ void RscTypCont::Init() pClassMultiLineEdit = InitClassMultiLineEdit( pClassEdit ); pRoot->Insert( pClassMultiLineEdit ); - - pClassScrollBar = InitClassScrollBar( pClassControl ); - pRoot->Insert( pClassScrollBar ); - } { pClassListBox = InitClassListBox( pClassControl, pLangStringLongTupelList ); pRoot->Insert( pClassListBox ); - pClassMultiListBox = InitClassMultiListBox( pClassListBox); - pRoot->Insert( pClassMultiListBox ); - pClassComboBox = InitClassComboBox( pClassEdit, pLangStringList ); pRoot->Insert( pClassComboBox ); @@ -462,13 +447,6 @@ void RscTypCont::Init() pClassFixedImage = InitClassFixedImage( pClassControl, pClassImage ); pRoot->Insert( pClassFixedImage ); - // Klasse anlegen - nId = pHS->getID( "GroupBox" ); - pClassGroupBox = new RscClass( nId, RSC_GROUPBOX, pClassControl ); - pClassGroupBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassGroupBox ); - pRoot->Insert( pClassGroupBox ); - pClassKeyCode = InitClassKeyCode( pClassMgr, pKey ); pRoot->Insert( pClassKeyCode ); { |