Skip to content

Commit

Permalink
Update view controller
Browse files Browse the repository at this point in the history
  • Loading branch information
gcasa committed Dec 26, 2024
1 parent f22ba14 commit 5b5ca6c
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 0 deletions.
22 changes: 22 additions & 0 deletions GormCore/English.lproj/GormObjectOutlineView.gorm/data.classes
Original file line number Diff line number Diff line change
@@ -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;
};
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions GormCore/GormObjectMainView.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ extern "C" {

GS_EXPORT_CLASS
@interface GormObjectMainView : NSView
{
IBOutlet NSBox *contentView;
}

@end

Expand Down
20 changes: 20 additions & 0 deletions GormCore/GormObjectViewController.h
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions GormCore/GormObjectViewController.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* All rights reserved */

#import "GormObjectViewController.h"

@implementation GormObjectViewController

- (IBAction) iconView: (id)sender
{
}

- (IBAction) outlineView: (id)sender
{
}

@end

0 comments on commit 5b5ca6c

Please sign in to comment.