-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose the IME methods/callback added with https://bitbucket.org/chro…
…miumembedded/cef/commits/f7014be It should now be possible for someone to implement IME support in the WPF control to resolve #1262
- Loading branch information
Showing
10 changed files
with
231 additions
and
0 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. | ||
// | ||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. | ||
|
||
namespace CefSharp | ||
{ | ||
/// <summary> | ||
/// Represents an IME composition underline. | ||
/// </summary> | ||
public struct CompositionUnderline | ||
{ | ||
public CompositionUnderline(Range range, uint color, uint backGroundColor, bool thick) | ||
: this() | ||
{ | ||
Range = range; | ||
Color = color; | ||
BackgroundColor = backGroundColor; | ||
Thick = thick; | ||
} | ||
|
||
/// <summary> | ||
/// Underline character range. | ||
/// </summary> | ||
public Range Range { get; private set; } | ||
|
||
/// <summary> | ||
/// Text color. 32-bit ARGB color value, not premultiplied. The color components are always | ||
/// in a known order. Equivalent to the SkColor type. | ||
/// </summary> | ||
public uint Color { get; private set; } | ||
/// <summary> | ||
/// Background color. 32-bit ARGB color value, not premultiplied. The color components are always | ||
/// in a known order. Equivalent to the SkColor type. | ||
/// </summary> | ||
public uint BackgroundColor { get; private set; } | ||
|
||
/// <summary> | ||
/// true for thickunderline | ||
/// </summary> | ||
public bool Thick { get; private set; } | ||
|
||
|
||
} | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. | ||
// | ||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. | ||
|
||
namespace CefSharp | ||
{ | ||
/// <summary> | ||
/// Represents a range | ||
/// </summary> | ||
public struct Range | ||
{ | ||
public Range(int from, int to) | ||
: this() | ||
{ | ||
From = from; | ||
To = to; | ||
} | ||
|
||
public int From { get; private set; } | ||
public int To { get; private set; } | ||
} | ||
} |