forked from preble/InsideJob
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked to be a document-based app.
- Loading branch information
Showing
11 changed files
with
1,519 additions
and
2,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// IJDocument.h | ||
// InsideJob | ||
// | ||
// Created by Adam Preble on 3/26/11. | ||
// Copyright 2011 Adam Preble. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
#import "IJInventoryView.h" | ||
|
||
@class IJInventoryView; | ||
@class IJMinecraftLevel; | ||
@class MAAttachedWindow; | ||
@class IJItemPropertiesViewController; | ||
|
||
|
||
@interface IJDocument : NSDocument <IJInventoryViewDelegate> { | ||
@private | ||
IJMinecraftLevel *level; | ||
NSArray *inventory; | ||
|
||
IBOutlet IJInventoryView *inventoryView; | ||
IBOutlet IJInventoryView *quickView; | ||
IBOutlet IJInventoryView *armorView; | ||
|
||
NSMutableArray *armorInventory; | ||
NSMutableArray *quickInventory; | ||
NSMutableArray *normalInventory; | ||
|
||
// Search/Item List | ||
IBOutlet NSSearchField *itemSearchField; | ||
IBOutlet NSTableView *itemTableView; | ||
NSArray *allItemIds; | ||
NSArray *filteredItemIds; | ||
|
||
// | ||
IJItemPropertiesViewController *propertiesViewController; | ||
MAAttachedWindow *propertiesWindow; | ||
id observerObject; | ||
|
||
// Document | ||
int64_t sessionLockValue; | ||
} | ||
|
||
@property (nonatomic, retain) NSNumber *worldTime; | ||
|
||
- (IBAction)updateItemSearchFilter:(id)sender; | ||
- (IBAction)makeSearchFieldFirstResponder:(id)sender; | ||
- (IBAction)itemTableViewDoubleClicked:(id)sender; | ||
|
||
|
||
@end |
Oops, something went wrong.