forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Scribble Handwriting (flutter#24224)
- Loading branch information
Showing
11 changed files
with
1,201 additions
and
183 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 |
---|---|---|
|
@@ -20,4 +20,5 @@ Hidenori Matsubayashi <[email protected]> | |
Sarbagya Dhaubanjar <[email protected]> | ||
Callum Moffat <[email protected]> | ||
Koutaro Mori <[email protected]> | ||
TheOneWithTheBraid <[email protected]> | ||
TheOneWithTheBraid <[email protected]> | ||
Twin Sun, LLC <[email protected]> |
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
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
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
24 changes: 24 additions & 0 deletions
24
shell/platform/darwin/ios/framework/Source/FlutterIndirectScribbleDelegate.h
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,24 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERINDIRECTSCRIBBLEDELEGATE_H_ | ||
#define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERINDIRECTSCRIBBLEDELEGATE_H_ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
@class FlutterTextInputPlugin; | ||
|
||
@protocol FlutterIndirectScribbleDelegate <NSObject> | ||
- (void)flutterTextInputPlugin:(FlutterTextInputPlugin*)textInputPlugin | ||
focusElement:(UIScribbleElementIdentifier)elementIdentifier | ||
atPoint:(CGPoint)referencePoint | ||
result:(FlutterResult)callback; | ||
- (void)flutterTextInputPlugin:(FlutterTextInputPlugin*)textInputPlugin | ||
requestElementsInRect:(CGRect)rect | ||
result:(FlutterResult)callback; | ||
@end | ||
NS_ASSUME_NONNULL_END | ||
|
||
#endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERINDIRECTSCRIBBLEDELEGATE_H_ |
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
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
Oops, something went wrong.