Exemple #1
0
 internal unsafe void To(cef_key_info_t* ptr)
 {
     ptr->key = this.key;
     #if WINDOWS
     ptr->sysChar = this.sysChar ? 1 : 0;
     ptr->imeChar = this.imeChar ? 1 : 0;
     #endif
 }
Exemple #2
0
 internal unsafe CefKeyInfo(cef_key_info_t* ptr)
 {
     this.key = ptr->key;
     #if WINDOWS
     this.sysChar = ptr->sysChar != 0;
     this.imeChar = ptr->imeChar != 0;
     #endif
 }
Exemple #3
0
 internal static unsafe CefKeyInfo From(cef_key_info_t* ptr)
 {
     return new CefKeyInfo(ptr);
 }