mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@2d3bdcac35
This commit is contained in:
@@ -30,19 +30,27 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GODOT_APPLICATION_DELEGATE_H
|
||||
#define GODOT_APPLICATION_DELEGATE_H
|
||||
#pragma once
|
||||
|
||||
#include "core/os/os.h"
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface GodotApplicationDelegate : NSObject <NSUserInterfaceItemSearching, NSApplicationDelegate>
|
||||
@interface GodotApplicationDelegate : NSObject <NSUserInterfaceItemSearching, NSApplicationDelegate> {
|
||||
bool high_contrast;
|
||||
bool reduce_motion;
|
||||
bool reduce_transparency;
|
||||
bool voice_over;
|
||||
}
|
||||
|
||||
- (void)forceUnbundledWindowActivationHackStep1;
|
||||
- (void)forceUnbundledWindowActivationHackStep2;
|
||||
- (void)forceUnbundledWindowActivationHackStep3;
|
||||
- (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
|
||||
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context;
|
||||
- (void)accessibilityDisplayOptionsChange:(NSNotification *)notification;
|
||||
- (bool)getHighContrast;
|
||||
- (bool)getReduceMotion;
|
||||
- (bool)getReduceTransparency;
|
||||
- (bool)getVoiceOver;
|
||||
@end
|
||||
|
||||
#endif // GODOT_APPLICATION_DELEGATE_H
|
||||
|
||||
Reference in New Issue
Block a user