Update view controller

This commit is contained in:
Gregory John Casamento 2024-12-26 08:59:47 -05:00
parent f22ba14a5d
commit 5b5ca6c09b
8 changed files with 60 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -34,6 +34,9 @@ extern "C" {
GS_EXPORT_CLASS
@interface GormObjectMainView : NSView
{
IBOutlet NSBox *contentView;
}
@end

View 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

View file

@ -0,0 +1,15 @@
/* All rights reserved */
#import "GormObjectViewController.h"
@implementation GormObjectViewController
- (IBAction) iconView: (id)sender
{
}
- (IBAction) outlineView: (id)sender
{
}
@end