diff options
author | handbrake <[email protected]> | 2006-01-14 12:56:59 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 12:56:59 +0000 |
commit | 452f36599a1ea52f3bd42361b534594568c428fd (patch) | |
tree | 7f53f79212cf524f0a13ed5ee2250992f21eabcb /beos/MainWindow.h | |
parent | a9a84221af31ca7d11d1aa182d8b152270203f9f (diff) |
HandBrake 0.4
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'beos/MainWindow.h')
-rw-r--r-- | beos/MainWindow.h | 84 |
1 files changed, 10 insertions, 74 deletions
diff --git a/beos/MainWindow.h b/beos/MainWindow.h index e40c2587a..c4c32a711 100644 --- a/beos/MainWindow.h +++ b/beos/MainWindow.h @@ -1,4 +1,4 @@ -/* $Id: MainWindow.h,v 1.9 2003/09/30 14:38:15 titer Exp $ +/* $Id: MainWindow.h,v 1.10 2003/10/10 01:08:42 titer Exp $ This file is part of the HandBrake source code. Homepage: <http://beos.titer.org/handbrake/>. @@ -8,93 +8,29 @@ #ifndef HB_MAIN_WINDOW_H #define HB_MAIN_WINDOW_H -/* BeOS headers */ -#include <Box.h> -#include <MenuItem.h> #include <Window.h> -class BButton; -class BMenuField; -class BPopUpMenu; -class BSlider; -class BStatusBar; -class BStringView; -class BTextControl; +class ScanView; +class RipView; -/* libhb headers */ -#include "Manager.h" +#include "Common.h" -class HBVolumeItem : public BMenuItem +class MainWindow : public BWindow { public: - HBVolumeItem( HBVolume * volume ); - - HBVolume * fVolume; -}; - -class HBTitleItem : public BMenuItem -{ - public: - HBTitleItem( HBTitle * title ); - - HBTitle * fTitle; -}; - -class HBAudioItem : public BMenuItem -{ - public: - HBAudioItem( HBAudio * audio ); - - HBAudio * fAudio; -}; - -class HBBox : public BBox -{ - public: - HBBox( BRect ); - void Draw( BRect ); -}; - -class HBWindow : public BWindow -{ - public: - HBWindow( bool debug ); + MainWindow(); virtual bool QuitRequested(); virtual void MessageReceived( BMessage * message ); - void ScanVolumes(); - private: - static void UpdateInterface( HBWindow * _this ); + static void UpdateInterface( MainWindow * _this ); void _UpdateInterface(); - void EnableInterface( HBMode mode ); HBManager * fManager; - - /* GUI */ - HBBox * fBox; - BButton * fAdvancedButton; - BButton * fFileButton; - BButton * fPictureButton; - BButton * fStartButton; - BButton * fSuspendButton; - BMenuField * fAudio1Field; - BMenuField * fAudio2Field; - BMenuField * fTitleField; - BMenuField * fVolumeField; - BPopUpMenu * fAudio1PopUp; - BPopUpMenu * fAudio2PopUp; - BPopUpMenu * fTitlePopUp; - BPopUpMenu * fVolumePopUp; - BSlider * fAudioSlider; - BSlider * fVideoSlider; - BStatusBar * fStatusBar; - BStringView * fFileString; - BTextControl * fFileControl; - int fUpdateThread; + volatile bool fDie; - /* Used to SetEnabled() GUI items only if needed */ - HBMode fOldMode; + ScanView * fScanView; + RipView * fRipView; }; #endif |