home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Club Elmshorn Atari PD
/
CCE_PD.iso
/
pc
/
0400
/
CCE_0423.ZIP
/
CCE_0423.PD
/
GEM.ZOO
/
gemd.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-26
|
791b
|
32 lines
/////////////////////////////////////////////////////////////////////////////
//
// This file is Copyright 1992 by Warwick W. Allison,
// and is freely distributable providing no charge is made.
//
/////////////////////////////////////////////////////////////////////////////
#include "aesbind.h"
#include "gemd.h"
GEMdesktop::GEMdesktop(int RSCindex) :
GEMformwindow(RSCindex,-1)
{
int x,y,w,h;
wind_get(0,WF_WORKXYWH,&x,&y,&w,&h);
Obj->ob_x=x;
Obj->ob_y=y;
Obj->ob_width=w;
Obj->ob_height=h;
form_dial(FMD_START,0,0,0,0,Obj->ob_x,Obj->ob_y,Obj->ob_width,Obj->ob_height);
wind_set(0,WF_NEWDESK,Obj,0);
form_dial(FMD_FINISH,0,0,0,0,Obj->ob_x,Obj->ob_y,Obj->ob_width,Obj->ob_height);
}
GEMdesktop::~GEMdesktop()
{
wind_set(0,WF_NEWDESK,0);
}