Add mouse and editable content support
This commit is contained in:
parent
cd5ea217b5
commit
4c067759a5
|
@ -15,6 +15,16 @@ namespace Ooui
|
||||||
Body.MessageSent += Proxy_MessageSent;
|
Body.MessageSent += Proxy_MessageSent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ReleaseCapture ()
|
||||||
|
{
|
||||||
|
Call ("releaseCapture");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ExecCommand (string commandName, bool showDefaultUI, string valueArgument = null)
|
||||||
|
{
|
||||||
|
Call ("execCommand", commandName, showDefaultUI, valueArgument);
|
||||||
|
}
|
||||||
|
|
||||||
void Proxy_MessageSent (Message message)
|
void Proxy_MessageSent (Message message)
|
||||||
{
|
{
|
||||||
Send (message);
|
Send (message);
|
||||||
|
|
|
@ -238,6 +238,11 @@ namespace Ooui
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetCapture (bool retargetToElement)
|
||||||
|
{
|
||||||
|
Call ("setCapture", retargetToElement);
|
||||||
|
}
|
||||||
|
|
||||||
void HandleStylePropertyChanged (object sender, PropertyChangedEventArgs e)
|
void HandleStylePropertyChanged (object sender, PropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
SendSet ("style." + Style.GetJsName (e.PropertyName), Style[e.PropertyName]);
|
SendSet ("style." + Style.GetJsName (e.PropertyName), Style[e.PropertyName]);
|
||||||
|
|
Loading…
Reference in New Issue