Add Win32 embedding
This commit is contained in:
@@ -199,6 +199,10 @@ QString ConfigManager::vstEmbedMethod() const
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
defaultMethod = "win32";
|
||||
#endif
|
||||
|
||||
return value( "ui", "vstembedmethod", defaultMethod );
|
||||
}
|
||||
|
||||
|
||||
@@ -347,6 +347,10 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) :
|
||||
m_vstEmbedComboBox->addItem( tr( "Embed using Qt API" ), "qt" );
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
m_vstEmbedComboBox->addItem( tr( "Embed using native Win32 API" ), "win32" );
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_BUILD_LINUX
|
||||
if ( QX11Info::isPlatformX11() ) {
|
||||
m_vstEmbedComboBox->addItem( tr( "Embed using XEmbed protocol" ), "xembed" );
|
||||
|
||||
Reference in New Issue
Block a user