blob: 27d9831a067a1f438603898713d4696d802afaf7 (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/* $Id: RipView.h,v 1.3 2003/11/07 21:52:56 titer Exp $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */
#ifndef HB_RIP_VIEW_H
#define HB_RIP_VIEW_H
#include <View.h>
class BBox;
class BButton;
class BCheckBox;
class BFilePanel;
class BMenuField;
class BPopUpMenu;
class BRadioButton;
class BStatusBar;
class BTextControl;
#include "HandBrake.h"
#define RIP_TITLE_POPUP 'rtip'
#define RIP_VIDEO_CODEC_POPUP 'rvcp'
#define RIP_BITRATE_RADIO 'rbir'
#define RIP_TARGET_CONTROL 'rtac'
#define RIP_CROP_BUTTON 'rcrb'
#define RIP_BROWSE_BUTTON 'rbrb'
#define RIP_SUSPEND_BUTTON 'rsub'
#define RIP_RIP_BUTTON 'rrib'
class RipView : public BView
{
public:
RipView( HBHandle * handle );
void MessageReceived( BMessage * message );
void UpdateIntf( HBStatus status, int modeChanged );
private:
HBHandle * fHandle;
HBList * fTitleList;
BBox * fVideoBox;
BPopUpMenu * fTitlePopUp;
BMenuField * fTitleField;
BPopUpMenu * fVideoCodecPopUp;
BMenuField * fVideoCodecField;
BRadioButton * fCustomBitrateRadio;
BTextControl * fCustomBitrateControl;
BRadioButton * fTargetSizeRadio;
BTextControl * fTargetSizeControl;
BCheckBox * fTwoPassCheck;
BButton * fCropButton;
BBox * fAudioBox;
BPopUpMenu * fLanguagePopUp;
BMenuField * fLanguageField;
BPopUpMenu * fSecondaryLanguagePopUp;
BMenuField * fSecondaryLanguageField;
BPopUpMenu * fAudioCodecPopUp;
BMenuField * fAudioCodecField;
BPopUpMenu * fAudioBitratePopUp;
BMenuField * fAudioBitrateField;
BBox * fDestinationBox;
BPopUpMenu * fFileFormatPopUp;
BMenuField * fFileFormatField;
BTextControl * fFileControl;
BButton * fFileButton;
BFilePanel * fFilePanel;
BStatusBar * fStatusBar;
BButton * fSuspendButton;
BButton * fStartButton;
};
#endif
|