2b7e5e87bd
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10617 a95241bf-73f2-0310-859d-f6bbb57e9c96
45 lines
983 B
C++
45 lines
983 B
C++
/*
|
|
* PageSetupDlg.h
|
|
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef __PAGESETUPDLG_H
|
|
#define __PAGESETUPDLG_H
|
|
|
|
#include <View.h>
|
|
#include "DialogWindow.h"
|
|
|
|
class BRadioButton;
|
|
class BPopUpMenu;
|
|
class JobData;
|
|
class PrinterData;
|
|
class PrinterCap;
|
|
|
|
class PageSetupView : public BView {
|
|
public:
|
|
PageSetupView(BRect frame, JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
~PageSetupView();
|
|
virtual void AttachedToWindow();
|
|
bool UpdateJobData();
|
|
|
|
private:
|
|
JobData *fJobData;
|
|
PrinterData *fPrinterData;
|
|
const PrinterCap *fPrinterCap;
|
|
BRadioButton *fPortrait;
|
|
BPopUpMenu *fPaper;
|
|
BPopUpMenu *fResolution;
|
|
BTextControl *fScaling;
|
|
};
|
|
|
|
class PageSetupDlg : public DialogWindow {
|
|
public:
|
|
PageSetupDlg(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
virtual void MessageReceived(BMessage *message);
|
|
|
|
private:
|
|
BMessageFilter *fFilter;
|
|
};
|
|
|
|
#endif /* __PAGESETUPDLG_H */
|