mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 11:08:12 +00:00
19 lines
343 B
Objective-C
19 lines
343 B
Objective-C
#import "Wesnoth_Scenario_Editor_Prefix.h"
|
|
#import "WNScenarioDesignDelegate.h"
|
|
|
|
@implementation WNScenarioDesignDelegate
|
|
|
|
- (IBAction)windowDidBecomeKey:(id)sender
|
|
{
|
|
NSLog(@"Editor now key");
|
|
[WNCampaign switchToEditorMenu];
|
|
}
|
|
|
|
- (IBAction)windowDidResignKey:(id)sender
|
|
{
|
|
NSLog(@"Editor lost key");
|
|
[WNCampaign switchToMainMenu];
|
|
}
|
|
|
|
@end
|