home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
215
/
DDJ9302.ZIP
/
DFPP01.ZIP
/
CHECKBOX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-13
|
640b
|
28 lines
// ----------- checkbox.h
#ifndef CHECKBOX_H
#define CHECKBOX_H
#include "textbox.h"
class CheckBox : public TextBox {
virtual void SetColors();
Bool setting;
public:
CheckBox(char *lbl, int lf, int tp, DFWindow *par);
virtual ~CheckBox()
{ if (windowstate != CLOSED) CloseWindow(); }
// -------- API messages
virtual void OpenWindow();
virtual void CloseWindow();
virtual Bool SetFocus();
virtual void ResetFocus();
virtual void Paint();
virtual void Keyboard(int key);
virtual void LeftButton(int mx, int my);
void InvertCheckBox();
};
#endif