OSDN Git Service

オプション機能を追加
[awarsiii/AwarsIV.git] / Awars III / OptionMenu.h
diff --git a/Awars III/OptionMenu.h b/Awars III/OptionMenu.h
new file mode 100644 (file)
index 0000000..99dad9d
--- /dev/null
@@ -0,0 +1,55 @@
+//
+//  OptionMenu.h
+//  Awars III
+//
+//  Created by 桐谷 諭史 on 2016/07/23.
+//  Copyright © 2016年 Killery. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
+#import "Title.h"
+#import "FieldScene.h"
+
+typedef struct _OPTIONMENU{
+    
+    NSString *nameTitle;
+    NSString *nameVersion;
+    NSString *nameOpening;
+    NSString *nameBGM;
+    
+    int adCntIT;
+    int adFixIT;
+    NSImage *imgTitle;
+    
+    bool allowMapEditor;
+    bool allowScenarioEditor;
+    bool onlyOnceOpening;
+    bool newOpeningIsShown;
+
+}OPTIONMENU;
+
+OPTIONMENU wtfom;
+
+@interface OptionMenu : NSObject
+{
+    IBOutlet NSWindow *OMWindow;
+    
+    IBOutlet NSTextField *OMTF1;
+    IBOutlet NSTextField *OMTF2;
+    IBOutlet NSTextField *OMTF3;
+    IBOutlet NSTextField *OMTF4;
+    
+    IBOutlet NSImageView *OMIV;
+    
+    IBOutlet NSButton *OMBTN1;
+    IBOutlet NSButton *OMBTN2;
+    IBOutlet NSButton *OMBTN3;
+}
+
+-(IBAction)OMsubmit:(id)sender;
+
+-(void)loadOM;
+
+@end
+OptionMenu *optionMenu;