Exemple #1
0
        public unsafe void Dispose()
        {
            instance = IntPtr.Zero;

            if (properties == null)
            {
                return;
            }

            properties.Dispose();
            properties = null;
        }
Exemple #2
0
 public unsafe ObsProperty(IntPtr pointer, ObsProperties props)
 {
     instance   = pointer;
     properties = props;
 }
Exemple #3
0
 public unsafe bool ButtonClicked(libobs.obs_property_clicked_t clicked, ObsProperties properties, IntPtr obj)
 {
     return(clicked(properties.GetPointer(), instance, obj));
 }
        public void ReloadProperties()
        {
            properties = reloadDelegate();

            if (properties == null)
                return;

            deferUpdate = properties.Flags.HasFlag(ObsPropertiesFlags.DeferUpdate);

            RefreshProperties();
        }
 public unsafe ObsProperty(IntPtr pointer, ObsProperties props)
 {
     instance = pointer;
     properties = props;
 }
        public unsafe void Dispose()
        {
            instance = IntPtr.Zero;

            if (properties == null)
                return;

            properties.Dispose();
            properties = null;
        }
 public unsafe bool ButtonClicked(libobs.obs_property_clicked_t clicked, ObsProperties properties, IntPtr obj)
 {
     return clicked(properties.GetPointer(), instance, obj);
 }