Beispiel #1
0
        public static unsafe void ProcessMove(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new MovePacket(ptr);

                window.OnMove(ref packet);
            }
        }
Beispiel #2
0
 protected internal virtual void OnMove(ref MovePacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }