home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
215
/
DDJ9302.ZIP
/
DFPP01.ZIP
/
FRAME.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-21
|
677b
|
33 lines
// -------- frame.h
#ifndef FRAME_H
#define FRAME_H
#include "dfwindow.h"
class Frame : public DFWindow {
int diff; // difference between mouse x and window corner
int minx, maxx; // x limits
int miny, maxy; // y limits
Bool moving; // True = moving, False = sizing
void SetColors();
public:
Frame(DFWindow *par, int mx = -1);
// -------- Frame API messages
void Paint() {}
void LeftButton(int mx, int my);
void ButtonReleased(int mx, int my);
void MouseMoved(int mx, int my);
void Show();
void Hide();
virtual void Keyboard(int key);
void CloseFrame(int lf, int tp, int rt, int bt);
void DestroyFrame();
};
#endif