home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
215.lha
/
AmyLoad
/
setwindowinfo.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-14
|
559b
|
23 lines
#include <intuition/intuition.h>
#include "execdef.h"
#include "intuidef.h"
#include "windowinfo.h"
#include "SetWindowInfo.proto"
void
SetWindowInfo(window)
register Window *window;
{
register WindowInfo *info;
info = WINDOWINFO(window);
info->leftedge = BORDERWIDTH;
info->rightedge = window->Width - BORDERWIDTH - 1;
info->width = window->Width - BORDERWIDTH * 2;
info->topedge = BORDERHEIGHT;
info->bottomedge = window->Height - BORDERHEIGHT - 1;
info->height = window->Height - BORDERHEIGHT * 2;
}