diff options
author | handbrake <[email protected]> | 2006-01-14 12:46:58 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 12:46:58 +0000 |
commit | be63e88ea3080ae0323e55a486474612db5db214 (patch) | |
tree | 708aedd76429bba6ff0223c3852c69a7721d7d55 /HBPictureWin.h |
HandBrake 0.1
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'HBPictureWin.h')
-rw-r--r-- | HBPictureWin.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/HBPictureWin.h b/HBPictureWin.h new file mode 100644 index 000000000..9f1e37648 --- /dev/null +++ b/HBPictureWin.h @@ -0,0 +1,52 @@ +/* $Id: HBPictureWin.h,v 1.6 2003/08/20 20:30:30 titer Exp $ */ + +#ifndef _HB_PICTURE_WIN_H +#define _HB_PICTURE_WIN_H + +class HBTitleInfo; + +#include <View.h> +#include <Window.h> +class BSlider; +class BCheckBox; + +class HBPictureView : public BView +{ + public: + HBPictureView::HBPictureView( BRect rect, BBitmap * bitmap ); + virtual void Draw( BRect rect ); + + private: + BBitmap * fBitmap; +}; + +class HBPictureWin : public BWindow +{ + public: + HBPictureWin( HBTitleInfo * titleInfo ); + virtual bool QuitRequested(); + virtual void MessageReceived( BMessage * message ); + + void UpdateBitmap( int which ); + + + private: + HBTitleInfo * fTitleInfo; + + /* GUI */ + HBPictureView * fPictureView; + BSlider * fPictureSlider; + BBitmap * fBitmap; + BSlider * fWidthSlider; + BSlider * fTopCropSlider; + BSlider * fBottomCropSlider; + BSlider * fLeftCropSlider; + BSlider * fRightCropSlider; + BCheckBox * fDeinterlaceCheck; + + /* Internal infos */ + uint32_t fMaxOutWidth; + uint32_t fMaxOutHeight; +}; + +#endif |