diff options
Diffstat (limited to 'beos/PicWindow.h')
-rw-r--r-- | beos/PicWindow.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/beos/PicWindow.h b/beos/PicWindow.h new file mode 100644 index 000000000..9fe5d3131 --- /dev/null +++ b/beos/PicWindow.h @@ -0,0 +1,54 @@ +#ifndef PICWINDOW_H +#define PICWINDOW_H + +#include <interface/Window.h> +#include <interface/View.h> + +#include "hb.h" + +class HBStepper; + +class PicView : public BView +{ + public: + PicView( hb_handle_t * handle, int index ); + ~PicView(); + void Draw( BRect rect ); + + void HandleMessage( BMessage * msg ); + + private: + void UpdateBitmap(); + void RadioChanged(); + void UpdateSettings( uint32 what ); + + hb_handle_t * fHandle; + hb_title_t * fTitle; + hb_job_t * fJob; + int fIndex; + uint8_t * fRawPic; + BBitmap * fBitmap; + + HBStepper * fWidthStepper; + HBStepper * fHeightStepper; + BCheckBox * fRatioCheck; + BRadioButton * fAutoRadio; + BRadioButton * fCustomRadio; + HBStepper * fCropSteppers[4]; + BCheckBox * fDeintCheck; + BButton * fPrevButton; + BButton * fNextButton; + BStringView * fInfoString; +}; + +class PicWindow : public BWindow +{ + public: + PicWindow( hb_handle_t * handle, int index ); + void MessageReceived( BMessage * msg ); + + private: + PicView * fView; +}; + +#endif |