Add a canvas mode to gorm.

This commit is contained in:
Gregory John Casamento 2021-03-07 12:46:37 -05:00
parent 99edd0e4de
commit 28d3d5f9ec
4 changed files with 14 additions and 9 deletions

View file

@ -18,6 +18,13 @@
);
Super = NSObject;
};
GormCanvasView = {
Actions = (
);
Outlets = (
);
Super = NSView;
};
GormDocument = {
Actions = (
"createSubclass:",

View file

@ -228,11 +228,10 @@ int defaultDateFormatIndex = 3;
[originalWindow setTitle: @"Data Views"];
contents = [originalWindow contentView];
/*******************/
/* First Column... */
/*******************/
/*******************/
/* First Column... */
/*******************/
// NSScrollView
v = [[NSScrollView alloc] initWithFrame: NSMakeRect(20, 22, 113, 150)];
[v setHasVerticalScroller: YES];
@ -263,10 +262,9 @@ int defaultDateFormatIndex = 3;
RELEASE(v);
RELEASE(tv);
/********************/
/* Second Column... */
/********************/
/********************/
/* Second Column... */
/********************/
// NSImageView
v = [[NSImageView alloc] initWithFrame: NSMakeRect(153, 98, 96, 72)];