mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Update view controller
This commit is contained in:
parent
f22ba14a5d
commit
5b5ca6c09b
8 changed files with 60 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"iconView:",
|
||||
"outlineView:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
GormObjectViewController = {
|
||||
Actions = (
|
||||
"iconView:",
|
||||
"outlineView:"
|
||||
);
|
||||
Outlets = (
|
||||
displayView,
|
||||
iconButton,
|
||||
outlineButton
|
||||
);
|
||||
Super = NSViewController;
|
||||
};
|
||||
}
|
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/data.info
Normal file
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/data.info
Normal file
Binary file not shown.
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/iconView.tiff
Normal file
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/iconView.tiff
Normal file
Binary file not shown.
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/objects.gorm
Normal file
BIN
GormCore/English.lproj/GormObjectOutlineView.gorm/objects.gorm
Normal file
Binary file not shown.
Binary file not shown.
|
@ -34,6 +34,9 @@ extern "C" {
|
|||
|
||||
GS_EXPORT_CLASS
|
||||
@interface GormObjectMainView : NSView
|
||||
{
|
||||
IBOutlet NSBox *contentView;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
20
GormCore/GormObjectViewController.h
Normal file
20
GormCore/GormObjectViewController.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* All rights reserved */
|
||||
|
||||
#ifndef GormObjectViewController_H_INCLUDE
|
||||
#define GormObjectViewController_H_INCLUDE
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface GormObjectViewController : NSViewController
|
||||
{
|
||||
IBOutlet id displayView;
|
||||
IBOutlet id iconButton;
|
||||
IBOutlet id outlineButton;
|
||||
}
|
||||
|
||||
- (IBAction) iconView: (id)sender;
|
||||
- (IBAction) outlineView: (id)sender;
|
||||
|
||||
@end
|
||||
|
||||
#endif // GormObjectViewController_H_INCLUDE
|
15
GormCore/GormObjectViewController.m
Normal file
15
GormCore/GormObjectViewController.m
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* All rights reserved */
|
||||
|
||||
#import "GormObjectViewController.h"
|
||||
|
||||
@implementation GormObjectViewController
|
||||
|
||||
- (IBAction) iconView: (id)sender
|
||||
{
|
||||
}
|
||||
|
||||
- (IBAction) outlineView: (id)sender
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
Loading…
Reference in a new issue