home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool_main.zip
/
ool
/
include
/
xmarker.h
< prev
next >
Wrap
Text File
|
1998-01-18
|
1KB
|
36 lines
#ifndef __OOL_XMARKER_H__
#define __OOL_XMARKER_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------------- r 1.0 */
/*===========================================================================*/
/* class: XMarker */
/* derived from: XGraphicObject */
/* last update: 12/96 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "xgraphob.h"
#include "xpoint.h"
#include "xsize.h"
class _export_ XMarker: public XGraphicObject
{
private:
char type;
//SHORT cx, cy;
XSize size;
public:
XMarker( const XPoint * point, const SHORT t = MARKSYM_SOLIDSQUARE);
virtual ~XMarker() {;}
void Draw( XGraphicDevice * dev );
void GetSize( XSize * s) { *s = size; }
void SetSize( const XSize * s) { size = *s; }
void SetupDevice( XGraphicDevice * dev);
};
#endif