home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
GDIDEMO.PAK
/
FONTX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
767b
|
31 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
// Font demo window header
//----------------------------------------------------------------------------
#ifndef __FONT_H
#define __FONT_H
#include "demobase.h"
// Font demo constants
const int MaxNumFonts = 64; // Maximum number of fonts displayable in FontDemo
class TFontWindow : public TBaseDemoWindow {
public:
TFontWindow();
~TFontWindow();
protected:
void Paint(TDC&, BOOL, TRect&);
void EvSize(UINT SizeType, TSize& Size);
private:
long FontsHeight;
long FontsWidth;
DECLARE_RESPONSE_TABLE(TFontWindow);
DECLARE_CASTABLE;
};
#endif