home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
PAINT.PAK
/
DIBATTR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
809b
|
31 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
// Example paint program dib attribute dialog
//----------------------------------------------------------------------------
#ifndef __DIBATTR_H
#define __DIBATTR_H
#include <owl\dialog.h>
class TDibAttrDialog : public TDialog {
public:
TDibAttrDialog(TWindow* parent, int& width, int& height, int& colors,
TModule* module = 0);
private:
void SetupWindow();
BOOL CanClose();
void Bn2Color() {Colors = 2;}
void Bn16Color() {Colors = 16;}
void Bn256Color() {Colors = 256;}
int& Width;
int& Height;
int& Colors;
DECLARE_RESPONSE_TABLE(TDibAttrDialog);
};
#endif