2
2
* PlayListWindow.h: BeOS interface window class prototype
3
3
*****************************************************************************
4
4
* Copyright (C) 1999, 2000, 2001 the VideoLAN team
5
* $Id: eb800d5e776f1298fe880708c328f688381afbeb $
7
7
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
8
8
* Tony Castley <tcastley@mail.powerup.com.au>
23
23
* along with this program; if not, write to the Free Software
24
24
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25
25
*****************************************************************************/
27
27
#ifndef BEOS_PLAY_LIST_WINDOW_H
28
28
#define BEOS_PLAY_LIST_WINDOW_H
36
36
class PlayListWindow : public BWindow
39
PlayListWindow(BRect frame,
41
InterfaceWindow* mainWindow,
42
intf_thread_t *p_interface );
43
virtual ~PlayListWindow();
46
virtual bool QuitRequested();
47
virtual void MessageReceived(BMessage *message);
48
virtual void FrameResized(float width, float height);
52
void UpdatePlaylist( bool rebuild = false );
54
void SetDisplayMode( uint32 mode );
55
uint32 DisplayMode() const;
58
void _CheckItemsEnableState() const;
59
void _SetMenuItemEnabled( BMenuItem* item,
62
PlaylistView * fListView;
63
BView * fBackgroundView;
65
InterfaceWindow * fMainWindow;
67
BMenuItem* fSelectAllMI;
68
BMenuItem* fSelectNoneMI;
69
BMenuItem* fSortReverseMI;
70
BMenuItem* fSortNameMI;
71
BMenuItem* fSortPathMI;
72
BMenuItem* fRandomizeMI;
74
BMenuItem* fRemoveAllMI;
77
intf_thread_t * p_intf;
39
PlayListWindow(BRect frame,
41
InterfaceWindow* mainWindow,
42
intf_thread_t *p_interface );
43
virtual ~PlayListWindow();
46
virtual bool QuitRequested();
47
virtual void MessageReceived(BMessage *message);
48
virtual void FrameResized(float width, float height);
52
void UpdatePlaylist( bool rebuild = false );
54
void SetDisplayMode( uint32 mode );
55
uint32 DisplayMode() const;
58
void _CheckItemsEnableState() const;
59
void _SetMenuItemEnabled( BMenuItem* item,
62
PlaylistView * fListView;
63
BView * fBackgroundView;
65
InterfaceWindow * fMainWindow;
67
BMenuItem* fSelectAllMI;
68
BMenuItem* fSelectNoneMI;
69
BMenuItem* fSortReverseMI;
70
BMenuItem* fSortNameMI;
71
BMenuItem* fSortPathMI;
72
BMenuItem* fRandomizeMI;
74
BMenuItem* fRemoveAllMI;
77
intf_thread_t * p_intf;
80
#endif // BEOS_PLAY_LIST_WINDOW_H
80
#endif // BEOS_PLAY_LIST_WINDOW_H