home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool_main.zip
/
ool
/
include
/
xled.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-01-18
|
1KB
|
37 lines
#ifndef __OOL_XLED_H__
#define __OOL_XLED_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------------- r 1.0 */
/*===========================================================================*/
/* class: XLED */
/* derived from: XUserWindow */
/* last update: 7/97 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "XfrmWnd.h"
#include "xuserwnd.h"
#include "xtext.h"
class XBitmap;
class XGraphicDevice;
class _export_ XLED: public XUserWindow
{
private:
BOOL state;
XGraphicDevice * dev;
XBitmap * map;
public:
virtual void Draw( void );
XLED( const XWindow *, const XPoint& = XPoint(), const USHORT id = 0);
~XLED();
void Enable( const BOOL on = TRUE );
BOOL GetState() { return state; }
};
#endif