// Initialize the resource path
m_resourcePath.push_back( (string)getIntf()->p_libvlc->psz_homedir +
"\\" + CONFIG_DIR + "\\skins" );
- m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+ m_resourcePath.push_back( (string)config_GetDataDir( getIntf() ) +
"\\skins" );
- m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+ m_resourcePath.push_back( (string)config_GetDataDir( getIntf() ) +
"\\skins2" );
- m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+ m_resourcePath.push_back( (string)config_GetDataDir( getIntf() ) +
"\\share\\skins" );
- m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+ m_resourcePath.push_back( (string)config_GetDataDir( getIntf() ) +
"\\share\\skins2" );
// All went well
}
-Rect Win32Factory::getWorkArea() const
+SkinsRect Win32Factory::getWorkArea() const
{
RECT r;
SystemParametersInfo( SPI_GETWORKAREA, 0, &r, 0 );
// Fill a Rect object
- Rect rect( r.left, r.top, r.right, r.bottom );
- return rect;
+ return SkinsRect( r.left, r.top, r.right, r.bottom );
}