#include "../src/os_graphics.hpp"
#include "../src/vlcproc.hpp"
#include "../src/scaled_bitmap.hpp"
-#include "../src/art_bitmap.hpp"
+#include "../src/art_manager.hpp"
#include "../utils/position.hpp"
{
VlcProc *pVlcProc = VlcProc::instance( getIntf() );
pVlcProc->getStreamArtVar().addObserver( this );
-
- ArtBitmap::initArtBitmap( getIntf() );
}
}
{
VlcProc *pVlcProc = VlcProc::instance( getIntf() );
pVlcProc->getStreamArtVar().delObserver( this );
-
- ArtBitmap::freeArtBitmap( );
}
}
if( &rVariable == &pVlcProc->getStreamArtVar() )
{
string str = ((VarString&)rVariable).get();
- GenericBitmap* pArt = (GenericBitmap*) ArtBitmap::getArtBitmap( str );
+ ArtManager* pArtManager = ArtManager::instance( getIntf() );
+ GenericBitmap* pArt = (GenericBitmap*) pArtManager->getArtBitmap( str );
m_pBitmap = pArt ? pArt : m_pOriginalBitmap;