Esempio n. 1
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
        }
Esempio n. 2
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
        }
Esempio n. 3
0
 internal unsafe static CefKeyInfo From(cef_key_info_t *ptr)
 {
     return(new CefKeyInfo(ptr));
 }