mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Removed MusicMod, it's hacky, it's not maintained and it seems it didn't compile for a while now.
Also with the advance of LLE sound we won't really need it. If someone disagree feel free to make it compile and recommit :-) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3176 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1,65 +0,0 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// 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.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef PLAYLIST_CONTROLER_H
|
||||
#define PLAYLIST_CONTROLER_H 1
|
||||
|
||||
#include <tchar.h>
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include "PlaylistModel.h"
|
||||
|
||||
|
||||
|
||||
// TODO: column width update on scrollbar show/hide
|
||||
|
||||
class PlaylistControler
|
||||
{
|
||||
PlaylistModel _database;
|
||||
HWND _hView;
|
||||
|
||||
bool _bZeroPadding;
|
||||
int _iDigits; // 3
|
||||
int _iDigitMin; // 100
|
||||
int _iDigitMax; // 999
|
||||
|
||||
private:
|
||||
bool FixDigitsMore();
|
||||
bool FixDigitsLess();
|
||||
void Refresh();
|
||||
void AutosizeColumns();
|
||||
|
||||
public:
|
||||
PlaylistControler( HWND hView, bool bEnableZeroPadding, int * piIndexSlave );
|
||||
|
||||
void MoveSelected( int iDistance );
|
||||
|
||||
int GetCurIndex();
|
||||
int GetMaxIndex();
|
||||
int GetSize();
|
||||
void SetCurIndex( int iIndex );
|
||||
|
||||
void PushBack( TCHAR * szText );
|
||||
void Insert( int i, TCHAR * szText );
|
||||
void RemoveAll();
|
||||
void RemoveSelected( bool bPositive );
|
||||
void SelectAll( bool bPositive );
|
||||
void SelectInvert();
|
||||
|
||||
const TCHAR * Get( int i );
|
||||
|
||||
void Fill( LVITEM & request );
|
||||
void EnableZeroPadding( bool bActive );
|
||||
void Resize( HWND hParent );
|
||||
};
|
||||
|
||||
#endif // PLAYLIST_CONTROLER_H
|
Reference in New Issue
Block a user