Add user-configurable background artwork

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1655 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-09-21 04:32:24 +00:00
parent c4c13399bf
commit ae03f9f3b1
6 changed files with 123 additions and 7 deletions

View File

@@ -153,6 +153,11 @@ public:
}
#endif
const QString & backgroundArtwork( void ) const
{
return( m_backgroundArtwork );
}
inline const QStringList & recentlyOpenedProjects( void ) const
{
return( m_recentlyOpenedProjects );
@@ -176,6 +181,7 @@ public:
void setLADSPADir( const QString & _fd );
void setSTKDir( const QString & _fd );
void setDefaultSoundfont( const QString & _sf );
void setBackgroundArtwork( const QString & _ba );
private:
@@ -200,6 +206,7 @@ private:
#ifdef LMMS_HAVE_FLUIDSYNTH
QString m_defaultSoundfont;
#endif
QString m_backgroundArtwork;
QStringList m_recentlyOpenedProjects;

View File

@@ -74,9 +74,10 @@ private slots:
void setVSTDir( const QString & _vd );
void setArtworkDir( const QString & _ad );
void setFLDir( const QString & _fd );
void setLADSPADir( const QString & _fd );
void setSTKDir( const QString & _fd );
void setDefaultSoundfont( const QString & _fd );
void setLADSPADir( const QString & _ld );
void setSTKDir( const QString & _sd );
void setDefaultSoundfont( const QString & _sf );
void setBackgroundArtwork( const QString & _ba );
// audio settings widget
void audioInterfaceChanged( const QString & _driver );
@@ -100,6 +101,7 @@ private slots:
void openLADSPADir( void );
void openSTKDir( void );
void openDefaultSoundfont( void );
void openBackgroundArtwork( void );
void toggleDisableChActInd( bool _disabled );
void toggleManualChPiano( bool _enabled );
@@ -130,6 +132,7 @@ private:
#ifdef LMMS_HAVE_STK
QLineEdit * m_stkLineEdit;
#endif
QLineEdit * m_baLineEdit;
QString m_workingDir;
QString m_vstDir;
@@ -142,6 +145,7 @@ private:
#ifdef LMMS_HAVE_STK
QString m_stkDir;
#endif
QString m_backgroundArtwork;
bool m_disableChActInd;
bool m_manualChPiano;