Exemplo n.º 1
0
        public bool Edit(GLib.List layers, GES.EditMode mode, GES.Edge edge, ulong position)
        {
            bool raw_ret = ges_track_element_edit(Handle, layers == null ? IntPtr.Zero : layers.Handle, (int)mode, (int)edge, position);
            bool ret     = raw_ret;

            return(ret);
        }
Exemplo n.º 2
0
        public static string EdgeName(GES.Edge edge)
        {
            IntPtr raw_ret = ges_edge_name((int)edge);
            string ret     = GLib.Marshaller.Utf8PtrToString(raw_ret);

            return(ret);
        }
Exemplo n.º 3
0
 public bool Edit(int new_layer_priority, GES.EditMode mode, GES.Edge edge, ulong position)
 {
     return(Edit(null, new_layer_priority, mode, edge, position));
 }
Exemplo n.º 4
0
        public bool Edit(GLib.List layers, int new_layer_priority, GES.EditMode mode, GES.Edge edge, ulong position)
        {
            bool raw_ret = ges_container_edit(Handle, layers == null ? IntPtr.Zero : layers.Handle, new_layer_priority, (int)mode, (int)edge, position);
            bool ret     = raw_ret;

            return(ret);
        }
Exemplo n.º 5
0
        private bool InternalEdit(GLib.List layers, int new_layer_priority, GES.EditMode mode, GES.Edge edge, ulong position)
        {
            EditNativeDelegate unmanaged = null;

            unsafe {
                IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("edit"));
                unmanaged = (EditNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(EditNativeDelegate));
            }
            if (unmanaged == null)
            {
                return(false);
            }

            bool __result = unmanaged(this.Handle, layers == null ? IntPtr.Zero : layers.Handle, new_layer_priority, (int)mode, (int)edge, position);

            return(__result);
        }
Exemplo n.º 6
0
 protected virtual bool OnEdit(GLib.List layers, int new_layer_priority, GES.EditMode mode, GES.Edge edge, ulong position)
 {
     return(InternalEdit(layers, new_layer_priority, mode, edge, position));
 }
Exemplo n.º 7
0
 public bool Edit(GES.EditMode mode, GES.Edge edge, ulong position)
 {
     return(Edit(null, mode, edge, position));
 }