#include #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; }