#include "win32_loop.hpp"
#include "../src/theme.hpp"
#include "../src/window_manager.hpp"
+#include "../src/generic_window.hpp"
#include "../commands/cmd_dialogs.hpp"
#include "../commands/cmd_minimize.hpp"
char *datadir = config_GetUserDir( VLC_DATA_DIR );
m_resourcePath.push_back( (string)datadir + "\\skins" );
free( datadir );
- m_resourcePath.push_back( (string)config_GetDataDir() +
- "\\skins" );
- m_resourcePath.push_back( (string)config_GetDataDir() +
- "\\skins2" );
- m_resourcePath.push_back( (string)config_GetDataDir() +
- "\\share\\skins" );
- m_resourcePath.push_back( (string)config_GetDataDir() +
- "\\share\\skins2" );
+ datadir = config_GetDataDir( getIntf() );
+ m_resourcePath.push_back( (string)datadir + "\\skins" );
+ m_resourcePath.push_back( (string)datadir + "\\skins2" );
+ m_resourcePath.push_back( (string)datadir + "\\share\\skins" );
+ m_resourcePath.push_back( (string)datadir + "\\share\\skins2" );
+ free( datadir );
// All went well
return true;
OSWindow *Win32Factory::createOSWindow( GenericWindow &rWindow, bool dragDrop,
- bool playOnDrop, OSWindow *pParent )
+ bool playOnDrop, OSWindow *pParent,
+ GenericWindow::WindowType_t type )
{
return new Win32Window( getIntf(), rWindow, m_hInst, m_hParentWindow,
dragDrop, playOnDrop, (Win32Window*)pParent );