home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
1,000 Games
/
1000GAME.iso
/
games
/
yalife
/
source
/
shapewnd.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-07
|
1KB
|
53 lines
// (c) Jean MICHEL June 1993 -- any modifications must be signaled to the
// author
#ifndef __SHAPEWIND_H
#define __SHAPEWIND_H
#ifndef __OWL_H
#include <owl.h>
#endif
#ifndef __LISTBOX_H
#include <listbox.h>
#endif
#define ID_LISTBOX 101
#define ID_BUTTON1 102
#define ID_BUTTON3 104
#define ID_BUTTON4 105
#define ID_BUTTON5 106
#define ID_BUTTON6 107
#define ID_BUTTON7 108
_CLASSDEF(TShapeWindow)
class _EXPORT TShapeWindow : public TWindow
{
public:
PTListBox ListBox;
TStatic *PreviewMsg;
TShapeWindow(PTWindowsObject AParent);
int draw(cellpop& w);
virtual void SetupWindow();
void SetupList();
virtual void Paint(HDC DC, PAINTSTRUCT& PS);
virtual void HandleListBoxMsg(RTMessage Msg) =
[ID_FIRST + ID_LISTBOX];
virtual void HandleButton1Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON1];
virtual void HandleButton3Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON3];
virtual void HandleButton4Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON4];
virtual void HandleButton5Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON5];
virtual void HandleButton6Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON6];
virtual void HandleButton7Msg(RTMessage Msg) =
[ID_FIRST + ID_BUTTON7];
};
extern cellpop selected_shape;
#endif