mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
MusicMod: Moved it from Branches to Externals, I guess there usually is no Branches dir in the trunk dir, so this may look a little better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2174 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
48
Externals/MusicMod/Player/Src/Util.cpp
vendored
Normal file
48
Externals/MusicMod/Player/Src/Util.cpp
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plainamp, Open source Winamp core
|
||||
//
|
||||
// Copyright <20> 2005 Sebastian Pipping <webmaster@hartwork.org>
|
||||
//
|
||||
// --> http://www.hartwork.org
|
||||
//
|
||||
// This source code is released under the GNU General Public License (GPL).
|
||||
// See GPL.txt for details. Any non-GPL usage is strictly forbidden.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "Util.h"
|
||||
|
||||
|
||||
|
||||
#ifndef ICC_STANDARD_CLASSES
|
||||
# define ICC_STANDARD_CLASSES 0x00004000
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
bool bLoaded = false;
|
||||
bool bAvailable = false;
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
///
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool LoadCommonControls()
|
||||
{
|
||||
if( bLoaded ) return bAvailable;
|
||||
|
||||
INITCOMMONCONTROLSEX icce = {
|
||||
sizeof( INITCOMMONCONTROLSEX ),
|
||||
ICC_BAR_CLASSES | // Statusbar, trackbar, toolbar
|
||||
ICC_COOL_CLASSES | // Rebar
|
||||
ICC_LISTVIEW_CLASSES | // Listview
|
||||
ICC_STANDARD_CLASSES | //
|
||||
ICC_TREEVIEW_CLASSES // Treeview
|
||||
};
|
||||
|
||||
bLoaded = true;
|
||||
bAvailable = ( InitCommonControlsEx( &icce ) == TRUE );
|
||||
|
||||
return bAvailable;
|
||||
}
|
Reference in New Issue
Block a user