mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Add a canvas mode to gorm.
This commit is contained in:
parent
99edd0e4de
commit
28d3d5f9ec
4 changed files with 14 additions and 9 deletions
|
@ -18,6 +18,13 @@
|
|||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
GormCanvasView = {
|
||||
Actions = (
|
||||
);
|
||||
Outlets = (
|
||||
);
|
||||
Super = NSView;
|
||||
};
|
||||
GormDocument = {
|
||||
Actions = (
|
||||
"createSubclass:",
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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)];
|
||||
|
|
Loading…
Reference in a new issue