mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 05:53:46 +01:00
2f6e49a929
Renamed many constants and fields according to Open BeOS coding style guide. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6433 a95241bf-73f2-0310-859d-f6bbb57e9c96
49 lines
1.0 KiB
C++
49 lines
1.0 KiB
C++
/*
|
|
* PageSetupDlg.h
|
|
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef __PAGESETUPDLG_H
|
|
#define __PAGESETUPDLG_H
|
|
|
|
#include <View.h>
|
|
#include <Window.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;
|
|
};
|
|
|
|
class PageSetupDlg : public BWindow {
|
|
public:
|
|
PageSetupDlg(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
~PageSetupDlg();
|
|
virtual bool QuitRequested();
|
|
virtual void MessageReceived(BMessage *message);
|
|
int Go();
|
|
|
|
private:
|
|
int fResult;
|
|
long fSemaphore;
|
|
BMessageFilter *fFilter;
|
|
};
|
|
|
|
#endif /* __PAGESETUPDLG_H */
|