|
From: Brenda L. <asp...@us...> - 2003-05-13 22:42:34
|
Update of /cvsroot/squeak/squeak/platforms/unix/vm-display-Quartz/zzz
In directory sc8-pr-cvs1:/tmp/cvs-serv27896/zzz
Added Files:
sqUnixQuartz.m
Log Message:
Ian Piumarta's release 3.5-1devel
--- NEW FILE: sqUnixQuartz.m ---
/* sqUnixQuartz.m -- display via native windows on Mac OS X -*- ObjC -*-
*
* Author: Ian Piumarta <ian...@in...>
*
* Copyright (C) 1996-2002 Ian Piumarta and other authors/contributors
* as listed elsewhere in this file.
* All rights reserved.
*
* You are NOT ALLOWED to distribute modified versions of this file
* under its original name. If you want to modify it and then make
* your modifications available publicly, rename the file first.
*
* This file is part of Unix Squeak.
*
* This file is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You may use and/or distribute this file ONLY as part of Squeak, under
[...2538 lines suppressed...]
assert(r->context);
frame.origin.y= [topView bounds].size.height - frame.size.height - frame.origin.y;
fprintf(stderr, "view setFrame: %d %d %d %d\n",
(int)frame.origin.x, (int)frame.origin.y, (int)frame.size.width, (int)frame.size.height);
[renderView(r) setFrame: frame];
}
SqDisplayDefine(Quartz);
#include "SqModule.h"
static void *display_makeInterface(void)
{
return &display_Quartz_itf;
}
SqModuleDefine(display, Quartz);
|