mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
Added new decl editor.
This commit is contained in:
@@ -665,17 +665,17 @@ void CDialogSound::OnCheckPlay()
|
||||
|
||||
void CDialogSound::OnBtnEdit()
|
||||
{
|
||||
const idDecl *decl = declManager->FindDeclWithoutParsing( DECL_SOUND, strShader, false );
|
||||
|
||||
if ( decl ) {
|
||||
DialogDeclEditor *declEditor;
|
||||
|
||||
declEditor = new DialogDeclEditor;
|
||||
declEditor->Create( IDD_DIALOG_DECLEDITOR, GetParent() );
|
||||
declEditor->LoadDecl( const_cast<idDecl *>( decl ) );
|
||||
declEditor->ShowWindow( SW_SHOW );
|
||||
declEditor->SetFocus();
|
||||
}
|
||||
//const idDecl *decl = declManager->FindDeclWithoutParsing( DECL_SOUND, strShader, false );
|
||||
//
|
||||
//if ( decl ) {
|
||||
// DialogDeclEditor *declEditor;
|
||||
//
|
||||
// declEditor = new DialogDeclEditor;
|
||||
// declEditor->Create( IDD_DIALOG_DECLEDITOR, GetParent() );
|
||||
// declEditor->LoadDecl( const_cast<idDecl *>( decl ) );
|
||||
// declEditor->ShowWindow( SW_SHOW );
|
||||
// declEditor->SetFocus();
|
||||
//}
|
||||
}
|
||||
|
||||
void CDialogSound::OnBtnDrop()
|
||||
|
||||
Reference in New Issue
Block a user