5 // Created by Killery on 2012/12/06.
6 // Copyright (c) 2012年 Killery. All rights reserved.
10 #import "ScenarioEditor.h"
15 [IVTitle setImageScaling:NSScaleToFit];
23 scheduledTimerWithTimeInterval:0.1
24 target:self selector:@selector(EventLoopTitle:)
25 userInfo:nil repeats:YES
34 -(void)EventLoopTitle:(NSTimer *)timer{
36 static bool StandImageLoadOK = false;
38 if(allowTXcpy && !StandImageLoadOK){
39 [TitleWindow makeKeyAndOrderFront:nil];
41 StandImageLoadOK = true;
45 -(IBAction)Start:(id)sender{
46 [StartWindow makeKeyAndOrderFront:nil];
49 -(IBAction)Continue:(id)sender{
50 [ContinueWindow makeKeyAndOrderFront:nil];
52 -(IBAction)Gallery:(id)sender{
53 galleryClickedFlag = true;
54 [GalleryWindow makeKeyAndOrderFront:nil];
55 windowPoint.x = [TitleWindow frame].origin.x;
56 windowPoint.y = [TitleWindow frame].origin.y;
57 [GalleryWindow setFrameOrigin:windowPoint];
61 -(IBAction)Option:(id)sender{
62 [OptionWindow makeKeyAndOrderFront:nil];
64 -(IBAction)MapEditor:(id)sender{
65 [MapEditorWindow makeKeyAndOrderFront:nil];
66 windowPoint.x = [TitleWindow frame].origin.x;
67 windowPoint.y = [TitleWindow frame].origin.y;
68 [MapEditorWindow setFrameOrigin:windowPoint];
71 -(IBAction)ScenarioEditor:(id)sender{
72 [ScenarioEditorWindow makeKeyAndOrderFront:nil];
74 -(IBAction)Quit:(id)sender{
75 [NSApp terminate:self];