summaryrefslogtreecommitdiffstats
path: root/HBWindow.h
blob: 73aa895b3b50977fee344a982ce07e2280d00795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* $Id: HBWindow.h,v 1.8 2003/08/24 19:28:18 titer Exp $ */

#ifndef _HB_WINDOW_H
#define _HB_WINDOW_H

#include <Box.h>
#include <Window.h>

class HBManager;

class BButton;
class BMenuField;
class BPopUpMenu;
class BSlider;
class BStatusBar;
class BStringView;
class BTextControl;

class HBBox : public BBox
{
    public:
        HBBox( BRect );
        virtual void Draw( BRect );
};

class HBWindow : public BWindow
{
    public:
        HBWindow();
        virtual bool QuitRequested();
        virtual void MessageReceived( BMessage * message );
        
        void         RefreshVolumes( BList * volumeList );
    
    private:
        void         Enable( int mode );
        void         SelectionChanged();
    
        HBManager     * fManager;
        HBBox         * fBox;
        BMenuField    * fVolumeField;
        BPopUpMenu    * fVolumePopUp;
        BMenuField    * fTitleField;
        BPopUpMenu    * fTitlePopUp;
        BMenuField    * fAudio1Field;
        BPopUpMenu    * fAudio1PopUp;
        BMenuField    * fAudio2Field;
        BPopUpMenu    * fAudio2PopUp;
        BSlider       * fVideoSlider;
        BSlider       * fAudioSlider;
        BStringView   * fFileString;
        BTextControl  * fFileControl;
        BButton       * fFileButton;
        BButton       * fPictureButton;
        BButton       * fAdvancedButton;
        BStatusBar    * fStatusBar;
        BButton       * fRefreshButton;
        BButton       * fSuspendButton;
        BButton       * fStartButton;
};

#endif